* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 60px; /* Footer yüksekliği kadar padding */
}

.login-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-box {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
}

.login-logo {
    width: 180px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-floating {
    position: relative;
}

.form-control {
    width: 100%;
    height: 50px;
    padding: 1rem 0.75rem;
    font-size: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    outline: none;
}

.form-floating label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
    color: #6c757d;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    background-color: white;
    padding: 0 0.25rem;
    color: #0d6efd;
}

.btn-primary {
    width: 100%;
    height: 50px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.alert {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c2c7;
    color: #842029;
}

.login-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    padding: 1rem 0;
    text-align: center;
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.login-footer a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.login-footer a:hover {
    color: #0d6efd;
}

/* Responsive */
@media (max-width: 576px) {
    .login-wrapper {
        padding: 1rem;
    }

    .login-box {
        padding: 2rem;
    }

    .login-logo {
        width: 150px;
    }
}

/* Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
