/* VOYAGERP MODERN LOGIN UI - FULL RESPONSIVE */

:root {
    --login-bg: #f8fafc;
    --card-bg: #ffffff;
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --input-bg: #f1f5f9;
}

body.login-page {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* Arka Plan Dekoratif Elementleri */
body.login-page::before {
    content: '';
    position: absolute;
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    top: -20%;
    left: -10%;
    border-radius: 50%;
    z-index: 0;
}

body.login-page::after {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
    bottom: -10%;
    right: -10%;
    border-radius: 50%;
    z-index: 0;
}

.login-wrapper {
    width: 100%;
    max-width: 440px;
    z-index: 10;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.login-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.brand-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 10px 20px -10px rgba(59, 130, 246, 0.4);
    transform: rotate(-5deg);
    transition: 0.3s;
}

.login-card:hover .brand-icon {
    transform: rotate(0deg) scale(1.05);
}

.brand-icon i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

/* Hata Mesajı */
.alert-box {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    line-height: 1.4;
    animation: shake 0.5s ease-in-out;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-error i {
    font-size: 1.2rem;
    color: #ef4444;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

/* Form Elemanları */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin-left: 4px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 1rem;
    transition: 0.3s ease;
}

.form-control {
    width: 100%;
    padding: 14px 16px 14px 45px;
    background: var(--input-bg);
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.form-control:hover {
    background: #e2e8f0;
}

.form-control:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.form-control:focus + .input-icon,
.form-control:not(:placeholder-shown) + .input-icon {
    color: var(--primary-color);
}

/* Buton */
.btn-login {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.btn-login:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

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

/* Footer (Alt Bilgi) */
.login-footer {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.copyright strong {
    color: var(--text-main);
}

.version-badge {
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid #e2e8f0;
}

/* MOBİL VE TABLET UYUMU (Full Responsive) */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 25px;
        border-radius: 20px;
    }
    
    .brand-icon {
        width: 60px;
        height: 60px;
    }
    
    .brand-icon i {
        font-size: 1.8rem;
    }
    
    .login-title {
        font-size: 1.4rem;
    }
    
    .form-control {
        padding: 12px 14px 12px 40px;
        font-size: 1rem; 
    }
    
    .input-icon {
        left: 14px;
    }
    
    .btn-login {
        padding: 14px;
    }
    
    .login-footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-top: 15px;
        margin-top: 25px;
    }
}

@media (max-height: 650px) {
    body.login-page {
        align-items: flex-start;
        padding-top: 20px;
    }
    .login-card {
        padding: 25px;
    }
    .brand-icon {
        margin-bottom: 10px;
    }
    .login-header {
        margin-bottom: 20px;
    }
}