body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #121212;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Arial, sans-serif;
}

.login-box {
    position: relative;
    width: 320px;
    padding: 38px;
    background: #1e1e1e;
    border: 1px solid #303030;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);    
}

h1 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 25px;
    text-align: center;
}

.subtitle {
    margin: 0 0 24px;
    color: #999999;
    text-align: center;
    font-size: 14px;
}

input {
    box-sizing: border-box;
    width: 100%;
    padding: 13px;
    background: #292929;
    color: #ffffff;
    border: 1px solid #444444;
    border-radius: 6px;
    font-size: 16px;
}

input:focus {
    border-color: #287bde;
    outline: none;
}

button {
    box-sizing: border-box;
    width: 100%;
    margin-top: 14px;
    padding: 13px;
    border: 0;
    border-radius: 6px;
    background: #287bde;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

button:hover {
    background: #1f67bd;
}

.logout-button {
    background: #444444;
}

.logout-button:hover {
    background: #555555;
}

#error {
    min-height: 20px;
    margin-top: 13px;
    color: #ff6262;
    text-align: center;
    font-size: 14px;
}

#logged-in {
    display: none;
    text-align: center;
}

#logged-in p {
    color: #aaaaaa;
    font-size: 14px;
    line-height: 1.5;
}

.login-box {
    width: 360px;
    min-height: 330px;
}

.login-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 14px;
}

.days-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.days-group input {
    width: 80px;
}

.login-button {
    width: 128px;
    margin: 0;
}

.continue-button,
.logout-main-button {
    width: 100%;
    margin-top: 14px;
}

.logout-main-button {
    background: #4a4a4a;
}

.logout-main-button:hover {
    background: #5a5a5a;
}

.login-status {
    width: 360px;
    margin: 18px auto 0;
    color: #777;
    font-size: 13px;
}

.reset-form {
    position: absolute;
    right: 38px;
    bottom: 18px;
}

.reset-button {
    width: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #1695ff;
    font-size: 13px;
    font-weight: 400;
}

.reset-button:hover {
    background: transparent;
    color: #56b4ff;
}