body {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 1rem;
}

.signup-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 100%;
    overflow: hidden;
    animation: fadeIn 0.5s ease-in-out;
}

.signup-header {
    background: linear-gradient(90deg, #007bff, #00c4b4);
    padding: 1.5rem;
    text-align: center;
    color: #fff;
}

.signup-header h2 {
    font-size: clamp(1.5rem, 5vw, 1.75rem);
    font-weight: 700;
    margin: 0;
}

.signup-body {
    padding: clamp(1.5rem, 5vw, 2rem);
}

.logo {
    width: clamp(80px, 20vw, 100px);
    margin: 0 auto 1rem;
    display: block;
}

.account-type-box {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.account-type-box.enabled:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.account-type-box.disabled {
    background: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

.account-type-box i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.account-type-box h5 {
    margin: 0;
    font-size: clamp(0.9rem, 3vw, 1rem);
    color: #333;
}

.form-control {
    border-radius: 8px;
    padding: clamp(0.8rem, 2vw, 0.9rem);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
    background: #fff;
}

.input-group-text {
    border-radius: 8px 0 0 8px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-right: none;
    color: #6c757d;
    padding: clamp(0.8rem, 2vw, 0.9rem);
}

.btn-primary {
    background: #007bff;
    border: none;
    padding: clamp(0.8rem, 2vw, 0.9rem);
    font-size: clamp(0.9rem, 3vw, 1rem);
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-primary:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.btn-primary .spinner-border {
    width: 1.2rem;
    height: 1.2rem;
    margin-left: 0.5rem;
    display: none;
}

.btn-primary.loading .spinner-border {
    display: inline-block;
}

.error-message {
    color: #dc3545;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    margin-top: 0.5rem;
    display: none;
}

.password-toggle {
    cursor: pointer;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-left: none;
    border-radius: 0 8px 8px 0;
    padding: clamp(0.8rem, 2vw, 0.9rem);
    color: #6c757d;
}

.resend-link {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resend-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 576px) {
    .signup-container {
        margin: 1rem;
        max-width: 90%;
    }

    .signup-header {
        padding: 1rem;
    }

    .input-group-text, .password-toggle {
        padding: 0.7rem;
    }

    .form-control {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .signup-container {
        max-width: 95%;
    }

    .logo {
        width: 80px;
    }
}