/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    min-height: 100vh;
    position: relative;
}

/* ===== COMMON UTILITIES ===== */
.highlight {
    color: #4A6FFF;
}

.btn-primary {
    background: rgba(29, 71, 186);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 111, 255, 0.3);
}

.btn-secondary {
    background: rgba(27, 33, 53);
    color: #fff;
    border: 2px solid #222737;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: #4A6FFF;
    background: #F8FAFC;
    color: #4A6FFF;
}

.or {
    text-align: center;
}

/* ===== LANDING PAGE ===== */
.landing-page {
    background: linear-gradient(
  180deg,
  rgba(29, 71, 186) 0%,
  rgb(1, 8, 30) 50%
);
    color: white;
    min-height: 100vh;
}

.landing-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 40px 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
}

.landing-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.landing-subtitle {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.5;
}

.landing-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.pagination-dots {
    display: flex;
    justify-content: left;
    gap: 8px;
    margin-bottom: 24px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s;
}

.dot.active {
    background: #0442fd;
    width: 24px;
    border-radius: 4px;
}

.auth-footer {
    text-align: center;
}
.create-account {
    color: #043ef0;
    font-weight: bold;
}

.skip-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.skip-link:hover {
    color: white;
}

/* ===== DASHBOARD PAGE ===== */
.dashboard-page {
background: linear-gradient(
  180deg,
  rgba(27, 64, 168) 0%,
  rgb(1, 8, 30) 80%
);    min-height: 100vh;
    padding-bottom: 80px; 
}

.dashboard-header {
    background: rgba(25, 56, 149);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left .app-name {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.user-greeting {
    font-size: 32px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 25px;
}

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

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);

    background: rgba(255, 255, 255, 0.12); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: #ffffff;
    font-size: 16px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 0.2),
      0 4px 12px rgba(0, 0, 0, 0.2);

    transition: background 0.2s, transform 0.15s;
}


.icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.icon-btn:active {
    transform: scale(0.95);
}


.notification-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    background: #ff3b30;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
    color: white;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== RIGHT SIDEBAR ===== */
body.sidebar-open {
    overflow: hidden;
}
.right-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        rgba(27, 64, 168, 0.95) 0%,
        rgba(1, 8, 30, 0.95) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.right-sidebar.active {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.sidebar-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 90px;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4A6FFF, #38bdf8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.user-info h4 {
    color: #fff;
    margin: 0 0 4px 0;
    font-size: 16px;
}

.user-info p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 12px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
}

.sidebar-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-menu-item.active {
    background: rgba(74, 111, 255, 0.2);
    border-left: 3px solid #4A6FFF;
}

.sidebar-menu-item i:first-child {
    width: 20px;
    text-align: center;
    font-size: 18px;
}

.sidebar-menu-item span {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.sidebar-menu-item.logout {
    color: #ff6b6b;
    margin-top: 10px;
}

.sidebar-menu-item.logout:hover {
    background: rgba(255, 107, 107, 0.1);
}

@media (max-width: 768px) {
    .right-sidebar {
        width: 250px;
    }
}

.dashboard-main {
    padding: 20px;
}

.ads {
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 18px;
    opacity: 0.9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ads img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.ads p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: #333;
}

.promo-card {
    position: relative;

    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(255, 255, 255, 0.12) 100%
    );

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;

    padding: 22px;
    margin-bottom: 24px;

    color: #ffffff;

    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 0.35),
      0 14px 32px rgba(0, 0, 0, 0.28);
}


.promo-card h2 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 600;
}

.promo-card p {
    opacity: 0.6;
    margin-bottom: 20px;
    font-size: 10px;
}

.promo-buttons {
    display: flex;
    justify-content: flex-start;

    .right-btn {
        margin-left: 5px;
    }
}

.btn-chat {
    background: #0444fd;
    color: #fff;
    border: none;
    padding: 12px 10px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.btn-chat:hover {
    transform: translateY(-2px);
}

.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.action-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px; 

    background: linear-gradient(
        135deg,
        rgba(56, 189, 248, 0.8),
        rgba(59, 130, 246, 0.5),
        rgba(14, 165, 233, 0.3)
    );

    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;

    pointer-events: none;
}

.action-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;

    padding: 18px;
    border-radius: 18px;

    background: rgba(10, 15, 25, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: none;

    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 0.05),
      0 10px 30px rgba(0, 0, 0, 0.6);

    cursor: pointer;
}

.action-card:hover {
    transform: translateY(-4px);
box-shadow:
      0 0 0 1px rgba(59, 130, 246, 0.4),
      0 12px 36px rgba(0, 0, 0, 0.8);
    border-color: #4A6FFF;
}
.action-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.action-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;

    background: radial-gradient(
      circle at top,
      #38bdf8,
      #2563eb
    );

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-size: 18px;
}

.action-card h3 {
    font-size: 14px;
    margin-bottom: 8px;
    color: #fff;
}

.action-arrow {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
}

.chat-history {
    margin-top: 24px;
}

.chat-history-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.chat-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1F2937;
    padding: 8px 16px;
    border-radius: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.chat-history-item:hover {
    background: #374151;
}

.chat-history-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-icon {
    font-size: 16px;
    color: #fff;
}

.chat-text {
    color: #E5E7EB;
    font-size: 14px;
    font-weight: 500;
}

.chat-arrow {
    color: #9CA3AF;
    font-size: 18px;
}


/* ================= PHONE VERIFY MODAL ================= */

.phone-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);

  display: none;
  justify-content: center;
  align-items: center;

  backdrop-filter: blur(6px);
  z-index: 9999;
}

.phone-modal-content {

  width: 320px;
  padding: 26px;

  border-radius: 18px;

  background: linear-gradient(
      180deg,
      rgba(27,64,168,0.95) 0%,
      rgba(1,8,30,0.95) 100%
  );

  color: white;

  box-shadow:
      0 20px 40px rgba(0,0,0,0.5),
      inset 0 1px 1px rgba(255,255,255,0.2);

  display: flex;
  flex-direction: column;
  gap: 12px;

  animation: fadeIn 0.25s ease;
}

.phone-modal-content h3 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 10px;
}

/* inputs */

.phone-modal-content input {

  padding: 12px 14px;
  border-radius: 12px;

  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);

  color: white;
  font-size: 14px;
  outline: none;
}

.phone-modal-content input::placeholder {
  color: rgba(255,255,255,0.5);
}

.phone-modal-content input:focus {
  border-color: #4A6FFF;
  box-shadow: 0 0 0 2px rgba(74,111,255,0.3);
}

/* buttons */

.phone-modal-content button {

  padding: 12px;
  border-radius: 12px;

  border: none;
  cursor: pointer;

  font-size: 14px;
  font-weight: 600;

  transition: transform 0.15s, box-shadow 0.15s;
}

/* send code */

#sendCodeBtn {
  background: linear-gradient(135deg,#4A6FFF,#3A5BDB);
  color: white;
}

#sendCodeBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(74,111,255,0.4);
}

/* verify */

#verifyCodeBtn {
  background: #22c55e;
  color: white;
}

#verifyCodeBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(34,197,94,0.35);
}

/* close */

#closePhoneModal {
  background: rgba(255,255,255,0.1);
  color: white;
}

#closePhoneModal:hover {
  background: rgba(255,255,255,0.2);
}

/* ================= PHONE WARNING BANNER ================= */

#phoneWarningBanner {

  position: sticky;
  top: 0;
  z-index: 500;

  background: linear-gradient(135deg,#ef4444,#dc2626);

  color: white;

  padding: 14px 16px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;

  font-size: 14px;
  font-weight: 500;

  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* verify button */

#verifyPhoneBtn {

  background: white;
  color: #dc2626;

  border: none;
  padding: 8px 14px;

  border-radius: 20px;

  font-weight: 600;
  font-size: 13px;

  cursor: pointer;

  transition: transform 0.15s, box-shadow 0.15s;
}

#verifyPhoneBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.phone-modal-content {
  animation: modalPop 0.2s ease;
}

/* Optional: subtle ad styling */
/* .chat-history-item.ad {
    opacity: 0.85;
} */


/* ===== BOTTOM NAVIGATION ===== */
.bottom-nav {
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    height: 64px;
    background: #0F172A;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    z-index: 1000;
}

.nav-btn {
    flex: 1;
    height: 48px;
    margin: 0 4px;
    border-radius: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    font-size: 20px;
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.2);

    transition: background 0.2s, transform 0.15s;
}


.nav-btn:hover {
    background: #1E293B;
    color: #E5E7EB;
}

.nav-btn.active {
    background: rgba(37, 99, 235, 0.45);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}


/* ===== CHAT PAGE ===== */
.chat-page {
    background: #0F172A;
    color: white;
    min-height: 100vh;
    padding-bottom: 80px; 
}

.dark-theme {
    background: #0F172A;
    color: white;
}

.chat-header {
    background: #1E293B;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #334155;
}

.back-btn {
    background: transparent;
    border: none;
    color: #CBD5E1;
    font-size: 20px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chat-header-center {
    flex: 1;
    text-align: center;
}

.provider-selector {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.provider-selector:hover {
    background: rgba(255, 255, 255, 0.15);
}

.provider-name {
    font-weight: 600;
    font-size: 16px;
}

.edit-btn {
    background: transparent;
    border: none;
    color: #CBD5E1;
    font-size: 18px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.edit-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chat-container {
    padding: 20px;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
}

.date-separator {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.date-separator span {
    background: #1E293B;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: #94A3B8;
}

.chat-messages {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    line-height: 1.4;
    position: relative;
}

.message.user {
    background: #4A6FFF;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message.bot {
    background: #334155;
    color: #E2E8F0;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.quick-reply-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #475569;
    color: #E2E8F0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-reply-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #4A6FFF;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px;
    align-self: flex-start;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #94A3B8;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

.chat-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1E293B;
    padding: 16px 20px;
    border-top: 1px solid #334155;
}

.input-container {
    display: flex;
    gap: 12px;
    align-items: center;
}

.input-container input {
    flex: 1;
    background: #334155;
    border: 1px solid #475569;
    color: white;
    padding: 12px 16px;
    border-radius: 24px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.input-container input:focus {
    border-color: #4A6FFF;
}

.input-container input::placeholder {
    color: #94A3B8;
}

.input-actions {
    display: flex;
    gap: 8px;
}

.send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #4A6FFF;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

/* .map-btn {
    background: #475569;
}

.map-btn:hover {
    background: #64748B;
    transform: scale(1.05);
} */

.send-btn:hover {
    background: #3A5BDB;
    transform: scale(1.05);
}

.suggestions-container {
    position: absolute;
    bottom: 100%;
    left: 20px;
    right: 20px;
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 12px;
    margin-bottom: 8px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.suggestions-header {
    padding: 12px 16px;
    border-bottom: 1px solid #334155;
    font-size: 14px;
    color: #94A3B8;
    font-weight: 500;
}

.suggestions-list {
    padding: 8px;
}

.suggestion-item {
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
}

.suggestion-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.suggestion-icon {
    color: #4A6FFF;
    font-size: 16px;
}

.suggestion-text {
    flex: 1;
}

.suggestion-main {
    font-weight: 500;
    margin-bottom: 2px;
    color: #E2E8F0;
}

.suggestion-secondary {
    font-size: 12px;
    color: #94A3B8;
}

.suggestion-item.saved {
  background: rgba(255, 255, 255, 0.05);
}

.suggestion-divider {
  padding: 6px 10px;
  font-size: 11px;
  opacity: 0.6;
  text-transform: uppercase;
}


.ride-time-options {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    margin: 10px 0;
}

.time-option-label {
    display: block;
    cursor: pointer;
    margin-bottom: 12px;
}

.time-option-label input[type="radio"] {
    display: none;
}

.time-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.time-option-label input[type="radio"]:checked + .time-option-content {
    background: rgba(74, 111, 255, 0.2);
    border-color: #4A6FFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(74, 111, 255, 0.2);
}

.time-option-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-option-text {
    flex: 1;
}

.time-option-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.time-option-text small {
    font-size: 12px;
    opacity: 0.7;
    display: block;
}

.schedule-fields {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    animation: fadeIn 0.3s ease;
}

.schedule-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #CBD5E1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.datetime-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.datetime-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.datetime-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #94A3B8;
}

.datetime-icon {
    font-size: 16px;
}

.datetime-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 12px 16px;
    color: white;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.datetime-input:focus {
    border-color: #4A6FFF;
    box-shadow: 0 0 0 3px rgba(74, 111, 255, 0.2);
}

.datetime-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.7;
    cursor: pointer;
}

.timezone-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #94A3B8;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.timezone-icon {
    font-size: 14px;
}

.confirm-time-btn {
    background: linear-gradient(135deg, #4A6FFF 0%, #3A5BDB 100%);
    color: white;
    border: none;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.confirm-time-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 111, 255, 0.4);
}

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

.passenger-selection {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    margin: 10px 0;
}

.passenger-title {
    font-size: 16px;
    margin-bottom: 20px;
    color: #E2E8F0;
    font-weight: 500;
}

.passenger-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.passenger-option {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.passenger-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.passenger-option-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.passenger-option.selected .passenger-option-content {
    background: rgba(74, 111, 255, 0.2);
    border-color: #4A6FFF;
}

.passenger-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.passenger-details {
    flex: 1;
}

.passenger-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #E2E8F0;
}

.passenger-desc {
    font-size: 14px;
    color: #94A3B8;
}

.passenger-check {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 12px;
    transition: all 0.3s ease;
}

.passenger-option.selected .passenger-check {
    background: #4A6FFF;
    border-color: #4A6FFF;
    color: white;
}

.passenger-hint {
    font-size: 12px;
    color: #94A3B8;
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rides-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    margin: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rides-header {
    margin-bottom: 24px;
}

.rides-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #E2E8F0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rides-subtitle {
    font-size: 14px;
    color: #94A3B8;
    margin-bottom: 12px;
}

.rides-schedule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74, 111, 255, 0.1);
    color: #4A6FFF;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.schedule-icon {
    font-size: 16px;
}

.rides-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ride-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.ride-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(74, 111, 255, 0.3);
}

.ride-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.provider-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.provider-name {
    font-size: 20px;
    font-weight: 700;
    color: #E2E8F0;
}

.provider-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #FBBF24;
}

.rating-star {
    color: #FBBF24;
}

.provider-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #CBD5E1;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ride-card-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #94A3B8;
    margin-bottom: 24px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.feature-icon {
    font-size: 16px;
    opacity: 0.8;
}

.ride-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ride-option {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.ride-option:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.option-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    width: fit-content;
}

.cheapest-badge {
    background: rgba(34, 197, 94, 0.2);
    color: #22C55E;
}

.fastest-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #3B82F6;
}

.badge-icon {
    font-size: 14px;
}

.option-type {
    font-size: 16px;
    font-weight: 600;
    color: #E2E8F0;
}

.option-price {
    font-size: 32px;
    font-weight: 800;
    color: #E2E8F0;
    line-height: 1;
}

.option-price::before {
    content: '€';
    font-size: 20px;
    opacity: 0.7;
}

.option-details {
    display: flex;
    gap: 16px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #94A3B8;
}

.detail-icon {
    font-size: 16px;
    opacity: 0.8;
}

.book-btn {
    background: linear-gradient(135deg, #4A6FFF 0%, #3A5BDB 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    margin-top: auto;
}

.book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 111, 255, 0.4);
}

.btn-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.book-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.scheduled-ride {
    background: linear-gradient(135deg, rgba(74, 111, 255, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 14px;
    padding: 24px;
    border: 1px solid rgba(74, 111, 255, 0.2);
}

.scheduled-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74, 111, 255, 0.2);
    color: #4A6FFF;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.scheduled-details {
    margin-bottom: 24px;
}

.ride-type {
    font-size: 20px;
    font-weight: 600;
    color: #E2E8F0;
    margin-bottom: 8px;
}

.ride-features {
    display: flex;
    gap: 20px;
    margin-top: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #94A3B8;
}

.book-btn-scheduled {
    background: linear-gradient(135deg, #4A6FFF 0%, #3A5BDB 100%);
    color: white;
    border: none;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.book-btn-scheduled:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 111, 255, 0.4);
}

.rides-footer {
    text-align: center;
    font-size: 12px;
    color: #94A3B8;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ride-card.bolt .provider-badge {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
}

.ride-card.uber .provider-badge {
    background: rgba(0, 0, 0, 0.2);
    color: #000;
}

.ride-card.ecabs .provider-badge {
    background: rgba(139, 92, 246, 0.2);
    color: #8B5CF6;
}

/* ================= MAP MODAL ================= */

.map-modal {
  position: fixed;
  inset: 0;
  background: #0f172a; 
  z-index: 9999;

  display: flex;
  flex-direction: column;
}

.map-modal.hidden {
  display: none;
}

/* ================= HEADER ================= */

.map-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 16px;
  background: #020617;
  color: #fff;

  font-size: 16px;
  font-weight: 600;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-modal-header button {
  background: transparent;
  border: none;
  color: #cbd5f5;
  font-size: 18px;
  cursor: pointer;

  transition: color 0.2s ease;
}

.map-modal-header button:hover {
  color: #fff;
}

/* ================= CONTROLS ================= */

.map-controls {
  padding: 12px 16px;
  background: #020617;

  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-controls input {
  padding: 12px 14px;
  border-radius: 12px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);

  color: #fff;
  font-size: 14px;
  outline: none;
}

.map-controls input::placeholder {
  color: #94a3b8;
}

.map-controls input:focus {
  border-color: #6366f1;
}

#useMyLocationBtn {
  padding: 12px;
  border-radius: 12px;

  border: none;
  background: #1e293b;
  color: #e5e7eb;

  font-size: 14px;
  font-weight: 500;
  cursor: pointer;

  transition: background 0.2s ease;
}

#useMyLocationBtn:hover {
  background: #334155;
}

/* ================= MAP ================= */

.map-container {
  flex: 1;
}

/* ================= FOOTER ================= */

.map-footer {
  padding: 14px 16px;
  background: #020617;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#confirmMapSelection {
  width: 100%;
  padding: 14px;

  border-radius: 14px;
  border: none;

  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;

  font-size: 15px;
  font-weight: 600;
  cursor: pointer;

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#confirmMapSelection:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

/* ================= GOOGLE AUTOCOMPLETE FIX ================= */

.pac-container {
  z-index: 10000 !important;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}


@media (max-width: 768px) {
    .ride-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .ride-card {
        padding: 16px;
    }
    
    .option-price {
        font-size: 28px;
    }
    
    .rides-container {
        padding: 16px;
    }
    
    .rides-title {
        font-size: 20px;
    }
}


/* ===== SUBSCRIPTION PAGE ===== */
.subscription-page {
    min-height: 100vh;
    background: radial-gradient(
        circle at top left,
        #0B2A6F,
        #020617 60%
    );
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont;
}

.subscription-header {
    position: relative;
    padding: 20px;
    display: flex;
    align-items: center;
}

.change-plan-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    pointer-events: none; 
}

.subscription-header h1 {
    display: none;
}

.back-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    color: #fff;
}


.subscription-container {
    padding: 24px 20px;
}

.subscription-title {
    text-align: left;
    margin-bottom: 32px;
}

.subscription-title h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.subscription-title .highlight {
    color: #3B82F6;
}

.subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-radius: 28px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.18);

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.25),
        0 20px 40px rgba(0,0,0,0.35);

    min-width: 310px;  
    max-width: 280px;

    scroll-snap-align: start;
    flex-shrink: 0;
}

.plan-header {
    border-bottom: none;
    text-align: left;
    padding-bottom: 0;
}

.plan-header h3 {
    font-size: 18px;
    opacity: 0.9;
}

.price {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
}

.period {
    color: rgba(255,255,255,0.6);
}


.feature-list {
    margin-left: 20px;
}

.feature-list li {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

.feature-list i {
    color: #ffffff;
    opacity: 0.9;
}


.btn-select-plan {
    background-color: #0443fd;
    color: white;
    border: none;
    width: 100%;
    padding: 12px 18px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 40px;
}

.btn-select-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 111, 255, 0.4);
}

.featured {
    background-color: #0443fd;

    .btn-select-plan {
        background-color: #fff;
        color: #0443fd;
    }
}

.terms-text {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.plans-wrapper {
    display: flex;
    gap: 16px;

    overflow-x: auto;
    overflow-y: visible;

    padding-bottom: 16px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.plans-wrapper::-webkit-scrollbar {
    display: none;
}
.plans-wrapper {
    scrollbar-width: none;
}

/* ===== CURRENT SUBSCRIPTION PLAN BUTTON ===== */

.btn-select-plan.current-plan,
.btn-select-plan:disabled {
  background: rgba(255, 255, 255, 0.06);
  color: #9ca3af;

  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: not-allowed;

  pointer-events: none; 
  opacity: 0.7;
}

.btn-select-plan.current-plan:hover,
.btn-select-plan:disabled:hover {
  transform: none;
  box-shadow: none;
}


/* ===== SAVED PLACES PAGE ===== */

.saved-page {
  min-height: 100vh;
  background: #f4f6fb;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.saved-header {
  display: flex;
  justify-content: flex-start;
}

#back-btn {
    color: #111;
}

.saved-content {
  flex: 1;
  position: relative;
  padding-top: 8px;
}

.saved-title {
  font-size: 22px;
  font-weight: 600;
  margin: 12px 0 8px;
  color: #0f172a;
}

.saved-subtitle {
  font-size: 14px;
  color: #64748b;
  max-width: 280px;
}

.saved-bg {
  position: absolute;
  inset: 0;
  background: url("assets/location.png") center bottom no-repeat;
  background-size: contain;
  opacity: 0.9;
  pointer-events: none;
}

.saved-footer {
  padding: 16px 0;
}

.primary-btn {
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  background: #0b0f2f;
  color: white;
  border: none;
  font-size: 14px;
  font-weight: 600;
}

.saved-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.saved-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0b0f2f;
  padding: 14px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}


.saved-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(11, 15, 47, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}


.saved-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.saved-info strong {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.saved-info span {
  font-size: 13px;
  color: #64748b;
  line-height: 1.3;
}

.delete-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 14px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.delete-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* ===== MODAL ===== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

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

.modal {
  width: 100%;
  max-width: 360px;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 20px;
  padding: 16px;
  color: white;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

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

.modal-header h2 {
  font-size: 16px;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.modal-input {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 14px;
  outline: none;
}

.modal-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.address-suggestions {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  overflow: hidden;
}

.suggestion {
  padding: 10px 12px;
  font-size: 13px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.suggestion:last-child {
  border-bottom: none;
}

.suggestion:hover {
  background: rgba(255, 255, 255, 0.08);
}

.modal-footer {
  margin-top: 14px;
}


.danger-btn {
  background: #ef4444;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.danger-btn:hover {
  background: #dc2626;
}

.modal-hint {
  font-size: 13px;
  color: #6b7280;
  margin-top: 6px;
}

/* ================= Address input with map icon ================= */

.address-input-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.address-input-wrapper .modal-input {
  padding-right: 44px;
}

.map-icon-btn {

  width: 80px;
  height: 40px;

  border: none;
  border-radius: 14px;

  background: #f3f4f6;         
  color: #4b5563;             
  cursor: pointer;

  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.map-icon-btn:hover {
  background: #e5e7eb;
  color: #111827;
}

.map-icon-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.map-icon-btn i {
  font-size: 15px;
}

.map-icon-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.4);
}


/* ===== PROFILE PAGE ===== */

.profile-page {
  background: linear-gradient(
    180deg,
    #2b3b6a 0%,
    #1f2c4c 55%,
    #01081e 100%
  );
  min-height: 100vh;
  color: white;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
}

.profile-header h1 {
  font-size: 18px;
  font-weight: 600;
}

.edit-btn {
  margin-left: auto; 
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 12px;
  color: white;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  width: 80px;
}

.edit-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.edit-btn i {
  font-size: 12px;
}

.back-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
}

.profile-content {
  padding: 20px;
}

.profile-photo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.profile-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 8px;
}

.change-photo {
  background: none;
  border: none;
  color: #60a5fa;
  font-size: 13px;
  cursor: pointer;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.form-group label span {
  color: #ef4444;
}

.form-group input,
.form-group select {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 14px;
  outline: none;
}

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

.form-group small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.full-width {
  width: 100%;
  margin-top: 16px;
}

.form-group select option {
    background-color: #01081e;
}

.registration-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(
  180deg,
  rgba(29, 71, 186) 0%,
  rgb(1, 8, 30) 50%
);
}

.registration-form {
    width: 300px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-radius: 28px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.18);

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.25),
        0 20px 40px rgba(0,0,0,0.35);
        color: #fff;
    text-align: center;
}

.registration-form input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.registration-form button {
  width: 100%;
  padding: 10px;
  background: rgba(29, 71, 186);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.registration-form button:hover {
  background: #0056b3;
}

/* ===== Account Page ===== */

.account-page {
    padding: 25px;
}

.account-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 20px;
}

.account-tab {
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.05);
  color: #000;
  cursor: pointer;
  white-space: nowrap;
}

.account-tab.active {
  background: #6366f1;
  color: #fff;
}

.account-section {
  display: none;
}

.account-section.active {
  display: block;
}

.membership-card {
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 18px;
  max-width: 520px;
}

.membership-badge {
  display: inline-block;
  background: #6366f1;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 12px;
}

.membership-row {
  margin: 10px 0;
  font-size: 14px;
}

.membership-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.membership-btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.membership-btn.primary {
  background: #6366f1;
  color: white;
}

.membership-btn.secondary {
  background: rgba(255,255,255,0.1);
  color: white;
}

/* ===============================
   SECURITY TAB
================================ */

.security-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  overflow: hidden;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.security-item:hover {
  background: #f9fafb;
}

.security-item:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.security-icon {
  font-size: 18px;
  color: #666;
  width: 24px;
  text-align: center;
}

.security-content {
  flex: 1;
}

.security-title {
  font-weight: 600;
  font-size: 15px;
  color: #111;
}

.security-subtitle {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.security-status {
  font-size: 12px;
  color: #16a34a;
  margin-top: 4px;
}

.security-arrow {
  font-size: 16px;
  color: #999;
}

/* SLIDE PANEL */
.slide-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #0f0f0f;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
  color: #fff;
}

.slide-panel.active {
  right: 0;
}

/* HEADER */
.slide-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* CONTENT */
.slide-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.slide-content label {
  font-size: 13px;
  opacity: 0.7;
}

.slide-content input {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #1c1c1c;
  color: white;
}

.error-text {
  color: #f87171;
  font-size: 13px;
}

/* ===== QUICK LINKS TAB ===== */

.quick-links-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.quick-link-item {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 18px 20px;
  cursor: pointer;

  font-size: 15px;
  font-weight: 500;
  color: #111827;

  transition: background 0.2s ease, transform 0.1s ease;
}

.quick-link-item:not(:last-child) {
  border-bottom: 1px solid #e5e7eb;
}

.quick-link-item i:first-child {
  width: 22px;
  text-align: center;
  font-size: 18px;
  color: #4b5563;
}

.quick-link-item span {
  flex: 1;
}

.quick-link-item i:last-child {
  font-size: 14px;
  color: #9ca3af;
}

.quick-link-item:hover {
  background: #f9fafb;
}

.quick-link-item:active {
  transform: scale(0.99);
}

.quick-link-item.danger {
  color: #dc2626;
}

.quick-link-item.danger i:first-child {
  color: #dc2626;
}

.quick-link-item.danger:hover {
  background: #fef2f2;
}

.account-page {
    /* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

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

.modal {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: 90%;
  max-width: 360px;
  text-align: center;
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.modal-text {
  font-size: 14px;
  color: #374151;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 10px;
}

.secondary-btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
}

.danger-btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #dc2626;
  color: #fff;
  cursor: pointer;
}

.danger-btn:hover {
  background: #b91c1c;
}

}

/* ===== PAYMENT HISTORY ===== */

.history-page {
  background: linear-gradient(
    180deg,
    #2b3b6a 0%,
    #1f2c4c 55%,
    #01081e 100%
  );
  min-height: 100vh;
  padding: 16px;
}

.history-container {
  padding: 16px;
}

.history-header {
 
    text-align: center;
    color: #fff;
}

.history-tabs {
  display: flex;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 16px;
}

.tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tab-btn.active {
  background: #4a6fff;
  color: #fff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.payment-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-amount {
  font-size: 18px;
  font-weight: bold;
}

.payment-status {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #e8f5e9;
  color: #2e7d32;
}

.payment-status.failed {
  background: #fdecea;
  color: #c62828;
}

.payment-meta {
  margin-top: 6px;
  font-size: 12px;
  color: #777;
}

.invoice-link {
  margin-top: 10px;
  display: inline-block;
  font-size: 13px;
  color: #4a6fff;
  text-decoration: none;
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}

.empty-state i {
  font-size: 36px;
  margin-bottom: 12px;
  color: #ccc;
}


/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 768px) {
    .landing-container {
        max-width: 500px;
        padding: 60px 40px;
    }
    
    .landing-title {
        font-size: 40px;
    }
    
    .dashboard-main {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .chat-container {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .voice-container {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .subscription-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

.dark-theme ::-webkit-scrollbar-track {
    background: #1E293B;
}

.dark-theme ::-webkit-scrollbar-thumb {
    background: #475569;
}

.dark-theme ::-webkit-scrollbar-thumb:hover {
    background: #64748B;
}