/* Clean Professional CSS - Basic Styles for Login Page */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --bg-alt: #f8fafc;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-alt);
    color: #334155;
    line-height: 1.6;
}

.navbar {
    background: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: #1e293b !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: #64748b !important;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 180px);
    padding: 2rem 0;
}

.auth-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
}

.form-label-custom {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-control-custom {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
    background-color: white;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
}

.btn-login-home {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-login-home:hover {
    background: linear-gradient(135deg, var(--primary-dark), #4338ca);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.3), 0 2px 4px -2px rgba(99, 102, 241, 0.2);
}

.btn-create-school {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn-create-school:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3), 0 2px 4px -2px rgba(16, 185, 129, 0.2);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    border-radius: 50px;
    padding: 0.75rem;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

.alert {
    border-radius: 0.5rem;
    padding: 1rem;
}

.alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.alert-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

.alert-warning {
    background-color: #fffbeb;
    border: 1px solid #fedf89;
    color: #f59e0b;
}

.text-primary {
    color: var(--primary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.border-top {
    border-top: 1px solid var(--border-color) !important;
}

.footer {
    background-color: white;
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .auth-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .main-content {
        padding: 1rem;
    }
}

/* Form styling */
.form-check-input {
    border: 1px solid var(--border-color);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.h3 {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-4 {
    margin-top: 1rem !important;
}

.pt-3 {
    padding-top: 0.75rem !important;
}

.ls-1 {
    letter-spacing: 0.025em;
}

.text-uppercase {
    text-transform: uppercase;
}

.small {
    font-size: 0.875rem;
}

/* Ensure proper alignment */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Fix for specific elements */
.password-wrapper input {
    padding-right: 3rem;
}

.text-end {
    text-align: right !important;
}

.text-center {
    text-align: center !important;
}

.d-flex {
    display: flex !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

.w-100 {
    width: 100% !important;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
}

.col-md-6 {
    flex: 0 0 auto;
    width: 50%;
    padding: 0 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-4 {
    margin-bottom: 1rem !important;
}

.pb-2 {
    padding-bottom: 0.5rem !important;
}

.mt-3 {
    margin-top: 0.75rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

/* Custom button styles */
.btn {
    border-radius: 0.375rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.btn-link {
    text-decoration: none;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}