@charset "utf-8";

body {
    background-color: #f8f9fa;
    font-family: system-ui, sans-serif;
    padding-top: 60px;
  }
.menu-container {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
  }
.btn-custom {
    width: 100%;
    margin-bottom: 12px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
.btn-custom i {
    margin-right: 8px;
    transition: transform 0.2s ease;
  }
.btn-custom:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
.btn-custom:hover i {
    transform: rotate(-10deg) scale(1.1);
  }

table {
    border-collapse: collapse;
    margin-top: 10px;
}
th, td {
    width: 40px;
    height: 40px;
    text-align: center;
    border: 1px solid #ccc;
    cursor: pointer;
}
th {
    background-color: #f2f2f2;
    cursor: default;
}
 
.weeknum {
    background-color: #cce5ff;
    font-weight: bold;
    color: #555;
    cursor: default;
}
.status0 { background-color: #97e6ac; } /* grön */
.status1 { background-color: #f8d7da; } /* röd */
.statusMinus1 { background-color: #ffffff; } /* vit */

#info {
    margin-top: 10px;
    font-weight: bold;
}

/* Veckovy */
.week-view-table {
    table-layout: fixed;
    width: 100%;
}

.week-view-table th,
.week-view-table td {
    width: auto;
}

.week-day-cell {
    padding: 4px !important;
    vertical-align: top;
    cursor: default;
}

.week-day-cell:nth-child(odd) {
    background-color: #f9f9f9;
}

.week-day-cell:nth-child(even) {
    background-color: #ffffff;
}

.week-day-timeline {
    position: relative;
    min-height: 48px;
}

.week-day-empty {
    color: #aaa;
    text-align: center;
    padding-top: 4px;
}

.week-event {
    position: absolute;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #aaa;
    border-radius: 6px;
    padding: 4px;
    text-align: center;
}

.week-event-normal {
    background-color: #97e6ac;
}

.week-event-overlap {
    background-color: #f8d7da;
    cursor: pointer;
}

.week-event-time {
    font-weight: bold;
    font-size: 0.9em;
}

.week-event-comment {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    font-size: 0.9em;
    line-height: 18px;
}

.week-event-compact {
    padding-top: 2px;
    padding-bottom: 2px;
}

.week-event-compact-line {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.9em;
    line-height: 18px;
}
