/* Modern Glassmorphism Login Page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    color: #333;
}



.login-container {
    display: flex;
    height: 100vh;
    position: relative;
    background: #ffffff;
    border: 1px solid #d1d5db;
}

/* Sol Panel */
.left-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: #f8f9fa;
    border-right: 1px solid #e5e7eb;
}

.brand-content {
    text-align: center;
    color: #111827;
    max-width: 500px;
}

.logo-area {
    margin-bottom: 3rem;
}

.brand-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #0066cc;
}

.logo-area h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111827;
}

.welcome-text h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.welcome-text p {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.feature-item i {
    font-size: 1.2rem;
    color: #0066cc;
    width: 24px;
    text-align: center;
}

/* Sağ Panel */
.right-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: #ffffff;
}

.login-form-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
    color: #111827;
}

.login-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111827;
}

.login-header p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Message Container */
.message-container {
    margin-bottom: 1rem;
    min-height: 20px;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.error {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.message.success {
    background: rgba(34, 197, 94, 0.9);
    color: white;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
    font-size: 0.9rem;
}

.form-group label i {
    font-size: 0.9rem;
    color: #6b7280;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #111827;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-group input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: #374151;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-size: 0.85rem;
    cursor: pointer;
    position: relative;
}

.remember-me input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #ffffff;
}

.remember-me input[type="checkbox"]:checked + .checkmark {
    background: #0066cc;
    border-color: #0066cc;
}

.remember-me input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 11px;
    font-weight: bold;
}

.forgot-password {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Login Button */
.login-btn {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #0066cc;
    border-radius: 6px;
    background: #0066cc;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    margin-bottom: 1.5rem;
}

.login-btn:hover {
    background: #0052a3;
    border-color: #0052a3;
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Footer */
.login-footer {
    text-align: center;
    color: #6b7280;
    font-size: 0.85rem;
}

.register-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.register-link:hover {
    text-decoration: underline;
    color: #0052a3;
}

/* Responsive Design */

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .left-panel {
        flex: 0.4;
        padding: 1rem;
    }
    
    .right-panel {
        flex: 0.6;
        padding: 1rem;
    }
    
    .brand-content {
        max-width: 100%;
    }
    
    .logo-area h1 {
        font-size: 2rem;
    }
    
    .welcome-text h2 {
        font-size: 1.5rem;
    }
    
    .welcome-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .feature-item {
        flex: 1;
        min-width: 200px;
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    .login-form-container {
        padding: 2rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .left-panel {
        display: none;
    }
    
    .right-panel {
        flex: 1;
    }
    
    .login-form-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    body {
        overflow-y: auto;
    }
}
