/* LOGIN PAGE */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body.login-body {
    height: 100%;
}

body.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dde3f0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 1rem;
}

.login-card {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(20, 40, 120, 0.22);
    animation: slideUp 0.35s ease-out;
}

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

/* ── Üst koyu bölüm ── */
.lc-header {
    background-color: #2d3a8c;
    padding: 2.25rem 2rem 2rem;
    text-align: center;
}

.lc-header img {
    height: 68px;
    width: auto;
    display: block;
    margin: 0 auto 1rem;
    filter: brightness(0) invert(1);
}

.lc-title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.lc-sub {
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
}

/* ── Alt beyaz bölüm ── */
.lc-body {
    background: #ffffff;
    padding: 1.9rem 2rem 1.6rem;
}

/* hata */
.lc-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    font-size: 0.84rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
}

/* label */
.lc-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.45rem;
}

/* input */
.lc-input {
    display: block;
    width: 100%;
    background: #eef1fb;
    border: none;
    border-radius: 11px;
    padding: 0.72rem 1rem;
    font-size: 0.9rem;
    color: #1e293b;
    outline: none;
    transition: box-shadow 0.2s;
}
.lc-input:focus {
    box-shadow: 0 0 0 3px rgba(45,58,140,0.18);
}

.lc-input-wrap { position: relative; }
.lc-input-wrap .lc-input { padding-right: 2.8rem; }
.lc-toggle {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
}
.lc-toggle:hover { color: #2d3a8c; }

/* buton */
.lc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1.4rem;
    background: #2d3a8c;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.78rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(45,58,140,0.32);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.lc-btn:hover {
    background: #1e2d7a;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(45,58,140,0.42);
}
.lc-btn:active { transform: translateY(0); }

/* forgot */
.lc-forgot {
    text-align: center;
    margin-top: 1rem;
}
.lc-forgot a {
    font-size: 0.82rem;
    color: #2d3a8c;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.lc-forgot a:hover { text-decoration: underline; }

.lc-field { margin-bottom: 1rem; }
