        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', system-ui, sans-serif;
        }
        
        body.cslogin-body {
            background-color: #f8fafc;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            color: #1e293b;
            padding: 20px;
        }
        
        .cslogin-container {
            width: 100%;
            max-width: 420px;
        }
        
        .cslogin-card {
            background: white;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            border: 1px solid #e2e8f0;
        }
        
        .cslogin-header {
            padding: 32px 32px 24px;
            text-align: center;
            border-bottom: 1px solid #f1f5f9;
        }
        
        .cslogin-logo {
            font-size: 24px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 8px;
        }
        
        .cslogin-subtitle {
            color: #64748b;
            font-size: 15px;
            font-weight: 500;
        }
        
        .cslogin-body {
            padding: 32px;
        }
        
        .cslogin-form-group {
            margin-bottom: 20px;
        }
        
        .cslogin-label {
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            font-weight: 600;
            color: #374151;
        }
        
        .cslogin-input-container {
            position: relative;
        }
        
        .cslogin-input {
            width: 100%;
            padding: 12px 16px 12px 44px;
            border: 1px solid #d1d5db;
            background-color: #ffffff;
            font-size: 15px;
            transition: all 0.2s;
            color: #1f2937;
        }
        
        .cslogin-input:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }
        
        .cslogin-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
            font-size: 16px;
        }
        
        .cslogin-btn {
            width: 100%;
            padding: 14px;
            background-color: #1e293b;
            color: white;
            border: none;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.2s;
            margin-top: 8px;
        }
        
        .cslogin-btn:hover {
            background-color: #334155;
        }
        
        .cslogin-divider {
            display: flex;
            align-items: center;
            margin: 24px 0;
            color: #94a3b8;
            font-size: 14px;
        }
        
        .cslogin-divider::before,
        .cslogin-divider::after {
            content: "";
            flex: 1;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .cslogin-divider span {
            padding: 0 12px;
        }
        
        .cslogin-links {
            display: flex;
            justify-content: center;
            margin-top: 24px;
        }
        
        .cslogin-link {
            color: #475569;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.2s;
        }
        
        .cslogin-link:hover {
            color: #1e293b;
        }
        
        .cslogin-footer {
            padding: 24px 32px;
            text-align: center;
            border-top: 1px solid #f1f5f9;
            font-size: 10px;
            color: #64748b;
        }
        
        .cslogin-alert {
            padding: 12px 16px;
            background-color: #fef2f2;
            border-left: 4px solid #dc2626;
            margin-bottom: 20px;
            font-size: 14px;
        }
        
        .cslogin-toggle-password {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #9ca3af;
            cursor: pointer;
        }
        
        .cslogin-register-btn {
            width: 100%;
            padding: 14px;
            background-color: #f8fafc;
            color: #1e293b;
            border: 1px solid #e2e8f0;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            margin-bottom: 15px;
            text-decoration: none;
            display: block;
            text-align: center;
        }
        
        .cslogin-register-btn:hover {
            background-color: #f1f5f9;
            text-decoration: none;
            color: #1e293b;
        }
        
        @media (max-width: 480px) {
            .cslogin-body {
                padding: 24px;
            }
            
            .cslogin-links {
                flex-direction: column;
                gap: 12px;
            }
        }


        /* Additional styles for forgot password page */
.cslogin-help-text {
    color: #64748b;
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Ensure readonly inputs have proper styling */
.cslogin-input[readonly] {
    background-color: #f8fafc;
    color: #64748b;
}

/* Make sure links in forms look consistent */
.cslogin-register-btn {
    width: 100%;
    padding: 14px;
    background-color: #f8fafc;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 12px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.cslogin-register-btn:hover {
    background-color: #f1f5f9;
    text-decoration: none;
    color: #1e293b;
}

/* Additional styles for registration page */
.cslogin-container[style*="max-width: 900px"] {
    max-width: 900px !important;
}

/* Ensure the layout works on mobile */
@media (max-width: 768px) {
    .cslogin-container[style*="max-width: 900px"] {
        max-width: 100% !important;
    }
    
    [style*="display: flex"] {
        flex-direction: column;
    }
    
    [style*="min-width: 300px"] {
        min-width: 100% !important;
    }
}

/* Make sure the info panel content looks good */
.cslogin-body :where(p, ul, ol, li) {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 12px;
}

.cslogin-body :where(ul, ol) {
    padding-left: 20px;
}

.cslogin-body :where(strong, b) {
    color: #374151;
    font-weight: 600;
}

/* Additional styles for registration form page */
.cslogin-container[style*="max-width: 1200px"] {
    max-width: 1200px !important;
}

/* File input styling */
.cslogin-input[type="file"] {
    padding-top: 11px;
    padding-bottom: 11px;
    height: auto;
}

/* Custom fields styling */
.cslogin-body :where(select, textarea) {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    font-size: 15px;
    transition: all 0.2s;
    color: #1f2937;
}

.cslogin-body :where(select, textarea):focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Ensure the layout works on mobile */
@media (max-width: 768px) {
    .cslogin-container[style*="max-width: 1200px"] {
        max-width: 100% !important;
    }
    
    [style*="display: flex"] {
        flex-direction: column;
    }
    
    [style*="min-width: 300px"],
    [style*="min-width: 600px"],
    [style*="min-width: 280px"] {
        min-width: 100% !important;
    }
}

/* Make sure custom fields integrate well */
.cslogin-form-group :where(select, textarea) {
    margin-top: 4px;
}

/* Additional styles for single-box registration page */
.cslogin-note {
    background-color: #f8fafc;
    border-left: 4px solid #3b82f6;
    padding: 20px;
    margin-top: 30px;
    border-radius: 0;
}

.cslogin-note h4 {
    color: #1e293b;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cslogin-note h4 i {
    color: #3b82f6;
}

.cslogin-note p {
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.5;
}

.cslogin-note ul {
    color: #64748b;
    padding-left: 20px;
    margin-bottom: 0;
}

.cslogin-note li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Grid layout for form columns */
[style*="grid-template-columns"] {
    gap: 20px;
}

/* Responsive design for grid */
@media (max-width: 768px) {
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 0;
    }
    
    [style*="display: flex"] {
        flex-direction: column;
    }
}

/* Ensure custom fields look good */
.cslogin-body :where(select, textarea) {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    font-size: 15px;
    transition: all 0.2s;
    color: #1f2937;
    margin-top: 4px;
}

.cslogin-body :where(select, textarea):focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Section title styles */
.cslogin-section-title {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

/* Grid layout for form columns */
[style*="grid-template-columns"] {
    gap: 25px;
}

/* Responsive design for grid */
@media (max-width: 768px) {
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 0;
    }
    
    .cslogin-section-title {
        margin-top: 20px;
    }
    
    .cslogin-section-title:first-child {
        margin-top: 0;
    }
}

/* File input styling */
.cslogin-input[type="file"] {
    padding-top: 11px;
    padding-bottom: 11px;
    height: auto;
}

/* Custom fields styling */
.cslogin-body :where(select, textarea) {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    font-size: 15px;
    transition: all 0.2s;
    color: #1f2937;
    margin-top: 4px;
}

.cslogin-body :where(select, textarea):focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}