:root {
    --primary-color: #07690c; 
    --primary-hover: #289a4a;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-color: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.85); 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    
    display: grid;
    place-items: center; 
    
    position: relative;
    overflow: hidden; 
}

.bg-shape {
    position: absolute;
    filter: blur(70px); 
    z-index: 0; 
    border-radius: 50%;
    animation: float 5s infinite alternate ease-in-out; 
}

.shape-1 { 
    width: 400px; 
    height: 400px; 
    background-color: #4b8cf4; 
    top: -100px; 
    left: -100px; 
    animation-delay: 0s; }
.shape-2 { 
    width: 350px; 
    height: 350px; 
    background-color: #2dd438; 
    bottom: -100px; 
    right: -50px; 
    animation-delay: -2s; }
.shape-3 { 
    width: 300px; 
    height: 300px; 
    background-color: #757575; 
    bottom: 50px; 
    left: 20%; 
    animation-delay: -4s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.login-wrapper {
    width: 90%;
    max-width: 420px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1); 
    border: 1px solid rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px); 
    z-index: 10;
    margin: 0;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px; 
}

.logo-img {
    width: 70px; 
    height: 70px;
    object-fit: contain;
}

.login-header { 
    text-align: center; 
    margin-bottom: 30px; }
.login-header h2 { 
    color: var(--text-dark); 
    font-size: 28px; 
    font-weight: 700; 
    margin-bottom: 5px; }
.login-header p { 
    color: var(--text-light); 
    font-size: 14px; }

.login-form { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; }

.input-group { 
    position: relative; }
.input-group .icon { 
    position: absolute; 
    left: 15px; 
    top: 50%; 
    transform: translateY(-50%); 
    color: var(--text-light); 
    font-size: 20px; }

.input-group .toggle-password {
    position: absolute;
    right: 15px; 
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer; 
    transition: color 0.3s ease;
}

.input-group .toggle-password:hover { 
    color: var(--primary-color); }

.input-group input { 
    width: 100%; 
    padding: 15px 45px; 
    border: 2px solid #e2e8f0; 
    border-radius: 12px; 
    background-color: #ffffff; 
    font-size: 14px; 
    color: var(--text-dark); 
    outline: none; 
    transition: all 0.3s ease; }
.input-group input:focus { 
    border-color: var(--primary-color); 
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1); }
.input-group input:focus + .icon { 
    color: var(--primary-color); }

.options-group { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 13px; 
    margin-top: -5px; }
.remember-me { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    color: var(--text-light); 
    cursor: pointer; }
.remember-me input { 
    accent-color: var(--primary-color); 
    cursor: pointer; 
    width: 16px; 
    height: 16px; }

.forgot-pass { 
    color: var(--primary-color); 
    text-decoration: none; 
    font-weight: 600; }
.forgot-pass:hover { 
    text-decoration: underline; }

.login-btn { 
    width: 100%; 
    padding: 15px; 
    background-color: var(--primary-color); 
    color: white; border: none; 
    border-radius: 12px; 
    font-size: 16px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3); 
    margin-top: 10px; }
.login-btn:hover { 
    background-color: var(--primary-hover); 
    transform: translateY(-2px); }

.register-link { 
    text-align: center; 
    margin-top: 25px; 
    font-size: 14px; 
    color: var(--text-light); }
.register-link a { 
    color: var(--primary-color); 
    text-decoration: none; 
    font-weight: 600; 
    margin-left: 5px; }
.register-link a:hover { 
    text-decoration: underline; }

.company-footer {
    position: fixed;
    bottom: 24px; 
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: #475569;
    z-index: 10;
}

.company-footer a { 
    color: var(--primary-color); 
    text-decoration: none; 
    font-weight: 600; }
.company-footer a:hover { 
    text-decoration: underline; }

/* --- MOBİL UYUM (TELEFONLAR) --- */
@media (max-width: 480px) {
    .login-wrapper { 
        padding: 30px 20px; 
    }
    
    .login-header h2 { font-size: 24px; }
    .logo-img { width: 60px; height: 60px; }
    .bg-shape { transform: scale(0.7); }
    .company-footer { bottom: 15px; font-size: 12px; }
}