.signup-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    background: rgba(8, 10, 16, 0.88);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.form-intro {
    margin: 0 auto 12px;
    max-width: 530px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    line-height: 1.75;
    text-align: center;
}

.signup-badge-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.signup-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 216, 107, 0.14);
    color: #fff;
    font-size: 0.80rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    box-shadow: 0 10px 30px rgba(255, 216, 107, 0.08);
    animation: pulseBadge 3s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.04); opacity: 0.92; }
}

.country-group {
    position: relative;
}

.country-select-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.country-logo-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 32px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}


@media (max-width: 560px) {
    .country-select-wrap {
        flex-direction: column;
        gap: 8px;
    }
    .country-logo-preview {
        align-self: center;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: rgba(255, 216, 107, 0.6);
    box-shadow: 0 0 0 4px rgba(255, 216, 107, 0.12);
}

.form-group input::placeholder,
.form-group select option {
    color: rgba(255, 255, 255, 0.55);
}

.form-footer {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    text-align: center;
}

.form-footer a {
    color: var(--gold-bright);
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

.activation-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    margin-top: 8px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #FFD86B 0%, #FFC107 100%);
    color: #000;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 300ms ease;
    box-shadow: 0 8px 24px rgba(255, 216, 107, 0.2);
}

.activation-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 216, 107, 0.32);
}

.activation-btn:active:not(:disabled) {
    transform: translateY(0);
}

.activation-btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.btn-spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.12), rgba(76, 175, 80, 0.08));
    border: 1px solid rgba(76, 175, 80, 0.3);
    text-align: center;
    animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-message h3 {
    color: #4CAF50;
    font-size: 1.2rem;
    margin: 0;
    letter-spacing: 0.05em;
}

.success-message p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}
.error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.12), rgba(244, 67, 54, 0.08));
    border: 1px solid rgba(244, 67, 54, 0.28);
    text-align: center;
    animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.error-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
