/*.bk-account-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 100;
  border: none;
  font-size: 20px;
  transition: transform 0.2s, background-color 0.2s;
} OLD STYLE NOT USED*/

.account-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; 
  /* Assume header text is white or contrasting */
  position: absolute; /* or fixed depending on design */
  top: 25px;
  left: 25px; /* "account icon top left" */
  z-index: 2000;
  transition: transform 0.2s;
}
.account-icon-btn:hover {
  transform: scale(1.1);
}
.account-icon-btn svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
/* Logged in state dot */
.account-icon-btn.logged-in::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  border: 1px solid white;
}

/* Modal Overlay */
.account-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5); /* Semi-transparent backdrop */
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.account-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.account-modal {
  background: #fff;
  width: 90%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 90vh; /* Allow scrolling if long history */
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.account-overlay.active .account-modal {
  transform: translateY(0);
}

.acc-header {
  padding: 16px 20px;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.acc-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-family: inherit;
  font-weight: 500;
}
.acc-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.acc-body {
  padding: 20px;
  overflow-y: auto;
}

/* Forms */
.acc-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.acc-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.acc-field label {
  font-size: 0.85rem;
  color: #555;
  font-weight: 500;
}
.acc-field input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
.acc-btn {
  background: #111;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 8px;
  transition: background 0.2s;
}
.acc-btn:hover {
  background: #333;
}
.acc-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.acc-link {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 10px;
  color: #555;
}
.acc-link button {
  background: none;
  border: none;
  color: #000;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
  padding: 0 4px;
}

/* Forgot password link */
.acc-forgot {
  text-align: right;
  margin-top: 2px;
  margin-bottom: -4px;
}
.acc-forgot button {
  background: none;
  border: none;
  color: #888;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.acc-forgot button:hover {
  color: #111;
  text-decoration: underline;
}

/* Dashboard */
.acc-dashboard {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dash-section h3 {
  margin: 0 0 10px 0;
  font-size: 1rem;
  color: #111;
  border-bottom: 2px solid #eee;
  padding-bottom: 6px;
}
.booking-card {
  background: #f8f9fa;
  border: 1px solid #eee;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.booking-card.upcoming {
  border-left: 4px solid #4CAF50;
}
.booking-card.past {
  border-left: 4px solid #9e9e9e;
  opacity: 0.8;
}
.bk-date {
  font-weight: 700;
  font-size: 1.05rem;
  display: block;
  color: #111;
}
.bk-detail {
  font-size: 0.9rem;
  color: #444;
  margin: 2px 0;
}
.bk-price {
  font-weight: 600;
  color: #111;
}

.booking-notes{
  margin-top:6px;
  padding-top:6px;
  border-top:1px solid #f0f0f0;
}
.booking-notes-label{
  font-size:10px;
  font-weight:600;
  color:#888;
  text-transform:uppercase;
  letter-spacing:0.5px;
  margin-bottom:2px;
}
.booking-notes-text{
  font-size:12px;
  color:#333;
  background:#fffbeb;
  padding:6px 8px;
  border-radius:6px;
  border-left:3px solid #f59e0b;
  line-height:1.3;
}

.acc-dash-btn {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.btn-edit {
  background: #2c2c2e;
  color: #ffffff;
}
.btn-edit:hover {
  background: #1c1c1e;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.btn-logout {
  background: #e53935;
  color: #ffffff;
}
.btn-logout:hover {
  background: #c62828;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(229, 57, 53, 0.3);
}

/* Responsive adjustments if needed */
@media (max-width: 480px) {
  .account-modal {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
}

.acc-cancel-btn {
  background: #ff4d4d;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}
.acc-cancel-btn:hover {
  background: #d93636;
}
.acc-cancel-btn:disabled {
  background: #ffcccc;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .account-icon-btn {
    top: 85px;
    left: 20px;
  }
}
