/* HighShot Premium Booking Form - Final 3D Dark CSS */

.hsc-booking-form {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 40px auto;
  padding: 38px;
  color: #fff;
  border-radius: 28px;
  border: 1px solid rgba(255, 115, 35, 0.32);
 
background:
repeating-linear-gradient(
90deg,
#161b22 0px,
#1b2027 2px,
#13171d 4px,
#0d1014 6px
);

box-shadow:
inset 0 1px 0 rgba(255,255,255,.06),
0 40px 80px rgba(0,0,0,.45);
}

.hsc-booking-form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 24%, transparent 72%, rgba(255, 107, 26, 0.08)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.08), transparent 30%);
  z-index: 0;
}

.hsc-booking-form::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 0;
}

.hsc-booking-form > * {
  position: relative;
  z-index: 1;
}

.hsc-section {
  margin-bottom: 24px;
}

.hsc-section-title,
.hsc-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hsc-section-header {
  justify-content: space-between;
}

.hsc-section-title h3 {
  margin: 20px 0;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.hsc-icon {
  color: #ff6b1a;
  font-size: 20px;
}

.hsc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hsc-booking-form input,
.hsc-booking-form textarea {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid rgba(255, 107, 26, 0.22);
  border-radius: 999px;
  color: #111;
  font-size: 14px;
  outline: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.hsc-booking-form input::placeholder,
.hsc-booking-form textarea::placeholder {
  color: rgba(0, 0, 0, 0.55);
}

.hsc-booking-form input:focus,
.hsc-booking-form textarea:focus,
.hsc-booking-form select:focus {
  border-color: #ff6b1a !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.18);
}

/* Purpose Dropdown */
.hsc-purpose-field select,
.hsc-booking-form select {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  background-color: #ffffff !important;
  border: 1px solid rgba(255, 107, 26, 0.45) !important;
  border-radius: 10px;
  color: #111111 !important;
  font-size: 14px;
  outline: none;
}

.hsc-purpose-field select option,
.hsc-booking-form select option {
  background-color: #ffffff !important;
  color: #111111 !important;
}

/* Vehicle Card */
.hsc-vehicle-block {
  padding: 18px;
  border: 1px solid rgba(255, 107, 26, 0.38);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 36px rgba(0, 0, 0, 0.26);
}

.hsc-vehicle-top {
  margin-bottom: 14px;
	display: flex;
	justify-content: space-between;
}

.hsc-vehicle-top span {
  display: inline-block;
  padding: 6px 13px;
  background: rgba(255, 107, 26, 0.16);
  color: #ff6b1a;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hsc-add-vehicle {
  padding: 10px 18px;
  background: transparent;
  border: 1px solid #ff6b1a;
  border-radius: 8px;
  color: #ff6b1a;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.hsc-add-vehicle:hover {
  background: #ff6b1a;
  color: #fff;
}

.hsc-remove-vehicle {
  background: transparent;
  border: none;
  color: #ff6b1a;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

/* Upload Section - White Theme */
.hsc-upload-box {
  min-height: 170px;
  padding: 26px;
  background: linear-gradient(180deg, #ffffff, #f8f8f8);
  border: 1px solid rgba(255, 107, 26, 0.35);
  border-radius: 16px;
  text-align: center;
  transition: 0.25s ease;
  box-shadow:
    inset 0 1px 0 #fff,
    0 15px 35px rgba(0, 0, 0, 0.14);
}

.hsc-upload-box:hover {
  border-color: #ff6b1a;
  box-shadow: 0 10px 28px rgba(255, 107, 26, 0.14);
}

.hsc-upload-box strong,
.hsc-upload-box small {
  display: block;
}

.hsc-upload-box strong {
  margin-bottom: 8px;
  font-size: 16px;
  color: #111;
  font-weight: 800;
}

.hsc-upload-box small {
  margin-bottom: 18px;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

.hsc-upload-box input[type="file"] {
  width: 100%;
  height: auto;
  padding: 14px;
  background: #ffffff;
  border: 2px dashed #d8d8d8;
  border-radius: 10px;
  color: #111;
  cursor: pointer;
}

.hsc-upload-box input[type="file"]:hover {
  border-color: #ff6b1a;
  background: #fffaf7;
}

.hsc-upload-box input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 10px 18px;
  background: #ff6b1a;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.hsc-upload-box input[type="file"]::file-selector-button:hover {
  background: #111;
}

/* Agreement Checkbox */
.hsc-agreement {
  margin-bottom: 18px;
}

.hsc-checkbox-wrap label,
.hsc-agreement label {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  color: #ffffff !important;
  font-size: 14px;
  line-height: 1.6;
}

.hsc-checkbox-wrap input[type="checkbox"],
.hsc-agreement input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 3px 0 0 0 !important;
  padding: 0 !important;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  accent-color: #ff6b1a;
  box-shadow: none !important;
}

/* Submit Button */
.hsc-submit {
  width: 100%;
  height: 58px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a1a, #ff4d00);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(255, 107, 26, 0.35);
  transition: 0.25s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hsc-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(255, 107, 26, 0.45);
}

.hsc-upload-section,
.hsc-purpose-section {
  width: 100%;
  margin-bottom: 24px;
}

.hsc-upload-section .hsc-upload-box,
.hsc-purpose-section .hsc-purpose-field {
  margin-top: 0;
}

.hsc-purpose-section select {
  width: 100%;
}

/* Loader */
.hsc-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: hscSpin 0.8s linear infinite;
}

.hsc-booking-form.hsc-loading .hsc-loader {
  display: inline-block;
}

.hsc-booking-form.hsc-loading .hsc-submit-text {
  opacity: 0.75;
}

.hsc-booking-form.hsc-loading .hsc-submit {
  pointer-events: none;
  opacity: 0.9;
}

@keyframes hscSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hscFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

/* Mobile */
@media (max-width: 767px) {
  .hsc-booking-form {
    margin: 24px auto;
    padding: 22px;
    border-radius: 20px;
  }

  .hsc-grid {
    grid-template-columns: 1fr;
  }

  .hsc-section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hsc-add-vehicle {
    width: 100%;
  }

  .hsc-booking-form input,
  .hsc-booking-form select {
    height: 52px;
  }
}

.hsc-submit:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.hsc-form-message{
    display:none;
    margin-top:20px;
    padding:16px 20px;
    border-radius:10px;
    font-size:15px;
    font-weight:600;
}
.hsc-form-message.success{
    display:block;
    background:#d4edda;
    color:#155724;
    border:1px solid #c3e6cb;
}
.hsc-form-message.error{
    display:block;
    background:#f8d7da;
    color:#721c24;
    border:1px solid #f5c6cb;
}

/* ============================
   HighShot Admin
============================= */

.highshot-admin{
    margin-top:20px;
}

.highshot-toolbar{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    margin-bottom:20px;
    gap:20px;
}

.highshot-search{
    display:flex;
    gap:10px;
    align-items:center;
}

.highshot-search input[type="search"]{
    width:340px;
    height:40px;
}

.highshot-search-box{
    position:relative;
    display:inline-block;
}

.highshot-search-box input[type="search"]{
    width:250px;
    height:40px;
    padding-right:10px;
}

.clear-search{
    position:absolute;
    top:50%;
    right:12px;
    transform:translateY(-50%);
    cursor:pointer;
    font-size:18px;
    color:#777;
    display:none;
    line-height:1;
    user-select:none;
}

.clear-search:hover{
    color:#d63638;
}

.search-btn {
  color: var(--wp-admin-theme-color);
  border: 1px solid var(--wp-admin-theme-color);
  border-radius: 2px;
  height: 40px;
  width: 100px;
  font-size: 14px;
  font-weight: 500;
}

.search-btn:hover {
    background: rgba(var(--wp-admin-theme-color--rgb), .04);
    border-color: var(--wp-admin-theme-color-darker-20);
    color: var(--wp-admin-theme-color-darker-20);
}

.highshot-card{
    background:#fff;
    border:1px solid #dcdcde;
    overflow:hidden;
    box-shadow:0 3px 10px rgba(0,0,0,.05);
}

.highshot-table{
    border:none;
    box-shadow:none;
}

.highshot-table thead th{
    font-size:13px;
    font-weight:600;
    padding:16px;
    border-bottom:1px solid #dcdcde;
    white-space:nowrap;
}

.highshot-table thead th a{
    color:#1d2327;
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:5px;
}

.highshot-table tbody td{
    padding:18px 16px;
    vertical-align:middle;
    font-size:14px;
}

.highshot-table tbody tr{
    transition:.2s;
}

.highshot-table tbody tr:hover{
    background:#f8fbff;
}

.highshot-table tbody td:first-child{
    width:70px;
    font-weight:600;
}

.highshot-table strong{
    font-size:15px;
}

.highshot-table td a{
    text-decoration:none;
}

.highshot-action{
    text-align:center;
}

.highshot-action .button{
    min-width:80px;
}

.highshot-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 5px;
    margin-top:5px;
}

.highshot-pagination .page-numbers{
    display:inline-block;
    min-width:34px;
    text-align:center;
    padding:8px 12px;
    margin-left:5px;
    background:#fff;
    border:1px solid #dcdcde;
    border-radius:5px;
    text-decoration:none;
}

.highshot-pagination .current{
    background:#2271b1;
    color:#fff;
    border-color:#2271b1;
}

.highshot-view-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.highshot-view-btn .dashicons{
    font-size:16px;
    width:16px;
    height:16px;
}

/* Details page design */
.highshot-detail-card{
    background:#fff;
    border:1px solid #dcdcde;
    border-radius:10px;
    overflow:hidden;
    margin-bottom:25px;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.highshot-card-title{
    padding:16px 20px;
    font-size:17px;
    font-weight:600;
    border-bottom:1px solid #dcdcde;
    background:#f6f7f7;
}

.highshot-info-table{
    width:100%;
    border-collapse:collapse;
}

.highshot-info-table th{
    width:220px;
    padding:14px 20px;
    background:#fafafa;
    text-align:left;
    font-weight:600;
    border-bottom:1px solid #eee;
}

.highshot-info-table td{
    padding:14px 20px;
    border-bottom:1px solid #eee;
}

.highshot-info-table tr:last-child td,
.highshot-info-table tr:last-child th{
    border-bottom:none;
}

.highshot-gallery{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:15px;
    padding:20px;
}

.highshot-gallery img{
    width:100%;
    height:140px;
    object-fit:cover;
    border-radius:8px;
    border:1px solid #ddd;
    transition:.25s;
}

.highshot-gallery img:hover{
    transform:scale(1.04);
    box-shadow:0 10px 20px rgba(0,0,0,.15);
}

.highshot-back-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 16px;
    background:#2271b1;
    color:#fff;
    text-decoration:none;
    border-radius:6px;
    margin-bottom:20px;
    transition:.2s;
}

.highshot-back-btn:hover{
    background:#135e96;
    color:#fff;
}