:root {
    --primary-color: #0d6efd;
    --primary-dark: #0b5ed7;
    --gradient-start: #667eea;
    --gradient-end: #764ba2;
}

body {
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 1000px;
    padding: 0;
}

.login-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #bbd3d6;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    min-height: 600px;
}

.login-card-row {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Sol Taraf: Görsel Bölümü */
.login-image-section {
    flex: 1;
    background-color: #f1f9fa;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.login-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
    z-index: 1;
}

.login-image-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 40px;
    position: relative;
}

.login-image-text {
    color: #fff;
    position: relative;
    z-index: 3;
}

.login-image-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.login-image-text p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 15px;
    color: #fff;
}

.role-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 10px;
    color: #fff;
    backdrop-filter: blur(10px);
}

/* Sağ Taraf: Form Bölümü */
.login-form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-form-content {
    width: 100%;
    max-width: 400px;
}

.login-form-header {
    margin-bottom: 30px;
    text-align: center;
}

.login-form-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.login-form-header p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.login-form {
    margin-top: 30px;
}

.form-floating {
    margin-bottom: 1.25rem;
}

.form-floating > .form-control {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    height: 56px;
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
    border-color: #24b7c6;
    box-shadow: 0 0 0 0.2rem rgba(36, 183, 198, 0.15);
}

.form-floating > label {
    color: #666;
    padding: 0.75rem 0.75rem;
}

.btn-login {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    background: #24b7c6;
    border: none;
    transition: all 0.3s ease;
    color: #fff;
    margin-top: 10px;
}

.btn-login:hover {
    background: #1fa5b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(36, 183, 198, 0.4);
    color: #fff;
}

.btn-login:active {
    transform: translateY(0);
}

.alert {
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.form-check-input:checked {
    background-color: #24b7c6;
    border-color: #24b7c6;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
}

.login-footer a {
    color: #24b7c6;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #1fa5b3;
    text-decoration: underline;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
        min-height: auto;
    }

    .login-image-section {
        min-height: 250px;
    }

    .login-image-content {
        padding: 30px 20px;
    }

    .login-image-text h1 {
        font-size: 1.8rem;
    }

    .login-image-text p {
        font-size: 0.95rem;
    }

    .login-form-section {
        padding: 30px 20px;
    }

    .login-form-content {
        max-width: 100%;
    }
}
