/* ============================================
   BASISLAYOUT & FORMULARE
   ============================================ */

.skm-event-form,
.skm-calendar {
  max-width: 800px;
  margin: 0 auto 30px;
}

.skm-event-form label {
  display: block;
  margin-top: 10px;
  font-weight: 600;
}

.skm-event-form input,
.skm-event-form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
}

.skm-event-form button {
  margin-top: 15px;
  padding: 10px 18px;
  background: #ff9900;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
}

/* ============================================
   EVENT-BOXEN
   ============================================ */

.event-box {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 6px;
}

/* ============================================
   FILTER & YEAR-LIST
   ============================================ */

.skm-filter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.skm-filter-form select,
.skm-filter-form button {
  padding: 8px;
}

.skm-year-list {
  list-style: none;
  padding: 0;
}

.skm-year-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

.skm-badge {
  background: #ff9900;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.skm-badge-empty {
  background: #ccc;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
}

/* ============================================
   MODAL
   ============================================ */

.skm-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.skm-modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 20px;
  max-width: 700px;
  border-radius: 8px;
  position: relative;
}

.skm-modal-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}

.skm-map iframe {
  width: 100%;
  height: 250px;
  border: 0;
  margin-top: 10px;
}

/* ============================================
   ZWEI MONATE NEBENEINANDER
   ============================================ */

.skm-two-months {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.skm-month-box {
    width: 360px;
}

.skm-month-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* ============================================
   TABELLENKALENDER – BASIS (Screenshot-Bauart)
   ============================================ */

.skm-calendar-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #ccc;
}

.skm-calendar-table th {
    background: #f2f2f2;
    padding: 8px;
    font-weight: bold;
    border: 1px solid #ccc;
    text-align: center;
}

.skm-calendar-table td {
    height: 48px;
    padding: 6px;
    border: 1px solid #ccc;
    text-align: center;
    vertical-align: top;
    font-size: 15px;
    position: relative;
}

/* ============================================
   EVENT-TAGE – BASIS
   ============================================ */

.event-day {
    background: #d9e8ff;
    border-color: #7aa7e9;
    font-weight: bold;
}

.event-day::after {
    content: "";
    width: 6px;
    height: 6px;
    background: #004a99;
    border-radius: 50%;
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
}

/* ============================================
   EVENT-LISTE
   ============================================ */

.skm-event-list {
    margin-top: 12px;
}

.skm-event-item {
    background: #eef4ff;
    border-left: 4px solid #004a99;
    padding: 8px;
    margin-bottom: 6px;
    border-radius: 4px;
}

/* ============================================
   STYLE 1: COMIC-OPTIK
   ============================================ */

.skm-style-comic .skm-month-box {
    background: #fff;
    border: 3px solid #000;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 4px 4px 0 #000;
}

.skm-style-comic .skm-month-title {
    font-size: 24px;
    font-weight: 900;
    color: #ff6600;
    text-shadow: 2px 2px 0 #ffe0cc;
}

.skm-style-comic th {
    background: #ffe680;
    border: 2px solid #000;
}

.skm-style-comic td {
    border: 2px solid #000;
    background: #fffdf5;
    font-weight: 700;
}

.skm-style-comic .event-day {
    background: #ffefd6;
    border-color: #ff9900;
}

.skm-style-comic .event-day::after {
    content: "🚗";
    font-size: 18px;
    bottom: 4px;
    right: 4px;
    left: auto;
    transform: none;
}

.skm-style-comic .skm-event-item {
    background: #fff3d1;
    border-left: 6px solid #ff9900;
    font-weight: 700;
}

/* ============================================
   STYLE 2: HOLZ-OPTIK
   ============================================ */

.skm-style-holz .skm-month-box {
    background: #f4f0e8;
    border: 3px solid #5a4a3a;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.skm-style-holz .skm-month-title {
    color: #3a2f25;
    font-weight: 800;
}

.skm-style-holz th {
    background: #e8dfd4;
    border: 2px solid #5a4a3a;
    color: #3a2f25;
}

.skm-style-holz td {
    border: 2px solid #5a4a3a;
    background: #fffdf9;
}

.skm-style-holz .event-day {
    background: #ffe3b8;
    border-color: #b36b00;
    color: #3a2f25;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.25);
}

.skm-style-holz .event-day::after {
    background: #b36b00;
    width: 10px;
    height: 10px;
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 600px) {
    .skm-month-box {
        width: 100%;
    }

    .skm-calendar-table td {
        height: 40px;
        font-size: 13px;
    }
}
/* ============================================
   STYLE SWITCHER
   ============================================ */

.skm-style-switcher {
    text-align: center;
    margin-bottom: 20px;
}

.skm-style-switcher button {
    padding: 8px 16px;
    margin: 0 6px;
    border: 2px solid #333;
    background: #eee;
    cursor: pointer;
    font-weight: 700;
    border-radius: 6px;
}

.skm-style-switcher button:hover {
    background: #ddd;
}

/* ============================================
   CLASSIC STYLE (Screenshot-Bauart)
   ============================================ */

.skm-style-classic .skm-month-box {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
}

.skm-style-classic .skm-month-title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 10px;
}

.skm-style-classic .skm-calendar-table th {
    background: #f2f2f2;
}

.skm-style-classic .event-day {
    background: #d9e8ff;
    border-color: #7aa7e9;
}
/* ============================================
   FORMULAR – GROSSE EINGABEFELDER
   ============================================ */

.skm-event-form input[type="text"],
.skm-event-form input[type="date"],
.skm-event-form input[type="email"],
.skm-event-form input[type="url"],
.skm-event-form input[type="file"],
.skm-event-form textarea {
    width: 100%;
    padding: 16px 18px;
    font-size: 20px;
    border: 2px solid #bbb;
    border-radius: 10px;
    box-sizing: border-box;
    margin-top: 8px;
}

.skm-event-form textarea {
    min-height: 160px;
    resize: vertical;
}

.skm-event-form label {
    font-size: 20px;
    font-weight: 700;
}

.skm-event-form button {
    padding: 16px 24px;
    font-size: 20px;
    border-radius: 10px;
}
/* Lightbox */
.skm-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.skm-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
}

.skm-lightbox.active {
    display: flex;
}

.skm-event-list-thumb {
    cursor: pointer;
    transition: 0.2s;
}

.skm-event-list-thumb:hover {
    opacity: 0.8;
}
/* ============================================
   LISTENANSICHT – BOXEN
   ============================================ */

.skm-event-list-view {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skm-event-list-item {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 8px;
}

/* ============================================
   BUTTONS (Mehr Infos)
   ============================================ */

.skm-event-btn {
    display: inline-block;
    padding: 10px 16px;
    background: #ff9900;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 8px;
}

.skm-event-btn:hover {
    background: #cc7a00;
}

/* ============================================
   COMIC-OPTIK FÜR LISTE
   ============================================ */

.skm-style-comic .skm-event-list-item {
    border: 3px solid #000;
    box-shadow: 4px 4px 0 #000;
    background: #fffdf5;
}

/* ============================================
   HOLZ-OPTIK FÜR LISTE
   ============================================ */

.skm-style-holz .skm-event-list-item {
    background: #f4f0e8;
    border: 2px solid #5a4a3a;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.25);
}