/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/
.ui-front {
  z-index: 10000 !important;
}

.ui-menu .ui-menu-item-wrapper {
  position: relative;
  padding: 3px 1em 3px 0.4em;
  line-height: 2.5;
}

ul.ui-autocomplete {
  max-height: 350px !important;
  overflow: auto !important;
}

.leaflet-popup-content>img {
  object-fit: cover;
  object-position: center;
  height: 120px;
  width: 240px;
}

.leaflet-popup-content-wrapper {
  height: 100%;
  padding-bottom: 10px;
}

.leaflet-popup-content a.btn_infobox_detail {
  top: 10px;
}

.box_list a.edit_bt {
  position: absolute;
  right: 55px;
  top: 15px;
  z-index: 1;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 9px 10px;
  display: inline-block;
  color: #555;
  line-height: 1;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
}


a.btn_boxlink {
  background-color: #fff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  padding: 8px 12px 8px 12px;
  line-height: 1;
  margin-bottom: 5px;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
  font-size: 12px;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.5);
}

a.btn_boxlink:hover {
  color: #fc5b62;
}

a.btn_boxlink:before {
  font-family: 'ElegantIcons';
  content: "\e081";
  display: inline-block;
  margin-right: 5px;
}

a.btn_boxlink_white {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  padding: 8px 12px 8px 12px;
  line-height: 1;
  margin-bottom: 5px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 12px;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.5);
  background-color: #fff;
}

a.btn_boxlink_white:hover {
  color: #fc5b62;
}

a.btn_boxlink_white:before {
  font-family: 'ElegantIcons';
  content: "\e081";
  display: inline-block;
  margin-right: 5px;
}

a.btn_box {
  background-color: #fff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  padding: 8px 12px 8px 12px;
  line-height: 1;
  margin-bottom: 5px;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
  font-size: 12px;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.5);
}

a.btn_box:hover {
  color: #fc5b62;
}

a.btn_box2 {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  padding: 8px 12px 8px 12px;
  line-height: 1;
  margin-bottom: -5px;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
  font-size: 12px;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.5);
}

a.btn_box2:hover {
  color: #fc5b62;
}

a.btn_box3 {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  padding: 8px 12px 8px 12px;
  line-height: 1;
  margin-bottom: -5px;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
  font-size: 12px;
  font-size: 0.75rem;
  color: #fff;
  background: #fc5b62;
}

a.btn_box3:hover {
  background: #0054a6;
  color: #fff;
}


a.plus_bt {
  font-size: 20px;
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 1;
  background-color: black;
  background-color: rgba(150, 150, 150, 0.1);
  padding: 6px 7px;
  display: inline-block;
  color: #555;
  line-height: 1;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
}

a.plus_bt:after {
  font-family: 'ElegantIcons';
  content: "\50";
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

a.plus_bt:after {
  content: "\e050";
  color: #0054a6;
}

a.plus_bt:hover:after {
  content: "\e050";
  color: #0054a6;
}

a.plus_bt.added:after {
  content: "\e04f";
  color: #fc5b62;
}

a.plus_bt.added:hover:after {
  color: #fc5b62;
}


ul#top_menu li a.logout {
  display: block;
  width: 22px;
  height: 23px;
  position: relative;
  top: 8px;
  -moz-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  -webkit-transition: opacity 0.5s ease;
  -ms-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

@media (max-width: 991px) {
  ul#top_menu li a.logout {
    top: 2px;
  }
}

ul#top_menu li a.logout:before {
  font-family: 'Glyphter';
  font-size: 21px;
  font-size: 1.3125rem;
  color: #ff0000;
  text-indent: 0;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: normal;
  line-height: 1;
}

ul#top_menu li a.logout {
  text-indent: -9999px;
}

ul#top_menu li a.logout:before {
  content: '\0042';
}

.modal-input-dates i {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  font-size: 18px;
  font-size: 1.125rem;
  position: absolute;
  /* background-color: #fff; */
  line-height: 50px;
  top: -4px;
  right: 1px;
  padding-right: 8px;
  display: block;
  width: 20px;
  box-sizing: content-box;
  height: 50px;
  z-index: 9;
  color: #999;
}

.box_grid a.delete_bt {
  font-size: 20px;
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 1;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 5px 6px;
  display: inline-block;
  color: #fff;
  line-height: 1;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
}

.box_grid a.delete_bt:after {
  font-family: 'ElegantIcons';
  content: "\4d";
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.box_grid a.delete_bt.liked:after {
  content: "\51";
  color: #fc5b62;
}

.box_grid a.delete_bt:hover.liked:after {
  color: #fc5b62;
}

.box_grid a.delete_bt:hover:after {
  content: "\51";
  color: #fff;
}

.box_grid a.edit_bt {
  font-size: 20px;
  position: absolute;
  right: 55px;
  top: 15px;
  z-index: 1;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 5px 6px;
  display: inline-block;
  color: #fff;
  line-height: 1;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
}

.box_grid a.edit_bt:after {
  font-family: 'ElegantIcons';
  content: "\6a";
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.box_grid a.edit_bt.liked:after {
  content: "\6b";
  color: #e05a;
}

.box_grid a.edit_bt:hover.liked:after {
  color: #e05a;
}

.box_grid a.edit_bt:hover:after {
  content: "\6b";
  color: #fff;
}

/* daterangepicker */

.daterangepicker td.available {
  background-color: #fff;
  border-color: transparent;
}

.daterangepicker td.available:hover {
  background-color: #eee;
  border-color: transparent;
}

.cbp_tmtimeline>li .cbp_tmtime span:first-child {
  font-size: 18px;
  color: #555;
  font-weight: 500;
  margin-top: 10px;
}

.cbp_tmtimeline>li .cbp_tmtime span:last-child {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 0;
}

.drp-selected {
  display: inline-block !important;
}

/* schedule items */
.schedule-item-box {
  position: relative;
  margin: 0px 0px 0px 0px;
  padding: 3px;
  border: 1px solid #ededed;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
  background: #fff;
  color: #555;
  font-size: 15px;
  margin-bottom: 3px;
}

#scheduleList {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

#scheduleList::-webkit-scrollbar {
  display: none;
  /* Chrome , Safari , Opera */
}

.content-left {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.content-left::-webkit-scrollbar {
  display: none;
  /* Chrome , Safari , Opera */
}

.mfp-hide {
  display: none !important;
}

.custom-search-input-2 .nice-select {
  border-right: 1px solid #d2d8dd;
}

.cpb_distance {
  position: absolute;
  top: -55px;
  left: 130px;
}

.distance_label {
  color: white;
  /* font-weight: bold; */
  border: 1px solid #e0e0e0;
  padding: 3px 5px 3px 6px;
  border-radius: 5px;
  background-color: #eeeeee;
  font-size: 12px;
  color: #555;
}

.review-icon {
  margin-top: 10px;
  text-transform: uppercase;
  text-align: center;
  width: 70px;
  font-size: 50px;
  position: absolute;
  right: 0px;
  top: 0px;
  z-index: 1;
  background-color: black;
  background-color: #fc5b62;
  padding: 5px 6px;
  display: inline-block;
  color: #fff;
  line-height: 1;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
}


a.btn_round {
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  border-radius: 12px;
  padding: 8px 12px 8px 12px;
  line-height: 1;
  margin-bottom: 5px;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
  font-size: 12px;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.5);
}

a.btn_round:hover {
  color: #fc5b62;
}

a.btn_map:before {
  display: inline-block;
  /* margin-right: 5px; */
}

#description p {
  margin-bottom: 15px;
}

.note-editable p {
  margin-bottom: 5px;
}

.flex-direction-nav a {
  top: -20px !important;
}

@media (min-width: 767px) {
  .show-mobile {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

a.btn_set,
.btn_set {
  border: none;
  color: #fff;
  background: #bfc0e8;
  outline: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  padding: 15px 30px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  line-height: 1;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
}

a.btn_set:hover,
.btn_set:hover {
  background: #0054a6;
  color: #fff;
}

.color-active {
  background: #0054a6;
}

.color-inactive {
  background: #bfc0e8;
}

/* SMS Send Page Styles */

/* Sidebar Styles */
.sms-sidebar {
  border-right: 1px solid #e0e0e0;
  padding-right: 30px;
}

.sidebar-time-status {
  margin-bottom: 30px;
  text-align: center;
}

.time-display {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.current-time {
  font-size: 14px;
  color: #999;
  margin-bottom: 15px;
}

.status-text {
  font-size: 12px;
  color: #666;
  background-color: #f5f5f5;
  padding: 8px 12px;
  border-radius: 4px;
}

/* Sidebar Icon Buttons */
.sidebar-icons {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 6px;
  margin-bottom: 20px;
}

.icon-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  color: #0054a6;
  background-color: #e6f0ff;
  border-radius: 4px;
}

/* Sidebar Action Buttons */
.sidebar-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-action {
  background: #fff;
  border: 1px solid #d0d0d0;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.btn-action:hover {
  border-color: #0054a6;
  color: #0054a6;
}

.btn-immediate {
  border: 1px solid #0054a6 !important;
  color: #0054a6 !important;
}

.btn-immediate i {
  color: #0054a6;
}

.btn-send {
  background: #5849d4;
  border: none;
  color: #fff;
  padding: 12px 15px;
  font-weight: 600;
  border-radius: 4px;
}

.btn-send:hover {
  background: #4838c4;
}

/* Tab Navigation */
.sms-tabs {
  display: flex;
  gap: 15px;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn:hover {
  color: #333;
}

.tab-btn.active {
  color: #0054a6;
  font-weight: 600;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 2px;
  background: #0054a6;
}

/* Message Input Section */
.sms-message-section {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

.message-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.message-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.message-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #666;
}

.stat-label {
  color: #999;
  font-weight: 500;
}

.stat-value {
  color: #0054a6;
  font-weight: 600;
  font-size: 13px;
}

.message-body {
  padding: 15px 20px;
  flex-grow: 1;
}

.message-textarea {
  width: 100%;
  min-height: 150px;
  padding: 12px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.message-textarea:focus {
  outline: none;
  border-color: #0054a6;
  box-shadow: 0 0 0 3px rgba(0, 84, 166, 0.1);
}

.message-textarea::placeholder {
  color: #bbb;
}

.message-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background-color: #fafafa;
  border-top: 1px solid #e0e0e0;
  gap: 15px;
}

.message-info {
  display: flex;
  align-items: center;
}

.info-text {
  font-size: 12px;
  color: #999;
}

.button-group {
  display: flex;
  gap: 8px;
}

.btn-small {
  background: #fff;
  border: 1px solid #d0d0d0;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-small:hover {
  border-color: #0054a6;
  color: #0054a6;
}

/* Table Container */
.sms-table-container {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
  flex-wrap: wrap;
  gap: 15px;
}

.header-left {
  display: flex;
  align-items: center;
}

.count-text {
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

.header-right {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-action {
  background: #fff;
  border: 1px solid #d0d0d0;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab-action:hover {
  border-color: #0054a6;
  color: #0054a6;
}

.btn-voucher {
  background: #ff6b7a;
  border: none;
  color: #fff;
}

.btn-voucher:hover {
  background: #ff5566;
}

/* Table Wrapper */
.table-wrapper {
  overflow-x: auto;
  max-height: 500px;
  position: relative;
}

.sms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sms-table thead {
  background-color: #f8f9fa;
  position: sticky;
  top: 0;
  z-index: 10;
}

.sms-table thead th {
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-top: 2px solid #e0e0e0;
  border-bottom: 2px solid #e0e0e0;
  white-space: nowrap;
}

.sms-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s ease;
}

.sms-table tbody tr:hover {
  background-color: #f9f9f9;
}

.sms-table tbody td {
  padding: 12px 15px;
  color: #666;
}

.sms-table .empty-message {
  text-align: center;
  padding: 60px 15px !important;
  color: #999;
  font-size: 14px;
}

/* Credit Balance Page Styles */

.balance-header {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.balance-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

/* Balance Tabs */
.balance-tabs {
  display: flex;
  gap: 15px;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 12px;
}

.balance-tabs .tab-btn {
  background: transparent;
  border: none;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.balance-tabs .tab-btn:hover {
  color: #666;
}

.balance-tabs .tab-btn.active {
  color: #0054a6;
}

.balance-tabs .tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 15px;
  right: 15px;
  height: 3px;
  background: #0054a6;
  border-radius: 2px;
}

/* Description */
.balance-description {
  background: #f8f9fa;
  padding: 15px 20px;
  border-radius: 6px;
  border-left: 4px solid #0054a6;
}

.balance-description p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Credit Packages */
.credit-packages {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.credit-package-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.credit-package-item:hover {
  border-color: #0054a6;
  background: #f8faff;
  box-shadow: 0 2px 8px rgba(0, 84, 166, 0.1);
}

/* Package Left - Price & Units */
.package-left {
  flex: 0 0 auto;
  min-width: 120px;
}

.price {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.units {
  font-size: 12px;
  color: #999;
}

/* Package Right - Credit & Bonus */
.package-right {
  flex: 1;
  text-align: right;
  padding: 0 20px;
}

.credit-value {
  font-size: 14px;
  font-weight: 600;
  color: #0054a6;
  margin-bottom: 4px;
}

.bonus {
  font-size: 12px;
  color: #999;
}

/* Package Arrow */
.package-arrow {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d0d0d0;
  transition: all 0.3s ease;
}

.credit-package-item:hover .package-arrow {
  color: #0054a6;
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .balance-header {
    padding: 20px;
  }

  .balance-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .balance-tabs {
    gap: 10px;
  }

  .balance-tabs .tab-btn {
    padding: 6px 10px;
    font-size: 12px;
  }

  .credit-package-item {
    flex-wrap: wrap;
    padding: 15px;
    gap: 15px;
  }

  .package-left {
    min-width: 100px;
    flex: 0 0 100%;
  }

  .package-right {
    flex: 1;
    text-align: left;
    padding: 0;
  }

  .package-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Notice List Page Styles */

.notice-header {
  background: #fff;
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.notice-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.notice-description {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Search Section */
.notice-search {
  display: flex;
  gap: 8px;
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #0054a6;
  box-shadow: 0 0 0 3px rgba(0, 84, 166, 0.1);
}

.search-btn {
  background: #0054a6;
  border: none;
  padding: 12px 16px;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  background: #003d7a;
}

/* Notice List */
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notice-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.notice-item:hover {
  border-color: #0054a6;
  box-shadow: 0 2px 8px rgba(0, 84, 166, 0.1);
  transform: translateY(-2px);
}

/* Notice Item Header */
.notice-item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.notice-badge {
  background: #0054a6;
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.notice-item-title {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.notice-item-date {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}

/* Notice Item Body */
.notice-item-body {
  margin: 12px 0;
  padding-left: 56px;
}

.notice-item-body p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Notice Item Footer */
.notice-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 56px;
}

.notice-category {
  display: inline-block;
  background: #f0f0f0;
  color: #999;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
}

.notice-item-footer i {
  color: #d0d0d0;
  font-size: 14px;
}

/* Modal Styles */
.notice-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.notice-modal.active {
  opacity: 1;
  visibility: visible;
}

.notice-modal-content {
  background: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 900px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.notice-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 60px 16px 24px;
  border-bottom: none;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.modal-close-btn {
  position: absolute;
  top: 22px;
  right: 24px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 11;
}

.modal-close-btn:hover {
  color: #333;
  transform: rotate(90deg);
}

.notice-modal-body {
  padding: 0 24px 32px 24px;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
  padding-bottom: 0;
  border-bottom: none;
}

.meta-category {
  display: inline-block;
  background: #0054a6;
  color: #fff;
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}

.meta-date {
  display: flex;
  align-items: center;
  color: #999;
  font-size: 13px;
}

.notice-modal .modal-content {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  word-break: break-word;
  padding: 32px;
  background: #fcfcfc;
  border: 1px solid #efefef;
  border-radius: 8px;
  min-height: 400px;
}

.notice-modal .modal-content p {
  margin-bottom: 0;
  line-height: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .notice-header {
    padding: 20px;
  }

  .notice-title {
    font-size: 24px;
  }

  .notice-item {
    padding: 15px;
  }

  .notice-item-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .notice-item-title {
    font-size: 14px;
    flex: 0 0 100%;
  }

  .notice-item-date {
    margin-left: auto;
  }

  .notice-item-body,
  .notice-item-footer {
    padding-left: 0;
  }

  .notice-modal-content {
    width: 95%;
    max-height: 90vh;
  }

  .notice-modal-header {
    padding: 15px 16px;
  }

  .modal-title {
    font-size: 16px;
  }

  .notice-modal-body {
    padding: 0 16px 24px 16px;
  }

  .notice-modal .modal-content {
    font-size: 14px;
    padding: 20px;
    min-height: 400px;
  }
}