* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
    color: #1f2937;
}

.container {
    width: min(1000px, 92%);
    margin: 40px auto;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.login-card {
    max-width: 430px;
    margin: 90px auto;
    text-align: center;
}

h1 {
    margin-bottom: 8px;
}

h2 {
    font-weight: normal;
    margin-top: 0;
}

label {
    display: block;
    text-align: left;
    margin: 18px 0 7px;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 11px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font-size: 15px;
}

button,
.menu-button,
.back-button,
.logout {
    display: inline-block;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    text-decoration: none;
    cursor: pointer;
    font-size: 15px;
}

button {
    margin-top: 20px;
    width: 100%;
}

.system-date,
.note {
    margin-top: 20px;
    color: #64748b;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logout {
    background: #e5e7eb;
    color: #111827;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.label {
    display: block;
    color: #64748b;
    margin-bottom: 8px;
}

.rate-form {
    display: flex;
    gap: 10px;
}

.rate-form input {
    width: 150px;
}

.rate-form button {
    margin: 0;
    width: auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.menu-button {
    background: #ffffff;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: bold;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.menu-button.exit {
    background: #f1f5f9;
}

.back-button {
    margin-top: 20px;
}

@media (max-width: 650px) {
    .info-grid,
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .topbar {
        align-items: flex-start;
        gap: 15px;
    }

    .rate-form {
        flex-direction: column;
    }

    .rate-form input {
        width: 100%;
    }
}
