body {
    font-family: 'Poppins', sans-serif;
    background: #f9f8f4;
    margin: 0;
    padding: 0;
    color: #333;
}

.top-header {
    background: #E53935;
    text-align: center;
    padding: 20px 0;
}

.logo {
    width: 275px;
    height: auto;
}

.login-area {
    background: #E53935;
    min-height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    color: #E53935;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 16px;
    color: #777;
    margin-bottom: 30px;
}

.form-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

input {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 16px;
}

button {
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

a {
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-red {
    background: #388E3C;
    color: white;
}

.btn-orange {
    background: #E53935;
    color: white;
}

.btn-notify {
    background: #388E3C;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
    transition: 0.3s;
}

.btn-notify:hover {
    opacity: 0.9;
}

button:hover {
    opacity: 0.9;
}

.small-text {
    font-size: 14px;
    color: #777;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #aaa;
}

table {
    width: 100%;
    margin-top: 20px;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.05);
}

th, td {
    padding: 14px;
    text-align: center;
    font-size: 16px;
    border-bottom: 1px solid #eee;
}

thead {
    background-color: #f9f8f4;
}

th {
    font-weight: bold;
    color: #333;
}

tr:last-child td {
    border-bottom: none;
}

.month-select {
    margin: 20px 0;
}

.month-select label {
    font-weight: bold;
    margin-right: 10px;
}

.month-select select {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.clock-status {
    font-size: 16px;
    margin: 10px 0 20px;
}

.clock-status.in {
    color: #388E3C; /* groen */
}

.clock-status.out {
    color: #D32F2F; /* rood */
}

.popup {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFF176;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    animation: slideDown 0.5s ease-out, fadeout 4s forwards 2.5s;
}

/* Verschillende kleuren */
.popup-green {
    background: #81C784;
    color: white;
}

.popup-orange {
    background: #FFB74D;
    color: white;
}

/* Animaties */
@keyframes slideDown {
    from {
        top: -50px;
        opacity: 0;
    }
    to {
        top: 20px;
        opacity: 1;
    }
}

@keyframes fadeout {
    0% { opacity: 1; }
    75% { opacity: 1; }
    100% { opacity: 0; display: none; }
}

.input-small {
    width: 80px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    text-align: center;
}

.btn-save {
    margin-top: 20px;
    padding: 12px 24px;
    background: #388E3C;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.btn-save:hover {
    opacity: 0.9;
}

/* Rooster */
.popup {
    padding: 14px;
    background: #81C784;
    color: white;
    font-weight: bold;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
    animation: fadeout 0.5s ease-in-out 2.5s forwards;
}

@keyframes fadeout {
    to {
        opacity: 0;
        transform: translateY(-10px);
        display: none;
    }
}

.logout-link {
    display: inline-block;
    margin-top: 25px;
    font-size: 16px;
    text-decoration: none;
    color: #E53935;
    font-weight: bold;
    transition: 0.3s;
}

.logout-link:hover {
    text-decoration: underline;
    color: #b71c1c;
}

.btn-rooster {
    display: inline-block;
    background-color: #1976D2;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.btn-rooster:hover {
    background-color: #0D47A1;
}

.past-activity {
    background-color: #f4f4f4;
    color: #999;
    font-style: italic;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1em 0;
  }
  
  ul li {
    margin: 0.5em 0;
    padding: 0.5em;
    background: #f9f9f9;
    border-left: 5px solid #E53935;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  ul li form {
    display: inline;
    margin-left: 5px;
  }
  
  ul li input[type="datetime-local"] {
    margin-left: 5px;
    margin-right: 5px;
  }
  
  ul li button {
    padding: 4px 8px;
    font-size: 0.9em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 5px;
  }
  
  ul li button[name="mark_done"] {
    background-color: #4CAF50;
    color: white;
  }
  
  ul li button[name="plan_task"] {
    background-color: #2196F3;
    color: white;
  }
  
  ul li button[name="delete_task"] {
    background-color: #f44336;
    color: white;
  }
  
  ul li.done {
    color: #999;
    text-decoration: line-through;
    background-color: #eee;
    border-left: 5px solid #aaa;
  }
  
  .task-row {
    padding: 8px;
    background: #f9f9f9;
    margin-bottom: 5px;
    border-radius: 5px;
    border-left: 4px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.task-row.done {
    text-decoration: line-through;
    color: gray;
}
.checkbox-btn {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    margin-right: 8px;
}
.task-select {
    display: block;
    margin: 4px 0 0 15px;
}
.sub-tasks {
    margin: 5px 0 0 0;
    padding-left: 20px;
}
.sub-tasks li {
    list-style: none;
    font-size: 0.9em;
    color: #444;
}


