/* --- Success Result View --- */
.result-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-lg);
    animation: fadeIn 0.3s ease;
}

.result-card {
    width: 90%;
    max-width: 380px;
    text-align: center;
    padding: 20px;
}

.result-icon-success {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.result-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.result-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.result-code-container {
    background: #f8fafc;
    border: 2.5px solid var(--accent-primary);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 28px;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.result-code-label {
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.result-code-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 6px;
    line-height: 1;
}

.btn-copy {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid var(--border-light);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-copy:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-50%) scale(1.05);
}

.result-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 28px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.result-meta i {
    color: var(--accent-primary);
}

.result-meta strong {
    color: var(--text-main);
}