.maca-attendance-page {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f4f7f5;
    color: #1a1a1a;
    min-height: 100vh;
}

.maca-attendance-app {
    max-width: 420px;
    margin: 0 auto;
    padding: 24px 20px 40px;
}

.maca-attendance-header h1 {
    margin: 0 0 24px;
    font-size: 1.5rem;
    text-align: center;
    color: #1a4d3e;
}

.maca-attendance-panel {
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 8px 24px rgba(26, 77, 62, 0.08);
}

.maca-attendance-panel label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.maca-attendance-pin-input {
    width: 100%;
    box-sizing: border-box;
    font-size: 1.5rem;
    letter-spacing: 0.3em;
    text-align: center;
    padding: 14px 12px;
    border: 2px solid #d7e5df;
    border-radius: 12px;
    margin-bottom: 8px;
}

.maca-attendance-pin-info {
    margin: 0 0 16px;
    font-size: 0.875rem;
    color: #5c6b64;
    text-align: center;
}

.maca-attendance-employee-name {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
}

.maca-attendance-status {
    margin: 0 0 20px;
    text-align: center;
    color: #3d4f47;
}

.maca-attendance-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 12px;
}

.maca-attendance-btn--primary {
    background: #1a4d3e;
    color: #fff;
}

.maca-attendance-btn--secondary {
    background: #c45c26;
    color: #fff;
}

.maca-attendance-btn--ghost {
    background: transparent;
    color: #1a4d3e;
    border: 1px solid #c9d9d2;
}

.maca-attendance-error,
.maca-attendance-message {
    margin: 12px 0 0;
    text-align: center;
    font-size: 0.9375rem;
}

.maca-attendance-error {
    color: #b42318;
}

.maca-attendance-message {
    color: #1a4d3e;
}

.maca-attendance-app--wide {
    max-width: 960px;
}

.maca-attendance-subtitle {
    margin: -12px 0 20px;
    text-align: center;
    color: #5c6b64;
    font-size: 0.9375rem;
}

.maca-attendance-control-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.maca-attendance-control-toolbar .maca-attendance-btn {
    width: auto;
    margin-bottom: 0;
    padding: 10px 14px;
    font-size: 0.9375rem;
}

.maca-attendance-control-toolbar input[type="date"] {
    padding: 8px 10px;
    border: 1px solid #c9d9d2;
    border-radius: 8px;
}

.maca-attendance-report-title {
    margin: 0 0 12px;
    font-size: 1.125rem;
    text-align: center;
}

.maca-attendance-control-table {
    width: 100%;
    border-collapse: collapse;
}

.maca-attendance-control-table th,
.maca-attendance-control-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e4ece8;
    text-align: left;
}

.maca-attendance-control-table th {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #3d4f47;
}

@media print {
    .no-print {
        display: none !important;
    }

    .maca-attendance-page {
        background: #fff;
    }

    .maca-attendance-panel {
        box-shadow: none;
        padding: 0;
    }

    .maca-attendance-header--control h1 {
        font-size: 1.25rem;
    }

    .maca-attendance-subtitle {
        display: none;
    }
}
