/* Login */
body {
    background-color: #0d1117;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 1rem;
    width: 100%;
    max-width: 380px;
    padding: 2.25rem 2rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .6);
}

.login-logo {
    width: 56px;
    height: 56px;
    border-radius: .875rem;
    background: #161b22;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    padding: 4px;
    overflow: hidden;
}

.login-logo img {
    width: 100%;
    height: 100%;
}

.login-title {
    color: #e6edf3;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: .25rem;
}

.login-subtitle {
    color: #8b949e;
    font-size: .8125rem;
    text-align: center;
    margin-bottom: 1.75rem;
}

.form-label {
    color: #c9d1d9;
    font-size: .8125rem;
    margin-bottom: .3rem;
}

.form-control {
    background: #21262d;
    border: 1px solid #30363d;
    color: #e6edf3;
    border-radius: .5rem;
    font-size: .9rem;
    padding: .6rem .875rem;
    transition: border-color .2s, box-shadow .2s;
}

.form-control:focus {
    background: #21262d;
    border-color: #0d6efd;
    color: #e6edf3;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .25);
}

.form-control::placeholder { color: #6e7681; }

.input-group-text {
    background: #21262d;
    border: 1px solid #30363d;
    color: #8b949e;
    cursor: pointer;
    transition: color .2s;
}

.input-group-text:hover { color: #c9d1d9; }

.btn-login {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border: none;
    color: #fff;
    border-radius: .5rem;
    padding: .65rem;
    font-size: .9rem;
    font-weight: 600;
    width: 100%;
    transition: opacity .2s, transform .1s;
    letter-spacing: .02em;
}

.btn-login:hover { opacity: .92; }
.btn-login:active { transform: scale(.98); }

.error-box {
    background: #3d1f1f;
    border: 1px solid #da3633;
    border-radius: .5rem;
    color: #f85149;
    padding: .65rem .875rem;
    font-size: .8125rem;
    margin-bottom: 1rem;
}

.remember-label {
    color: #8b949e;
    font-size: .8125rem;
    user-select: none;
    cursor: pointer;
}

.form-check-input {
    background-color: #21262d;
    border-color: #30363d;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
