@charset "utf-8";
.notice-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
  transition: all 0.3s ease;
}

.notice-link:hover {
  color: var(--point-color);
}

.reservation-search-section {
  padding: 2rem 1rem;
}

.reservation-search-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.search-form {
  background-color: #ffffff;
  padding: 2rem 4rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.input-group {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.search-option-group {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.radio-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-wrapper input[type='radio'] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #333;
  border-radius: 50%;
  margin: 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.radio-wrapper input[type='radio']:checked {
  background-color: #ffffff;
  border: 2px solid var(--primary-color);
}

.radio-wrapper input[type='radio']:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.radio-wrapper label {
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
  user-select: none;
  line-height: 1.6;
}

.search-notice {
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.notice-text {
  font-size: 1.3rem;
  color: #856404;
  line-height: 1.6;
  margin: 0;
}

.search-input-group {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.search-input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1.5rem;
  border-radius: 9999px;
  text-align: left;
  border: 1px solid #ddd;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
  color: #000000;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  outline: none;
}

.search-input:focus {
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
  border-color: var(--primary-color);
}

.search-button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0.8rem 2.4rem;
  background-color: var(--primary-color);
  border-radius: 9999px;
  color: #ffffff;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.6rem;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* .search-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
} */

.search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background-color: var(--point-color);
  border-color: var(--point-color);
}

.search-button:hover::before {
  width: 300px;
  height: 300px;
}

.search-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.search-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

.search-result-section {
  padding: 2rem 1rem;
}

.search-result-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.result-header {
  margin-bottom: 1.5rem;
}

.result-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  padding: 0.5rem 1rem;
  margin: 0;
}

.result-count {
  color: var(--point-color, #f1c05d);
  font-weight: 600;
}

.result-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  flex-direction: column;
  gap: 1rem;
}

.result-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #333;
  transition: box-shadow 0.3s;
}

.result-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.result-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ececec;
}

.result-item-title {
  font-size: 2.4rem;
  font-weight: bold;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

.result-item-status {
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1.6rem;
  font-weight: 500;
  white-space: nowrap;
}

.status-요청 {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffc107;
}

.status-승인 {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.status-완료 {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-취소 {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.result-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.result-item-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #ececec;
}

.result-item-row:last-child {
  border-bottom: none;
}

.result-item-label {
  min-width: 80px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #666;
  line-height: 1.6;
}

.result-item-value {
  flex: 1;
  font-size: 1.5rem;
  color: #333;
  line-height: 1.6;
  text-align: right;
}

.result-item-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.result-item-date {
  font-size: 1.3rem;
  color: #999;
}

.result-item-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.6rem 1.6rem;
  background-color: #dc3545;
  border-radius: 6px;
  color: #ffffff;
  border: 2px solid #dc3545;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.result-item-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  background-color: #c82333;
  border-color: #c82333;
}

.result-item-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.result-item-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3);
}

@media (max-width: 768px) {
  .reservation-search-section {
    padding: 1.5rem 1rem;
  }

  .search-form {
    padding: 1.5rem;
  }

  .input-group {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1rem;
  }

  .search-option-group {
    gap: 0.75rem;
    width: 100%;
  }

  .radio-wrapper label {
    font-size: 1.4rem;
  }

  .search-notice {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
  }

  .notice-text {
    font-size: 1.2rem;
  }

  .search-input-group {
    flex-direction: row;
    gap: 0.5rem;
    width: 100%;
  }

  .search-input {
    flex: 1;
    padding: 0.75rem 1.2rem;
    font-size: 1.3rem;
  }

  .search-button {
    flex-shrink: 0;
    padding: 0.75rem 1.6rem;
    font-size: 1.4rem;
  }

  .search-result-section {
    padding: 1.5rem 1rem;
  }

  .result-header {
    margin-bottom: 1rem;
  }

  .result-title {
    font-size: 1.6rem;
  }

  .result-list {
    gap: 0.75rem;
  }

  .result-item {
    padding: 1.2rem;
  }

  .result-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .result-item-title {
    font-size: 1.8rem;
  }

  .result-item-row {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }

  .result-item-label {
    min-width: auto;
    font-size: 1.4rem;
  }

  .result-item-value {
    font-size: 1.4rem;
    text-align: left;
  }

  .result-item-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .result-item-button {
    width: 100%;
    padding: 0.75rem 1.2rem;
    font-size: 1.3rem;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex !important;
  opacity: 1;
}

.modal-content {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-content h2 {
  font-size: 2.4rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.modal-content p {
  font-size: 1.6rem;
  color: #666;
  margin: 0 0 2.5rem 0;
  text-align: center;
  line-height: 1.6;
}

.modal-content button {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid;
  min-width: 120px;
}

.modal-content button:first-of-type {
  background-color: #dc3545;
  color: #ffffff;
  border-color: #dc3545;
  margin-right: 1rem;
}

.modal-content button:first-of-type:hover {
  background-color: #c82333;
  border-color: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.modal-content button:last-of-type {
  background-color: #6c757d;
  color: #ffffff;
  border-color: #6c757d;
}

.modal-content button:last-of-type:hover {
  background-color: #5a6268;
  border-color: #5a6268;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.modal-content button:active {
  transform: translateY(0);
}

.modal-content button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

.modal-content-header {
  margin-bottom: 2rem;
}

.modal-content-header h2 {
  margin-bottom: 1rem;
}

.modal-content-body {
  margin-bottom: 2rem;
}

.verification-code-notice {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.verification-code-notice span {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.5;
}

.verification-code-notice span:first-child {
  font-weight: 600;
  color: #333;
}

.verification-code-group {
  display: flex;
  flex-direction: row;
  gap: 0.8rem;
  align-items: stretch;
}

.verification-code-group input[type='text'] {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  min-width: 0;
}

.verification-code-group input[type='text']:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.verification-code-group button {
  padding: 1rem 1.6rem;
  background-color: #6c757d;
  color: #ffffff;
  border: 2px solid #6c757d;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.verification-code-group button:hover {
  background-color: #5a6268;
  border-color: #5a6268;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.verification-code-group button:active {
  transform: translateY(0);
}

.verification-code-group button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.3);
}

.modal-content-footer {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.modal-content-footer-buttons-before,
.modal-content-footer-buttons-after {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color, #4a90e2);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.spinner-text {
  font-size: 1.4rem;
  color: #666;
}
@media (max-width: 768px) {
  .modal-content {
    padding: 2rem 1.5rem;
    width: 95%;
  }

  .modal-content h2 {
    font-size: 2rem;
  }

  .modal-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }

  .modal-content button {
    width: 100%;
    margin: 0.5rem 0;
    font-size: 1.4rem;
  }

  .modal-content button:first-of-type {
    margin-right: 0;
  }

  .modal-content-footer-buttons-before,
  .modal-content-footer-buttons-after {
    flex-direction: column;
    width: 100%;
  }

  .verification-code-notice {
    padding: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .verification-code-notice span {
    font-size: 1.3rem;
  }

  .verification-code-group {
    flex-direction: column;
    gap: 0.8rem;
  }

  .verification-code-group input[type='text'] {
    width: 100%;
    font-size: 1.4rem;
    padding: 0.9rem 1.2rem;
  }

  .verification-code-group button {
    width: 100%;
    font-size: 1.4rem;
    padding: 0.9rem 1.2rem;
  }
}
