/* Cleaningods Manager - public */
.com-login-box,
.com-public-schedule {
    max-width: 1100px;
    margin: 24px auto;
    padding: 18px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .08);
}

.com-public-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 18px;
}

.com-public-head h2 {
    margin: 0 0 14px;
}

.com-day-title {
    margin: 24px 0 12px;
    padding: 12px 14px;
    background: #0f3f8f;
    color: #ffffff;
    border-radius: 12px;
}

.com-schedule-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 14px;
}

.com-schedule-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    background: #f9fafb;
}

.com-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.com-client {
    font-size: 18px;
    font-weight: 700;
}

.com-location {
    font-weight: 600;
    margin-top: 3px;
}

.com-address {
    margin-top: 8px;
}

.com-address a {
    color: #0f3f8f;
    text-decoration: underline;
}

.com-money,
.com-notes {
    margin-top: 10px;
    padding: 8px;
    background: #ffffff;
    border-radius: 10px;
}

.com-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.com-actions button {
    border: 0;
    background: #0f3f8f;
    color: #ffffff;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
    cursor: pointer;
}

.com-actions button[value="done"] {
    background: #15803d;
}

.com-actions button[value="problem"],
.com-actions button[value="needs_check"] {
    background: #b45309;
}

.com-status {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1e3a8a;
    font-weight: 700;
    font-size: 12px;
}

.com-status-done { background: #dcfce7; color: #166534; }
.com-status-cancelled { background: #fee2e2; color: #991b1b; }
.com-status-overdue { background: #ffedd5; color: #9a3412; }
.com-status-problem, .com-status-needs_check { background: #fef9c3; color: #854d0e; }
.com-status-in_progress { background: #dbeafe; color: #1d4ed8; }

.com-empty {
    padding: 18px;
    background: #f3f4f6;
    border-radius: 12px;
}

@media (max-width: 760px) {
    .com-public-schedule {
        margin: 12px;
        padding: 12px;
    }

    .com-public-head {
        display: block;
    }

    .com-schedule-cards {
        grid-template-columns: 1fr;
    }

    .com-actions button {
        width: 100%;
    }
}
