    body {
        font-family: sans-serif;
        max-width: 480px;
        margin: 0 auto;
        padding: 20px;
        background: #f5f6f8;
    }

    .card {
        background: white;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }

    h1 {
        font-size: 20px;
        text-align: center;
        margin-top: 0;
    }

    .test-bar {
        background: #fff3cd;
        padding: 10px;
        border-radius: 8px;
        margin-bottom: 15px;
        font-size: 13px;
        text-align: center;
    }

    .test-bar a {
        color: #0066cc;
        margin: 0 8px;
        font-weight: bold;
    }

    .user-info {
        text-align: center;
        font-size: 15px;
        font-weight: bold;
        color: #444;
        margin-bottom: 5px;
    }

    .emp-badge {
        font-size: 12px;
        color: #888;
        font-weight: normal;
    }

    .clock-box {
        text-align: center;
        margin: 10px 0 20px;
        padding: 12px;
        background: #f9fafb;
        border-radius: 8px;
    }

    .date-text {
        font-size: 14px;
        color: #666;
        margin-bottom: 4px;
    }

    .time-text {
        font-size: 32px;
        font-weight: bold;
        color: #333;
        letter-spacing: 2px;
    }

    .status-badge {
        display: inline-block;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: bold;
        margin-top: 8px;
    }

    .status-working {
        background: #e6f9ed;
        color: #06c755;
    }

    .status-break {
        background: #fff4e5;
        color: #ff9800;
    }

    .status-off {
        background: #eee;
        color: #666;
    }

    .btn-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    button {
        padding: 15px;
        font-size: 16px;
        font-weight: bold;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        color: white;
        transition: opacity 0.2s;
    }

    .btn-in {
        background-color: #06c755;
    }

    .btn-out {
        background-color: #ff5b5b;
    }

    .btn-break-start {
        background-color: #ff9800;
    }

    .btn-break-end {
        background-color: #2196f3;
    }

    .btn-register {
        background-color: #06c755;
        width: 100%;
        margin-top: 10px;
    }

    button:disabled {
        background-color: #ccc;
        color: #888;
        cursor: not-allowed;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        display: block;
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 6px;
        color: #333;
    }

    .form-group input {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .error-box {
        background: #ffeaea;
        color: #d93025;
        padding: 10px;
        border-radius: 8px;
        font-size: 13px;
        margin-bottom: 15px;
        text-align: center;
        font-weight: bold;
    }

    .info-text {
        font-size: 13px;
        color: #666;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        font-size: 14px;
    }

    th,
    td {
        padding: 10px 5px;
        border-bottom: 1px solid #eee;
        text-align: left;
    }

    /* =========================
   管理者画面用デザイン
========================= */

/* 管理者メニュー */
.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-menu-item {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
}

.admin-menu-item h2 {
    font-size: 16px;
    margin: 0 0 10px;
}

.admin-menu-item a {
    display: block;
    background: #06c755;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
}

/* 管理者画面の入力欄 */
.admin-form input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}

/* 管理者画面のメッセージ */
.message-box {
    background: #e6f9ed;
    color: #16803c;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
}

/* テーブルの横幅 */
.table-wrapper {
    overflow-x: auto;
}