/*Karina Wiegmann*/
/*02.06.2025*/
/*Software Developer Kurs 4377 Erwin Reichel*/
/*Datenschutz*/

/* Global */

* {
  padding: 0;
  margin: 0;
}

body {
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
  font-size: 16px;
}

.site-size {
  width: 900px;
  margin: auto;
}

/* Color */

.color-primary {color: rgb(238, 240, 243);}
.color-secondary{color: rgb(92, 95, 98);}
.bg-primary {background-color: rgb(161, 161, 166);}
.bg-secondary {background-color: rgb(203, 189, 239);}

/* Header */

.header {
  height: 60px;
  padding: 20px;
}

/* body */

.body{
  height: 120px;
}

/*table*/
.table, th, td{
  padding: 10px;
  border: 1px solid black; 
    border-collapse: collapse;
}


/*input*/

.input-primary{
  width: 130px; /* Breite in Pixel */
  height: 30px; /* Höhe in Pixel */
}

.input-secondary{
  width: 80px; /* Breite in Pixel */
  height: 20px; /* Höhe in Pixel */
 }

/*button*/

.button{
  width: 100px; /* Breite in Pixel */
  height: 40px; /* Höhe in Pixel */
}

/* Calendar */

.calendar {
  width: 350px;
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.calendar-header {
  text-align: center;
  font-weight: bold;
  margin-bottom: 1rem;
}

.calendar-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.calendar-days, .calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-days div {
  font-weight: bold;
  text-align: center;
}

.calendar-dates div {
  text-align: center;
  padding: 10px;
  background: #eaeaea;
  border-radius: 4px;
}

.today {
  background: #007BFF;
  color: white;
  font-weight: bold;
}

.abwesenheit {
  border: 1px solid #6300cc;
  position: relative;
}

/* Beispiel: stelle sicher, dass du pointer-events hast */
.calendar-dates div {
  position: relative;   /* zwecks custom Tooltips, falls du später welche baust */
  overflow: visible;    /* kein overflow:hidden */
}

/* Mauszeiger bei Abwesenheits-Tagen */
.calendar-dates div.abwesenheit {
  cursor: pointer;
}

/* Footer */

.footer {
  height: 80px;
  padding: 20px;
}