/* Workflow Builder Activity Page */

.wfb-builder-page {
    padding: 0;
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header */
.wfb-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.wfb-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}

.wfb-back-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

.wfb-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.wfb-page-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wfb-difficulty-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.wfb-completion-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.wfb-completion-badge-completed {
    background: rgba(16, 185, 129, 0.12);
    color: #065f46;
}
.wfb-completion-badge-incomplete {
    background: rgba(245, 158, 11, 0.12);
    color: #92400e;
}

.wfb-difficulty-badge[data-difficulty="easy"] {
    background: rgba(16, 185, 129, 0.12);
    color: #065f46;
}

.wfb-difficulty-badge[data-difficulty="medium"] {
    background: rgba(245, 158, 11, 0.12);
    color: #92400e;
}

.wfb-difficulty-badge[data-difficulty="hard"] {
    background: rgba(239, 68, 68, 0.12);
    color: #991b1b;
}

/* 3-Column Layout */
.wfb-layout {
    display: flex;
    height: calc(100vh - 60px);
    overflow: hidden;
}

/* Left Panel */
.wfb-left-panel {
    width: 264px;
    flex-shrink: 0;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.wfb-panel-title {
    margin: 0;
    padding: 16px 16px 4px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wfb-panel-desc {
    margin: 0;
    padding: 0 16px 12px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
}

.wfb-steps-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.wfb-steps-list-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.wfb-steps-list-group:last-child {
    margin-bottom: 0;
}

.wfb-steps-list-group-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    padding: 10px 4px 4px;
    border-bottom: 1px solid #e2e8f0;
}

.wfb-steps-list-group:first-child .wfb-steps-list-group-title {
    padding-top: 4px;
}

.wfb-steps-list-group-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Step Card in Left Panel */
.wfb-step-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: grab;
    transition: all 0.15s;
    user-select: none;
    position: relative;
}

.wfb-step-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.wfb-step-card:active {
    cursor: grabbing;
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.wfb-step-card.is-placed {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
    background: #f8fafc;
}

.wfb-step-card-icon {
    width: 36px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-left-width: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8fafc;
}

.wfb-step-card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wfb-step-card-icon .wfb-icon-placeholder {
    font-size: 14px;
    color: #94a3b8;
}

.wfb-step-card-info {
    flex: 1;
    min-width: 0;
}

.wfb-step-card-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wfb-step-card-category {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

/* Connection handle indicators on step cards */
.wfb-step-card-ports {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
}

.wfb-port-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    border: 1.5px solid #94a3b8;
}

.wfb-port-indicator.wfb-port-yes-ind {
    background: rgba(16, 185, 129, 0.3);
    border-color: #10b981;
}

.wfb-port-indicator.wfb-port-no-ind {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
}

/* Center Panel – Canvas Area */
.wfb-center-panel {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.wfb-canvas-container {
    flex: 1;
    overflow: auto;
    position: relative;
    background: #f8fafc;
}

.wfb-canvas {
    position: relative;
    min-width: 2000px;
    min-height: 1400px;
    background-image: radial-gradient(circle, #e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
}

.wfb-canvas.is-drag-over {
    background-color: rgba(59, 130, 246, 0.03);
}

.wfb-canvas-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.wfb-canvas-svg path.wfb-edge-hit {
    pointer-events: stroke;
    cursor: pointer;
}

.wfb-canvas-svg path.wfb-edge {
    pointer-events: none;
}

.wfb-canvas-svg path.wfb-edge-hit:hover + path.wfb-edge {
    stroke-width: 3;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.15));
}

.wfb-canvas-svg path.wfb-edge-normal {
    stroke: #64748b;
}

.wfb-canvas-svg path.wfb-edge-yes {
    stroke: #10b981;
}

.wfb-canvas-svg path.wfb-edge-no {
    stroke: #ef4444;
}

.wfb-canvas-svg text.wfb-edge-label {
    font-size: 11px;
    font-weight: 600;
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    pointer-events: none;
}

.wfb-canvas-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.wfb-canvas-nodes .wfb-node {
    pointer-events: auto;
}

.wfb-canvas-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    z-index: 0;
}

.wfb-canvas-placeholder.is-hidden {
    display: none;
}

/* Temporary connection line drawn while dragging from port */
.wfb-canvas-svg line.wfb-temp-line {
    stroke: #3b82f6;
    stroke-width: 2;
    stroke-dasharray: 6 3;
    pointer-events: none;
}

/* Canvas Node */
.wfb-node {
    position: absolute;
    width: 200px;
    min-width: 140px;
    max-width: 420px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    cursor: move;
    z-index: 3;
    transition: box-shadow 0.15s, border-color 0.15s;
    user-select: none;
}

.wfb-node:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 4;
}

.wfb-node.is-selected {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 5;
}

.wfb-node.is-dragging {
    opacity: 0.85;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.wfb-node.wfb-node-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.wfb-node.wfb-node-correct {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.wfb-node-body {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    min-height: 0;
    box-sizing: border-box;
}

.wfb-node-icon {
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-left-width: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8fafc;
}

.wfb-node-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wfb-node-info {
    flex: 1;
    min-width: 0;
}

.wfb-node-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: break-word;
}

.wfb-node-type {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 1px;
}

/* Connection Ports on Canvas Nodes */
.wfb-node-port {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    z-index: 6;
    cursor: crosshair;
    transition: all 0.15s;
}

.wfb-node-port:hover {
    transform: scale(1.3);
    border-color: #3b82f6;
    background: #eff6ff;
}

.wfb-node-port.is-connecting {
    border-color: #3b82f6;
    background: #3b82f6;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.5);
}

.wfb-node-port-input {
    left: -7px;
    top: 50%;
    transform: translateY(-50%);
}

.wfb-node-port-input:hover {
    transform: translateY(-50%) scale(1.3);
}

.wfb-node-port-output {
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
}

.wfb-node-port-output:hover {
    transform: translateY(-50%) scale(1.3);
}

/* Conditional ports: Yes (top-right area), No (bottom-right area) */
.wfb-node-port-yes {
    right: -7px;
    top: 30%;
    transform: translateY(-50%);
    border-color: #10b981;
}

.wfb-node-port-yes:hover {
    transform: translateY(-50%) scale(1.3);
    border-color: #10b981;
    background: #ecfdf5;
}

.wfb-node-port-no {
    right: -7px;
    top: 70%;
    transform: translateY(-50%);
    border-color: #ef4444;
}

.wfb-node-port-no:hover {
    transform: translateY(-50%) scale(1.3);
    border-color: #ef4444;
    background: #fef2f2;
}

/* Port labels */
.wfb-port-label {
    position: absolute;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.wfb-port-label-yes {
    right: 12px;
    top: 30%;
    transform: translateY(-50%);
    color: #10b981;
}

.wfb-port-label-no {
    right: 12px;
    top: 70%;
    transform: translateY(-50%);
    color: #ef4444;
}

/* Branched outputs (from question builder next_links) */
.wfb-node-port-branch {
    right: -7px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
}

.wfb-node-port-branch:hover {
    transform: translateY(-50%) scale(1.3);
}

.wfb-port-label-branch {
    right: 12px;
    transform: translateY(-50%);
    font-size: 9px;
    font-weight: 700;
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Delete button on node hover */
.wfb-node-delete {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ef4444;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 12px;
    line-height: 1;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    font-family: inherit;
}

.wfb-node:hover .wfb-node-delete {
    display: flex;
}

/* Resize handle (bottom-right) */
.wfb-node-resize {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 14px;
    height: 14px;
    cursor: se-resize;
    z-index: 11;
    display: none;
    border-radius: 0 0 8px 0;
    background: linear-gradient(135deg, transparent 50%, #cbd5e1 50%, #94a3b8 100%);
}

.wfb-node:hover .wfb-node-resize,
.wfb-node.is-selected .wfb-node-resize {
    display: block;
}

.wfb-node.is-resizing {
    cursor: se-resize;
    user-select: none;
}

.wfb-node.is-resizing .wfb-node-resize {
    display: block;
    background: linear-gradient(135deg, transparent 50%, #93c5fd 50%, #3b82f6 100%);
}

/* Canvas Action Buttons – pinned to top-right of canvas area */
.wfb-canvas-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.wfb-btn {
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
    font-family: inherit;
}

.wfb-btn-primary {
    background: #3b82f6;
    color: #ffffff;
}

.wfb-btn-primary:hover {
    background: #2563eb;
}

.wfb-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.wfb-btn-secondary:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Feedback Panel */
.wfb-feedback {
    padding: 16px 20px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
    max-height: 200px;
    overflow-y: auto;
}

.wfb-feedback-success {
    background: #f0fdf4;
    border-top-color: #bbf7d0;
}

.wfb-feedback-error {
    background: #fef2f2;
    border-top-color: #fecaca;
}

.wfb-feedback h4 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
}

.wfb-feedback-success h4 {
    color: #166534;
}

.wfb-feedback-error h4 {
    color: #991b1b;
}

.wfb-feedback ul {
    margin: 4px 0 0;
    padding: 0 0 0 18px;
    list-style: disc;
}

.wfb-feedback li {
    margin-bottom: 3px;
}

.wfb-feedback .wfb-fb-correct {
    color: #166534;
}

.wfb-feedback .wfb-fb-wrong {
    color: #991b1b;
}

.wfb-feedback .wfb-fb-missing {
    color: #92400e;
}

/* Right Panel */
.wfb-right-panel {
    width: 280px;
    flex-shrink: 0;
    background: #ffffff;
    border-left: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.wfb-instruction-content {
    padding: 0 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wfb-instr-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wfb-instr-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.wfb-instr-value {
    font-size: 13px;
    color: #334155;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.wfb-instr-value.is-empty {
    color: #cbd5e1;
    font-style: italic;
}

/* Guide rows inside instruction panel */
.wfb-guide-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.5;
    color: #334155;
    white-space: normal;
    word-break: break-word;
    min-width: 0;
    background: #f8fafc;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
}

.wfb-guide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

.wfb-guide-text {
    flex: 1;
    min-width: 0;
}

.wfb-guide-text strong {
    font-weight: 700;
    color: #1e293b;
}

.wfb-guide-color {
    font-size: 11px;
    color: #64748b;
}

.wfb-guide-desc {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
    margin-top: 2px;
}

.wfb-guide-num {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e8f0fe;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Responsive */
@media (max-width: 1200px) {
    .wfb-right-panel {
        width: 240px;
    }
    .wfb-left-panel {
        width: 240px;
    }
}

@media (max-width: 1024px) {
    .wfb-layout {
        flex-direction: column;
        height: auto;
    }
    .wfb-left-panel {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        max-height: 200px;
    }
    .wfb-steps-list {
        flex-direction: column;
        flex-wrap: nowrap;
        overflow-x: visible;
        overflow-y: auto;
    }
    .wfb-steps-list-group-cards {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    .wfb-step-card {
        flex-shrink: 0;
        width: auto;
        min-width: 160px;
    }
    .wfb-right-panel {
        width: 100%;
        border-left: none;
        border-top: 1px solid #e2e8f0;
        max-height: 200px;
    }
    .wfb-canvas-container {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .wfb-header {
        padding: 8px 12px;
        gap: 12px;
    }
    .wfb-page-title {
        font-size: 14px;
    }
    .wfb-canvas-container {
        min-height: 400px;
    }
}

/* Right Panel Result Summary */
.wfb-right-panel-result {
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.wfb-right-panel-result[hidden] {
    display: none;
}

.wfb-right-panel-result.is-success {
    background: #f0fdf4;
    border-bottom-color: #bbf7d0;
}

.wfb-right-panel-result.is-error {
    background: #fef2f2;
    border-bottom-color: #fecaca;
}

.wfb-right-panel-result-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wfb-right-panel-result.is-success .wfb-right-panel-result-title {
    color: #166534;
}

.wfb-right-panel-result.is-error .wfb-right-panel-result-title {
    color: #991b1b;
}

.wfb-right-panel-result-desc {
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
}

.wfb-right-panel-result.is-success .wfb-right-panel-result-desc {
    color: #15803d;
}

.wfb-right-panel-result.is-error .wfb-right-panel-result-desc {
    color: #991b1b;
}

.wfb-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.wfb-right-panel-result.is-success .wfb-result-icon {
    background: #10b981;
    color: #fff;
}

.wfb-right-panel-result.is-error .wfb-result-icon {
    background: #ef4444;
    color: #fff;
}

/* Success Animation Overlay */
.wfb-fireworks-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    animation: wfb-overlay-in 0.3s ease-out;
    pointer-events: none;
}

.wfb-fireworks-overlay[hidden] {
    display: none;
}

.wfb-fireworks-overlay.wfb-fireworks-fading {
    animation: wfb-overlay-out 0.5s ease-in forwards;
}

.wfb-confetti {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    animation: wfb-confetti-burst 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

.wfb-success-banner {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: wfb-success-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

.wfb-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(16, 185, 129, 0.4);
}

.wfb-success-title {
    font-size: 22px;
    font-weight: 700;
    color: #166534;
    margin-bottom: 4px;
}

.wfb-success-subtitle {
    font-size: 13px;
    color: #15803d;
}

@keyframes wfb-overlay-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes wfb-overlay-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes wfb-confetti-burst {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.4);
        opacity: 0;
    }
}

@keyframes wfb-success-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
