* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 140, 66, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 26, 0.7) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(236, 72, 153, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(217, 70, 239, 0.6) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(255, 140, 66, 0.3) 0%, 
            rgba(255, 107, 26, 0.4) 25%, 
            rgba(236, 72, 153, 0.3) 50%, 
            rgba(168, 85, 247, 0.3) 75%, 
            rgba(217, 70, 239, 0.3) 100%
        );
    background-attachment: fixed;
    min-height: 100vh;
}

.orange {
    color: #ffffff;
}

/* Navigation */
.navbar {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    text-decoration: none;
}

.nav-brand h1 {
    color: #ff8c42;
    font-weight: 700;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ff8c42;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffb366;
}

/* Main Content */
.signup-main {
    padding-top: 100px;
    min-height: 100vh;
}

.signup-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
.signup-header {
    text-align: center;
    margin-bottom: 40px;
}

.signup-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Form Section */
.signup-form-section {
    max-width: 100%;
}

.form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Form Styles */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-input,
.form-select {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #ff8c42;
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

/* Password Requirements */
.password-requirements {
    margin-top: 5px;
}

.password-requirements small {
    color: #666;
    font-size: 0.85rem;
}

/* Account Type Group */
.account-type-group {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 30px;
}

.account-type-group .form-label {
    margin-bottom: 0;
    flex-shrink: 0;
}

.radio-group {
    display: flex;
    gap: 30px;
    align-items: center;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #ff8c42;
    background: #ff8c42;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.forgot-password {
    font-size: 0.95rem;
}

/* Checkbox Group */
.checkbox-group {
    margin: 10px 0;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 2px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    border-color: #ff8c42;
    background: #ff8c42;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    color: #333;
}

.link {
    color: #ff8c42;
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #ff8c42, #ff6b1a);
    border: none;
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline;
}

/* Sign In Link */
.signin-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.signin-link p {
    color: #666;
    font-size: 0.95rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.modal-body p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-footer {
    margin-top: 30px;
}

.modal-btn {
    background: #ff8c42;
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    background: #ff6b1a;
    transform: translateY(-1px);
}

/* Form Validation */
.form-input.error,
.form-select.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.field-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .signup-header h1 {
        font-size: 2.5rem;
    }
    
    .form-container {
        padding: 30px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-menu {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .signup-container {
        padding: 20px 10px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .modal-content {
        padding: 25px;
        margin: 20px;
    }
}

/* Animation for form fields */
.form-group {
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }
.form-group:nth-child(7) { animation-delay: 0.7s; }
.form-group:nth-child(8) { animation-delay: 0.8s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}