body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: oklch(98% 0.02 240);
    color: oklch(25% 0.02 240);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
}

.app-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.dashboard {
    background-color: oklch(100% 0 0);
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px oklch(0% 0 0 / 8%);
    border: 1px solid oklch(0% 0 0 / 5%);
}

.dashboard h1 {
    margin-top: 0;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: oklch(40% 0.25 260);
}

.clock {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin: 20px 0 30px;
    color: oklch(45% 0.1 240);
    background-color: oklch(96% 0.02 240);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid oklch(0% 0 0 / 7%);
}

.button-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.main-button {
    padding: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: oklch(98% 0.02 240 / 90%);
    background-color: oklch(65% 0.2 150);
    box-shadow: 0 4px 15px oklch(65% 0.2 150 / 30%);
}

.main-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px oklch(65% 0.2 150 / 40%);
}

.main-button.not-ok {
    background-color: oklch(65% 0.25 20);
    box-shadow: 0 4px 15px oklch(65% 0.25 20 / 30%);
}

.main-button.not-ok:hover {
    box-shadow: 0 8px 25px oklch(65% 0.25 20 / 40%);
}

.main-button:disabled {
    background-color: oklch(85% 0.05 240);
    color: oklch(55% 0.05 240);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}


.self-care-container {
    margin-top: 40px;
}

.self-care-container h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: oklch(40% 0.15 250);
    margin-bottom: 15px;
}

.self-care-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.self-care-list li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid oklch(94% 0.01 240);
}

.self-care-list li:last-child {
    border-bottom: none;
}

.self-care-list input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    accent-color: oklch(65% 0.2 150);
}

.self-care-list label {
    flex-grow: 1;
}

.delete-btn {
    background: none;
    border: none;
    color: oklch(60% 0.2 20);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.delete-btn:hover {
    opacity: 1;
}

.add-task-container {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

#new-task-input {
    flex-grow: 1;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid oklch(0% 0 0 / 15%);
    font-size: 1rem;
}

#add-task-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    background-color: oklch(60% 0.2 260);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

#add-task-btn:hover {
    background-color: oklch(55% 0.22 260);
}


.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.status-card {
    background-color: oklch(96% 0.02 240);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid oklch(0% 0 0 / 7%);
}

.status-card h2 {
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: oklch(40% 0.15 250);
}

.status-text {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 10px 0 0;
    color: oklch(50% 0.1 240);
}

.status-text.confirmed {
    color: oklch(65% 0.2 150);
}

.status-text.completed {
    color: oklch(60% 0.2 260);
}

.status-text.not-ok {
    color: oklch(65% 0.25 20);
}

#escalation-status .status-text.alert {
    color: oklch(65% 0.25 20);
    animation: pulse 1.5s infinite;
}

.call-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;
    background-color: oklch(65% 0.25 20);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.call-button:hover {
    background-color: oklch(60% 0.27 20);
}

.hidden {
    display: none;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

@media (max-width: 900px) {
    .app-container {
        grid-template-columns: 1fr;
    }
}
