/* General Page */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f0f6ff;
  color: #222;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  padding: 20px;
  background: #ffffff;
  min-height: 100vh;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  color: #004080;
  margin-bottom: 20px;
}

/* Buttons */
.btn-group {
  text-align: center;
  margin-bottom: 20px;
}

.btn-group button {
  background: #0073e6;
  border: none;
  color: white;
  padding: 10px 15px;
  margin: 5px;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.2s;
}

.btn-group button:hover {
  background: #005bb5;
}

/* Table */
#plannerTable {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

#plannerTable th, #plannerTable td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

#plannerTable th {
  background: #004080;
  color: white;
  font-size: 14px;
}

#plannerTable td textarea {
  width: 100%;
  height: 70px;
  border: none;
  resize: vertical;
  padding: 5px;
  font-size: 13px;
}

/* Responsive (Mobile View) */
@media screen and (max-width: 768px) {
  #plannerTable, #plannerTable thead, #plannerTable tbody, #plannerTable th, #plannerTable td, #plannerTable tr {
    display: block;
    width: 100%;
  }

  #plannerTable thead {
    display: none;
  }

  #plannerTable tr {
    margin-bottom: 15px;
    border: 1px solid #ccc;
    padding: 10px;
    background: #f9f9f9;
  }

  #plannerTable td {
    display: flex;
    justify-content: space-between;
    padding: 8px;
  }

  #plannerTable td::before {
    content: attr(data-label);
    font-weight: bold;
    flex: 1;
    padding-right: 10px;
    color: #004080;
  }

  #plannerTable td textarea {
    flex: 2;
  }
}

/* Print Styles - only planner prints */
@media print {
  body * {
    visibility: hidden;
  }
  #plannerApp, #plannerApp * {
    visibility: visible;
  }
  #plannerApp {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
  .btn-group {
    display: none;
  }
}
