/* ✅ /css/workreport.css */

body {
  font-family: 'Malgun Gothic', sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 30px;
  color: #333;
}

h2 {
  text-align: center;
  color: #1976d2;
  margin-bottom: 20px;
}

#calendar {
  max-width: 500px;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

#calendar .nav {
  grid-column: span 7;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

#calendar button {
  padding: 8px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  cursor: pointer;
  border-radius: 4px;
}

#calendar button:hover {
  background-color: #e3f2fd;
}

.selected-date {
  background-color: #4caf50 !important;
  color: white;
  font-weight: bold;
}

table {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

th, td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

th {
  background-color: #f1f3f4;
  color: #333;
}

select,
input[type="text"] {
  width: 100%;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.remove-btn {
  background-color: #d9534f;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.remove-btn:hover {
  background-color: #c9302c;
}

.submit-btn {
  display: block;
  margin: 30px auto;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: bold;
  background-color: #1976d2;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #1565c0;
}