.container {
  margin-left: 24px;
  margin-right: 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
}

.header {
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0F488A;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.header .logo-title {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.header .logo-title .logo {
  width: 56px;
  height: 56px;
}
.header .logo-title .title {
  margin-left: 4px;
  font-size: 32px;
  color: #0F488A;
  font-family: "Kodchasan", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.header .logo-title .subtitle {
  font-size: 16px;
}
.header .adpc-container {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  -moz-column-gap: 4px;
       column-gap: 4px;
}
.header .adpc-container .adpc-title {
  font-size: 14px;
}

.main {
  padding: 16px 0;
  overflow-y: auto;
}

.search-container {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px 24px;
  margin-bottom: 8px;
}

.search-title {
  font-size: 24px;
  color: #0F488A;
  margin-bottom: 16px;
  font-weight: 600;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
  font-weight: 500;
}

.form-select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  background-color: white;
  cursor: pointer;
}
.form-select:focus {
  outline: none;
  border-color: #0F488A;
  box-shadow: 0 0 0 2px rgba(15, 72, 138, 0.1);
}

.search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #0F488A;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.search-button:hover {
  background-color: #0a305c;
}
.search-button img {
  width: 16px;
  height: 16px;
}

.results-container {
  min-height: 200px;
}

.info-notice {
  background-color: rgb(140, 187.5, 242.5);
  border: 1px solid rgb(94, 160.5, 237.5);
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.info-notice p {
  margin: 0;
  font-size: 14px;
  color: #0a305c;
  text-align: center;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #666;
}

.loading-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #0F488A;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.error-message {
  text-align: center;
  padding: 40px;
  color: #d32f2f;
  background-color: #ffebee;
  border: 1px solid #ffcdd2;
  border-radius: 4px;
}

.results-header {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.results-title {
  font-size: 20px;
  color: #0F488A;
  margin-bottom: 4px;
}

.results-period {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.results-count {
  font-size: 14px;
  color: #666;
}

.events-list {
  display: grid;
  gap: 16px;
}

.event-card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  transition: box-shadow 0.2s;
}
.event-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.event-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

.event-rank {
  display: flex;
  gap: 4px;
}

.rank-badge {
  background-color: #0F488A;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.event-details {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto;
  gap: 8px 8px;
  justify-content: start;
  font-size: 14px;
}

.event-label {
  font-weight: 500;
  color: #333;
}

.event-date {
  color: #0F488A;
}

.event-category {
  border-radius: 4px;
}

.hidden {
  display: none;
}

.no-results {
  text-align: center;
  padding: 40px;
  color: #666;
}
.no-results h3 {
  margin-bottom: 8px;
  color: #333;
}

.footer {
  margin-top: 16px;
  padding-top: 16px;
  padding-bottom: 24px;
  border-top: 2px solid #0F488A;
}
.footer .footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: left;
  flex-wrap: wrap;
  row-gap: 8px;
}
.footer .footer-nav .footer-nav-item {
  padding-right: 8px;
  padding-left: 8px;
  color: #4b4b4b;
  border-right: #0F488A 1px solid;
}
.footer .footer-nav .footer-nav-item:last-child {
  border-right: none;
}
.footer .footer-nav .footer-nav-item img {
  width: 14px;
  height: 14px;
}
.footer .footer-nav .img-center {
  height: 100%;
  display: flex;
  align-items: center;
}
.footer .footer-notice {
  margin-top: 8px;
  margin-left: 8px;
  font-size: 12px;
}

@media screen and (max-width: 768px) {
  .container {
    margin-left: 8px;
    margin-right: 8px;
  }
  .header {
    padding-top: 8px;
    padding-bottom: 0;
    border-bottom-width: 1px;
  }
  .header .logo-title .logo {
    width: 32px;
    height: 32px;
  }
  .header .logo-title .title {
    font-size: 20px;
  }
  .header .adpc-container {
    display: none;
  }
  .search-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .search-container {
    padding: 16px;
  }
  .event-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .event-details {
    grid-template-columns: auto auto auto auto;
    gap: 4px 8px;
  }
  .footer {
    margin-top: 12px;
    font-size: 14px;
  }
  .footer .footer-notice {
    margin-top: 8px;
    margin-left: 8px;
    font-size: 10px;
  }
}/*# sourceMappingURL=events.css.map */