.checkbox-time-wrapper
/* 예약내역 리스트 스타일 (list_rental.css) */

.list_header{
	padding:80px 0 0;
}
.rental-list-wrap {
  max-width: 1200px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 32px 24px;
}

.rental-list-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 32px;
  text-align: center;
  color: #18558b;
  letter-spacing: 1px;
}

.rental-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.rental-table th, .rental-table td {
  border: 1px solid #e0e0e0;
  padding: 14px 10px;
  text-align: center;
  font-size: 1.05em;
}
.rental-table th {
  background: #f5f8fa;
  color: #18558b;
  font-weight: 700;
  width:10%;
}
/*
.rental-table tr:nth-child(even) {
  background: #f8f8f8;
}
*/
.rental-table tr:hover {
  background: #eaf3fa;
}

.rental-list-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 18px;
  margin-top:30px;
}
.rental-list-btns button, .rental-list-btns a {
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  background: #18558b;
  color: #fff;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.rental-list-btns button:hover, .rental-list-btns a:hover {
  background: #143e66;
  transform: translateY(-2px);
}


.delete-btn {
  background: #dc3545 !important;
}

.delete-btn:hover {
  background: #c82333 !important;
}

/* 체크박스 스타일 */
.rental-table input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

#selectAll {
  margin: 0;
}


/* 정렬 기준 select 스타일 */
.sort_day{
	padding:8px 20px;
	width:100%;
	border:1px solid #ddd;
	border-radius:4px;
	font-size:14px;
}

.sort_day_txt{
	margin:10px 0 0px;
}
.sort_day select[name="sort_by"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    color: #333;
    min-width: 140px;
    margin-left: 5px;
    margin-right: 5px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sort_day select[name="sort_by"]:focus {
    border-color: #18558b;
    box-shadow: 0 0 0 2px #18558b22;
    outline: none;
}

.reservation-list{
	margin-top:30px;
}


.checkbox-time-wrapper {
    display: flex;
	justify-content:center;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}
.time-label {
    font-size: 0.9em;
    color: #666;
}
input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.reservation-section {
    margin-bottom: 0px;
}
.section-title {
	text-align:center;
    font-size: 1.2em;
    color: #333;
    margin: 0px 0 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}
.no-reservations {
    text-align: center;
    color: #888;
    padding: 20px;
}
.rental-search-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.search-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.search-group {
    flex: 1;
    min-width: 200px;
}
.search-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
	text-align:center;
    font-weight: 500;
}
.search-group input,
.search-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
	height:40px;
}
.search-buttons {
    display: flex;
	margin-top:30px;
    gap: 10px;
	justify-content:center;
}
.search-btn {
    padding: 8px 20px;
    background: #18558b;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}
.search-btn:hover {
    background: #134a7a;
}
.reset-btn {
    padding: 8px 20px;
    background: #eee;
    color: #333;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}
.reset-btn:hover {
    background: #ddd;
}
.today-section {
    border: 3px solid #18558b;
    border-radius: 15px;
    padding: 15px;
}
.today-section .section-title {
    color: #333;
    border-bottom-color: #e8e8e8;
	text-align:center;
}
.today-section .rental-table {
    background: #fff;
}
.today-section .rental-table th {
    background: #f5f8fa;
	width:10%;
}
.today-section .rental-table tr:hover {
    background: #fff8e1;
}
.today-no-reservations {
    text-align: center;
    padding: 30px;
    color: #666;
    background: #fff;
    border-radius: 4px;
}
.today-no-reservations i {
    font-size: 24px;
    color: #f57c00;
    margin-bottom: 10px;
}
.today-no-reservations p {
    margin: 0;
    font-size: 16px;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    gap: 5px;
}
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}
.pagination a:hover {
    background: #f5f5f5;
    border-color: #ccc;
}
.pagination a.current {
    background: #18558b;
    color: white;
    border-color: #18558b;
}
.pagination a.first,
.pagination a.prev,
.pagination a.next,
.pagination a.last {
    background: #f8f9fa;
}
.pagination a.first:hover,
.pagination a.prev:hover,
.pagination a.next:hover,
.pagination a.last:hover {
    background: #e9ecef;
}
.past-reservation {
    background-color: #efefef !important;
    color: #6c757d;
}


.modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.4); justify-content: center; align-items: center; }
.modal table{width:100%;}
.modal-content { background: #fff; padding: 30px 20px; border-radius: 8px; max-width: 400px; margin: 100px auto; position: relative; box-shadow: 0 4px 24px rgba(0,0,0,0.15); }
.modal-content h3{text-align:center;}
.modal .close { position: absolute; right: 18px; top: 12px; font-size: 24px; color: #888; cursor: pointer; }
.detail-table th { text-align:left; width: 90px; color: #18558b; }
.detail-table tr { margin-bottom:5px; border-bottom:1px solid #e8e8e8;}
.detail-table td { padding: 8px; }
.detail-btn { padding: 5px 12px; background: #18558b; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 13px; }
.detail-btn:hover { background: #134a7a; }

.rental_write_title{
	padding:80px 15px 0;
}
/* 반응형 */

@media (max-width: 1440px) {
	.list_header{
	 margin-bottom:0px;  
	 padding:60px 15px 0;
   }
   
   .list-title{
	   max-width:1200px;
	   margin:0 auto;
	   width:100%;
   }
}
@media (max-width: 768px) {
   .list_header{
	 margin-bottom:0px;  
	 padding:30px 15px;
   }
  .rental-list-wrap {
    padding: 30px 15px;
	margin:0;
  }
  .rental-list-title {
    font-size: 1.3em;
    margin-bottom: 18px;
  }
  .rental-table th, .rental-table td {
    padding: 10px 4px;
    font-size: 0.98em;
  }
}

@media (max-width: 600px) {
  .rental-list-title {
    font-size: 1.1em;
  }
  .rental-table, .rental-table thead, .rental-table tbody, .rental-table th, .rental-table td, .rental-table tr {
    display: block;
    width: 100%;
  }
  .rental-table thead {
    display: none;
  }
  .rental-table tr {
    margin-bottom: 18px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 8px 0;
  }
  .rental-table td {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    padding-left: 40%;
    text-align: left;
    font-size: 1em;
    min-height: 36px;
    background: none;
  }
  .rental-table td:before {
    position: absolute;
    top: 8px;
    left: 12px;
    width: 35%;
    white-space: nowrap;
    font-weight: bold;
    color: #18558b;
    content: attr(data-label);
    font-size: 0.98em;
  }
} 