/* Global Styles */
:root {
    /* Green Theme for Registration */
    --primary-color: #10b981;
    --primary-hover: #0d9f6e;
    --secondary-color: #059669;
    --light-color: #ecfdf5;
    --dark-color: #064e3b;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
    --form-bg: #ffffff;
    --input-focus: rgba(16, 185, 129, 0.2);
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}




/* Footer */
footer {
    background-color: #1a1a2e;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

footer h5::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    bottom: -8px;
    right: 0;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer a {
    color: #adb5bd;
    transition: color 0.3s ease;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    text-decoration: none;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}



/* Registration Section */
.login-section {
    min-height: calc(100vh - 74px);
    display: flex;
    align-items: center;
}

.login-form-container {
    padding: 3rem;
    max-width: 100%;
}

.login-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-align: center;
}

.login-header p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form .form-control {
    height: 52px;
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

.input-group-text {
    background-color: #fff;
    border-right: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius) !important;
}

.input-group .form-control {
    border-right: 0;
    border-left: 1px solid #ced4da;
    border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
}

.input-group .form-control:focus {
    border-color: #ced4da;
}

.toggle-password {
    border-left: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

.divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
    border-top: 1px solid #e0e0e0;
}

.divider span {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    background-color: #f8f9fa;
}

.social-login p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.social-login .btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-login .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Registration Image */
.login-image {
    position: relative;
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: white;
}

.image-overlay h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.image-overlay p {
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 991.98px) {
    .login-form-container {
        padding: 2rem 1.5rem;
    }
    
    .login-image {
        min-height: 400px;
    }
}

@media (max-width: 767.98px) {
    .login-section {
        padding: 2rem 0;
    }
    
    .login-header h2 {
        font-size: 1.75rem;
    }
    
    .login-form-container {
        padding: 1.5rem;
    }
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 0.65rem 1.5rem;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 4rem 0;
        text-align: center;
    }
    
    .hero-section img {
        margin-top: 2rem;
    }
    
    .section-header h2::after {
        right: 50%;
        transform: translateX(50%);
    }
}
 
@media (max-width: 767.98px) {
    .navbar-collapse {
        padding: 1rem;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.25rem;
        font-size: 1rem;
    }
}
