/* Arka plan - modern degrade */
body.login {
    background: linear-gradient(135deg, #d71920 0%, #16213e 50%, #b2151a 100%);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "Segoe UI", sans-serif;
    animation: fadeBg 1s ease-in-out;
}


/* Arka plan animasyonu */
@keyframes fadeBg {
    0% { opacity: 0; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}
/* Form etiket yazıları beyaz */
.login label {
    color: #ffffff !important;
    font-weight: 500;
}

/* Logo animasyonlu */
.login h1 a {
    background-image: url("https://www.knzajans.com.tr/wp-content/uploads/2025/04/Varlik-4@4000x-scaled.png") !important;
    height: 90px;
    width: 260px;
    background-size: contain;
    background-repeat: no-repeat;
    padding-bottom: 20px;

    animation: fadeSlide 1s ease-out forwards;
}

/* Giriş kutusu - cam efekti */
#login {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}
.login form {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    padding: 35px 30px;
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeSlide 1.1s ease-out forwards;
}

/* Fade slide yukarıdan inme efekti */
@keyframes fadeSlide {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Giriş butonu */
.wp-core-ui .button-primary {
    background-color: #ff4c4c;
    border-color: #ff4c4c;
    color: white;
    box-shadow: 0 4px 14px rgba(255, 76, 76, 0.4);
    transition: all 0.3s ease;
}
.wp-core-ui .button-primary:hover {
    background-color: #e04343;
    border-color: #e04343;
}

/* Input alanları */
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
    border-radius: 8px;
    border: none;
    background-color: rgba(255,255,255,0.15);
    color: white;
    padding: 12px;
    margin-bottom: 14px;
}
.login input::placeholder {
    color: #dddddd;
}
.login input:focus {
    background-color: rgba(255,255,255,0.25);
    outline: none;
}

/* Alt linkler */
.login #nav, .login #backtoblog {
    text-align: center !important;
    float: none !important;
    display: block;
    width: 100%;
}
.login #nav a,
.login #backtoblog a {
    color: #ffffff !important;
    font-weight: 400;
}
.login #nav a:hover,
.login #backtoblog a:hover {
    color: #f1f1f1 !important;
    text-decoration: underline;
}

/* Dil kutusu */
.language-switcher {
    text-align: center !important;
    float: none !important;
    margin-top: 20px;
    color: #fff !important;
}
.language-switcher label,
.language-switcher select,
.language-switcher option {
    color: #000 !important;
}

/* Sistem mesajları */
.message, .login .message, .login .error {
    border-left: 4px solid #ff4c4c;
    background-color: #fff0f0;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
}

/* Footer yazısı */
body.login:after {
    content: "© 2025 KNZ Dijital Reklam Ajansı";
    position: relative;
    margin-top: 20px;
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: #cccccc;
    display: block;
}
