

:root {
    --content-width:100%;
}
	/*71.5 - 100%?*/

html,body {
    height: 100%;
    margin: 0;
}

body {
    height: 100%;
    font-family: Arial, sans-serif;
    background: #000000;
    color: white;
    display: flex;
    flex-direction: column;
}

.topbar {
    
    display: flex;  
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    /*background: #0496f734;*/
    background: linear-gradient(to right, #000808, #032e70);
    width: 100%;
    box-sizing: border-box;
}

.titleBlock {
    line-height: 1.1;
    align-items: baseline;
    gap:8px
    /*padding: 20px;*/
}

.titleBlock h1 {
    margin: 0;
    font-size: 14px;
}

.titleBlock h2 {
    margin: 0;
    font-size: 10px;
    color: #cbd5f5;
    font-weight: normal;
}

.titleBlock p {
    margin:4px 0 0 0;
    font-size: 10px;
    color: #94a3b8;
}

button {
    padding: 6px 13px;
    background: #22c55e;
    border: none;
    cursor: pointer;
    font-size: 10px
    /*margin-right: 20px;*/
}

.hero {
    text-align: center;
    padding: 50px;
}
/*
.content {
    /*padding: 20px;*//*
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
}


.content {
    flex: 1;
    display: block;
    width: 100%;
    padding-top: 10px;
}

.iframecontainer {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}


.iframecontainer iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}
*/
.content {
  width: 100%;
  flex: 1;
  display: block;
  padding-top: 10px;
}

#snapshot,
.view-pane.active {
  width: 100%;
}

/*
.iframecontainer {
  width: 100%;
  height: 70vh;
  position: relative;
  overflow: hidden;
}

.iframecontainer iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}


.iframecontainer {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 50vh;
    max-height: 70vh;
    overflow: hidden;
}


.iframecontainer {
    width: 100%;
    height: 70vh;
}

.iframecontainer iframe {
    width: 100%;
    height: 100%;
}
*/

.iframecontainer {
    position: relative;
    width: var(--content-width);
    aspect-ratio: 16 / 9 ;
    overflow: hidden;
    min-height: 50vh;
    max-height: 85vh;
    /*border: 1px solid gray (Also desetimated)*/

}

.iframecontainer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 30px); /*calc(100%+55px) (Also desest.)*/
    min-height: 500px;
    max-height: 85vh;
    border: none;
}


.iframecontainer::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px; /*adjustable*/
  background: black; 
  pointer-events: none;
  /*border-bottom: 1px solid #3a3a3a;*/
  z-index: 10;
}


.footer {
  border-top: 1px solid rgba(70, 67, 67, 0.623);
  background: var(--bg);
  padding: 12px 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.footer-right {
  text-align: right;
  font-size: 12px;
  
}

/* Login */

.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 20, 0.85);
  display: none; /* IMPORTANT */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.login-modal.active {
  display: flex;
}

.logo {
    width: 35px;
    height: 35px;
    border-radius: 14px;
    background: linear-gradient(135deg, #5c8dff, #2374aa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 18px;
}


.login-card {
    position: relative;
    width: 100%;
    max-width: 250px;
    padding: 32px;
    border-radius: 16px;
    background: linear-gradient(145deg, #0f172a, #1a3c86);;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.45),  inset 0 1px 0 rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
    color: white;
}

.login-card {
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-card h1 {
    font-size: 20px;
    margin-bottom: 2px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.login-card p {
    color: rgba(255,255,255,0.72);
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 12px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.82);
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.06);
    color: white;
    font-size: 12px;
    outline: none;
    transition: 0.2s ease;
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.35);
}

.form-group input:focus {
    border-color: #6c8cff;
    background: rgba(255,255,255,0.09);
    box-shadow: 0 0 0 4px rgba(108,140,255,0.15);
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    font-size: 11px;
    color: rgba(255,255,255,0.72);
}

.row a {
    color: #9db4ff;
    text-decoration: none;
}

.row a:hover {
    text-decoration: underline;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
}



.login-btn {
    width: 100%;
    border: none;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #5c8dff, #7b5cff);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.2s ease;
}

.login-btn:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.login-btn:active {
    transform: translateY(0);
}


.bottom-text {
    margin-top: 20px;
    justify-content: space-between;
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.65);
}

.bottom-text a {
    color: #9db4ff;
    text-decoration: none;
}

.bottom-text a:hover {
    text-decoration: underline;
}


.login-card input {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: white;
}

.login-card button {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #5c8dff, #5c8dff);
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  cursor: pointer;
  font-size: 20px;
}

.shake {
  animation: shake 0.4s;
}

@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 16px;
  color: #9fb0d0;
  font-size: 14px;
}

.auth-divider span {
  flex: 1;
  height: 1px;
  background: rgba(180, 200, 255, 0.25);
}

.auth-divider p {
  margin: 0;
}

.google-login-btn {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.03) !important;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: 0.2s ease;
}

.google-login-btn:hover {
  background: rgba(255,255,255,.05) !important;
  border-color: rgba(255,255,255,.30);
}
.google-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #4285f4;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}



/* Trust line
.login-trust-line {
  display: flex;
  align-items: left;

  margin-top: 10px;
  margin-bottom: 20px;

  color: #6ea2ff;
  font-size: 12px;
  font-weight: 10;
  letter-spacing: 0.2px;
}*/

.trust-icon {
  font-size: 18px;
  line-height: 1;
}


.tabs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px; 
    padding: 3px;
    margin: 0 0 0px 12px; /* 👈 left spacing */
    background: transparent; /* slight blue tint instead of pure black */
    /*border: 1px solid #1a2530;*/
    border-radius: 10px;
}

.tab-btn {
    background: transparent;
    color: #7f8c98;
    border: none;
    padding: 6px 12px; /* 👈 smaller height */
    border-radius: 7px;
    font-size: 12px;  /* 👈 tighter */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.tab-btn:hover {
    background: #121a22;
    color: #cfe3ff;
}

.tab-btn.active {
    background: #111827; /* 👈 chart blue */
    color: #4da3ff;
    box-shadow: 0 2px 10px rgba(31, 111, 235, 0.25);
}


/* My List Google Map*/
.map-wrap {
    height: 55vh; /* Map height*/
    flex:1;
    min-height: 0;
    position: relative;
    background:#0b0f14;
    overflow: visible;
}

#map {
    width: 100%;
    height: 100%;
    background:#0b0f14;
}

.header_map {
    padding: 10px 14px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.header_map h1 {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
}

.sub {
    font-size: 12px;
    color: #666;
}

.traffic-toggle {
    position: absolute;
    top: 60px;
    right: 10px;
    z-index: 5;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    padding: 5px 8px;
    font-size: 11px;
    cursor: pointer;
}

.pricem2-toggle {
    position: absolute;
    top: 90px;
    right: 10px;
    z-index: 5;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    padding: 5px 8px;
    font-size: 11px;
    cursor: pointer;
}

.app { 
    display: flex;
    flex-direction: column;
    flex:1;
    min-height: 100vh;
    height: 100vh;
    gap: 10px;
    padding: 10px;
}

.panel {
    background: #0b0f14;
    border: 1px solid #1a2530;
    border-radius: 6px;
    overflow: hidden;
    flex:1;
    min-height: 0;
    min-width:0;
}

.header {
    padding: 10px 14px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.header h1 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.sub {
    font-size: 12px;
    color: #666;
}

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

.stat {
    border: 1px solid #1f2a36;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    background: #0b0f14; /* dark */
    color: #e6edf3; /* base text */
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.stat-label {
    font-size: 10px;
    color: #7f8c98; /* muted */
}

.stat-value {
    font-weight: 550;
    margin-top: 3px;
    font-size: 14px;
    color: #ccc; /* strong contrast */
}



.table-wrap {
    padding: 0px;
    overflow: auto;
}

table.dataTable thead th, 
table.dataTable tbody td {
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
    white-space: nowrap;
}

.popup-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 13px;
}

.badge {
    font-size: 10px;
    background: #eee;
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 6px;
    display: inline-block;
}

.traffic-note {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

#propertiesTable {
    width: 100% !important;
}

#propertiesTable th {
    text-align: center;
    font-size: 10px;
    box-sizing: border-box;
    white-space: nowrap;
}

#propertiesTable td {
    text-align: center;
    font-size: 10px;
    white-space: nowrap;
    box-sizing: border-box;
}

.popup-card {
    color: #111;
    font-size: 12px;
    line-height: 1.45;
}

.popup-card .popup-title {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 13px;
    color: #000;
}

.popup-card .badge {
    font-size: 10px;
    background: rgba(8, 106, 185, 0.377);
    border: 1px solid rgba(255,255,255,0.08);
    color: #111;
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 6px;
    display: inline-block;
}

/*Left tools mod*/

.workspace {
  display: flex;
  gap: 20px;
  width: 95%;
  max-width: 1300px;
  align-items: flex-start;
  margin: 0 auto;
}

.left-tools {
  width: 100px;
  flex: 0 0 100px;
  display: flex;
  flex-direction: column;

  gap: 10px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.tool-card {
  background: #08111c;
  border: 1px solid #1c2a3a;
  border-radius: 12px;
  padding: 14px;
  color: #e8eef7;
}

.tool-card h3 {
  margin: 0 0 10px;
  font-size: 12px;
}

.tool-card button {
  width: 100%;
  display: block;
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid #1c3653;
  background: linear-gradient(180deg, #0a1624 0%, #08111c 100%);
  color: #676c6e;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s ease;
  box-sizing: border-box;
}

.tool-card button:hover {
  background: rgba(15, 30, 48, 0.98);
  border-color: #2d5d91;
}

.tool-card select {
  width: 100%;
  margin-bottom: 8px;
}

.tool-btn.active {
  color: #60a5fa;
  border-color: #2b68af;
  background: rgba(18, 36, 60, 0.98);
}

/* PopUp */
.popup {
  position: absolute;
  transform: translate(-50%, -110%);
  min-width: 220px;
  max-width: 300px;
  background: rgba(230, 238, 247, 0.9);
  color: white;
  border: 1px solid rgba(77, 163, 255, 0.25);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
  z-index: 1000;
  opacity: 1;  
}

.popup div {
    color: black !important;  /* Force white text */
}

.hidden {
  display: none;
}

.popup::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #c6cad3;
}


.popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: none;
    color: #010408;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
}

.popup-close:hover {
    color: #ef4444;  /* Red on hover */
}

/* Selector */

.view-pane {
    display: none;  /* Hidden by default */
}

.view-pane.active {
    display: block;  /* Only active pane shows */
}

/* Table */
.table-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap:16px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.table-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 10px;
}

/* SEARCH BOX */
.dataTables_filter input {
  background: #0b1220;
  border: 1px solid rgba(77, 163, 255, 0.25);
  color: #e5e7eb;
  border-radius: 8px;
  padding: 6px 10px;
  width: 100px; /* ← make it bigger */
  text-align: left;
  
}

/* SELECT (Show entries) */
.dataTables_length select {
  background: #0b1220;
  border: 1px solid rgba(77, 163, 255, 0.25);
  color: #e5e7eb;
  border-radius: 8px;
  padding: 4px;
  
}

/* PAGINATION BUTTONS */
.dataTables_paginate {
  display: flex;
  gap: 6px;
  margin-left: 0;
  
}

.dataTables_paginate .paginate_button {
  background: #0b1220;
  border: 1px solid rgba(77, 163, 255, 0.25);
  color: #e5e7eb !important;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.dataTables_paginate .paginate_button.current {
  background: #4da3ff;
  color: #000 !important;
}

/* REMOVE ugly default styles */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #1f2937;
  border-color: #4da3ff;
}

table.dataTable {
  width: 100% !important;
  border-collapse: collapse !important;
  white-space: nowrap;
  box-sizing: border-box;
  table-layout: auto !important;
}

table.dataTable thead th {
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  text-align: center;
}

table.dataTable tbody td {
  color: #e8eef7;
  padding: 10px 12px !important;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  white-space: nowrap;
  text-align: center;
}

.dataTables_scrollHeadInner,
.dataTables_scrollHeadInner table,
.dataTables_scrollBody table {
  width: 100% !important;
  table-layout: fixed !important;
  
}

table.dataTable tbody tr {
  height: auto !important;
}

.dataTables_wrapper {
  color: #fff;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 12px;
  font-size:12px;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  background: #0c1624;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-size: 12px;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  font-size: 12px;
  margin-top: 12px;
  color: #9fb3c8 !important;
}

.view-pane {
    padding: 10px 14px;
}

.view-pane h1 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    width:100%;
    display:block;

}

.dt-body-nowrap {
  white-space: nowrap;
}

/* Scrollbar */
.table-responsive-wrapper::-webkit-scrollbar {
    height: 8px; /* horizontal scrollbar height */
}

.table-responsive-wrapper::-webkit-scrollbar-track {
    background: #1f2937; /* dark gray background */
    border-radius: 10px;
}

.table-responsive-wrapper::-webkit-scrollbar-thumb {
    background: #2a395a; /* gray thumb */
    border-radius: 10px;
}

.table-responsive-wrapper::-webkit-scrollbar-thumb:hover {
    background: #1f3f7e; /* lighter on hover */
}

.table-scroll-container {
    overflow-x: auto;
    width: 100%;
}  

/* Edit mode auctions */


.edit-modal-box {
  width: 520px;
  max-width: 92%;
  background: #08111f;
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  padding: 18px;
  color: #e5e7eb;
}

.edit-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.edit-modal-header h3 {
  margin: 0;
  font-size: 20px;
}

.close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 22px;
  cursor: pointer;
}

.edit-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.edit-row {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: #0b1220;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}

.edit-row-label {
  font-weight: 600;
  color: #e5e7eb;
}

.edit-row input {
  width: 100%;
  padding: 8px 10px;
  background: #020617;
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 8px;
  color: #e5e7eb;
  box-sizing: border-box;
}

.edit-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

#saveAreasBtn {
  background: #4da3ff;
  color: #08111f;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

#cancelAreasBtn {
  background: #111827;
  color: #e5e7eb;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
}

#authArea {
  display: flex;
  align-items: center;
}

.auth-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-greeting {
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

/*
.auth-btn {
  background: #3ddc84;
  color: #08111f;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
}

.auth-btn:hover {
  opacity: 0.92;
}*/

/*Discreet*/
.auth-btn {
  background: transparent;
  color: #dbe7ff;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
}

.auth-btn:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
}

/*Modal CSS*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 24px;
}

.hidden {
  display: none;
}

.modal-content {
  background: #0b1220;
  color: #e5e7eb;
  width: 800px;
  max-height: 80vh;
  overflow: auto;
  padding: 20px;
  border-radius: 12px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
}

#closeModal {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 20px;
  cursor: pointer;
}

#auctionSelect {
  width: min(400px, 100%);
  height:35px;
  font-size:12px;
  background: #111827;
  color: #e5e7eb;
  border: 1px solid rgba(77, 163, 255, 0.45);
  border-radius: 8px;
  padding: 8px 10px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23e5e7eb' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 35px;
}


.add-row {
  display: flex;
  align-items: center;
  gap: 12px;   /* THIS is your spacing */
  margin-bottom: 20px;
}
#addAuctionBtn,
#saveBtn {
  height: 35px;
  min-width: 70px;
  padding: 0 16px;

  background: #07111f;
  color: #4da3ff;
  border: 1px solid rgba(77, 163, 255, 0.65);
  border-radius: 10px;

  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

#addAuctionBtn:hover,
#saveBtn:hover {
  background: rgba(77, 163, 255, 0.12);
  border-color: #4da3ff;
}

#addAuctionBtn:active,
#saveBtn:active {
  transform: scale(0.98);
}

/*
#addAuctionBtn, 
#saveBtn {
  height: 35px;
  padding: 0 16px;
  background: #22c55e;
  border: none;
  color: rgb(0, 0, 0);
  border-radius: 6px;
  cursor: pointer;
}
*/

.modal-section {
  margin-bottom: 20px;
}

.modal-section h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

#editTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

#editTable th,
#editTable td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  text-align: left;
  font-size: 13px;
}

#editTable input {
  width: 80px;
  background: #111827;
  border: 1px solid #4da3ff;
  color: white;
}

/* editTable Proposition 
  width: 90px;
  background: #111827;
  color: #e5e7eb;
  border: 1px solid rgba(77, 163, 255, 0.55);
  border-radius: 8px;
  padding: 7px 8px; */

.modal-footer {
  display: flex;
  justify-content: flex-start;
  margin-top: 0px;
}


.remove-btn {
  cursor: pointer;
  color: red;
}

/* Split logic */
.split-layout .map-card,
.split-layout .table-card {
  max-width: 100%;
}

#view-split .map-wrap {
    height: 35vh;
}
/* remove-btn proposition 

.remove-btn {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.55);
  color: #f87171;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
} */

/*
.edit-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.edit-modal.hidden {
  display: none;
}*/


#auctionNumberInput {
  width: 60px;
  padding: 8px 10px;
  background: #08111f;
  color: white;
  border: 1px solid #2f7edb;
  border-radius: 8px;
}

/* popup image */
.popup-content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.popup-info {
    flex: 1;
    width: 58%;
}

.popup-address {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(77, 72, 72, 0.445);
}

.popup-address strong {
    font-weight: 700;
    color: #000000;
}
.popup-img-link {
    width: 55%;
    display: block;
}

.popup-img {
    width: 100%;
    height: 135px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}


#alertsTab {
  padding: 28px;
  background: #020817;
  min-height: calc(100vh - 80px);
}

#alertsTab h3,
#alertsTab h2 {
  color: #f8fafc;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.alerts-container {
  background: #0f172a;
  border: 1px solid #1d4ed8;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35),
              0 0 22px rgba(37, 99, 235, 0.12);
  overflow-x: auto;
}

.alerts-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.alerts-table thead th {
  color: #93c5fd;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 16px;
  border-bottom: 1px solid #1e3a8a;
  background: rgba(15, 23, 42, 0.95);
  text-align: left;
}

.alerts-table tbody tr {
  transition: background 0.15s ease, transform 0.15s ease;
}

.alerts-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.08);
}

.alerts-table td {
  color: #e5e7eb;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.75);
  font-size: 14px;
  vertical-align: middle;
}

.alerts-table td:first-child {
  color: #f8fafc;
  font-weight: 700;
}

.alerts-table td:nth-child(2) {
  color: #cbd5e1;
  line-height: 1.45;
}

.alerts-table button {
  border: 1px solid #2563eb;
  background: #0b1220;
  color: #bfdbfe;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  margin-right: 6px;
  transition: all 0.15s ease;
}

.alerts-table button:hover {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.35);
}

.alerts-table button:last-child {
  border-color: #334155;
  color: #cbd5e1;
}

.alerts-table button:last-child:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: white;
}

@media (max-width: 768px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .iframecontainer {
    position: relative;
    width: 100%;
    height: calc(100dvh - 25px - 55px);   /* temporary test */
    min-height: 0;
    max-height: none;
    aspect-ratio: unset;
    overflow: visible;
  }

  .iframecontainer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  .footer {
    display: none;
  }

  #alertsTab {
    padding: 12px;
    background: #020817;
    min-height: calc(100vh - 80px);
  }

  .alerts-table th {
    font-size: 10px;
    padding: 10px 8px;
  }

  .alerts-table td {
    font-size: 10px;
    padding: 12px 8px;
  }

  .alerts-table .action-btn {
    font-size: 10px;
    padding: 6px 10px;
  }

  .alerts-query {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
  }

    .alerts-table td:first-child {
    font-size: 10px;
    font-weight: 600;
  }

}

