/*
 * Droidfirm
 * Copyright 2025 Droidfirm LLC.
 * Licensed under MIT ()
 */
:root {
  --hnp-white: #ffffff;
  --hnp-orange: #fc9506;
  --hnp-dark-brown: #6c3015;
  --hnp-dark: #222222;
  --hnp-black: #000000;
  --hnp-light-gray: #f6f6f6;
  --hnp-gradient-white: #737373;
  --hnp-gradient-black: #737373;
}
@font-face {
  font-family: "OswaldRegular";
  src: url("font/Oswald-Regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "OswaldBold";
  src: url("font/Oswald-Bold.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "PoppinsLight";
  src: url("font/Poppins-Light.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "PoppinsMedium";
  src: url("font/Poppins-Medium.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "PoppinsRegular";
  src: url("font/Poppins-Regular.woff2") format("woff2");
  font-display: swap;
}
body {
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
      overflow-x: hidden;
    overflow-y: scroll;
  scrollbar-width: 0; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none; /* Safari and Chrome */
}

h1,
.h1 {
  font-family: "OswaldBold";
  letter-spacing: 0%;
  text-decoration: none;
  font-weight: bold;
  font-size: 15.625vw;
  line-height: 15.625vw;
  margin: 0;
}

h2,
.h2 {
  font-family: "OswaldBold";
  letter-spacing: 0px;
  text-decoration: none;
  font-weight: 700;
  font-size: 10.4167vw;
  line-height: 10.4167vw;
  margin: 0;
}

h3,
.h3 {
  font-family: "OswaldBold";
  letter-spacing: 0%;
  text-decoration: none;
  font-weight: 700;
  font-size: 5.21vw;
  line-height: 5.21vw;
}

h4,
.h4 {
  font-family: "OswaldBold";
  letter-spacing: 0%;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5625vw;
  line-height: 2.0833vw;
  margin: 0;
}

h5,
.h5 {
  font-family: "PoppinsMedium";
  letter-spacing: 0%;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.6667vw;
  line-height: 2.0833vw;
  margin: 0;
}

h6,
.h6 {
  font-family: "PoppinsLight";
  letter-spacing: 25%;
  text-decoration: none;
  font-weight: 300;
  font-size: 32px;
  margin: 0;
}

.h7 {
  font-family: "PoppinsMedium";
  letter-spacing: 0%;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.0417vw;
  line-height: 20px;
}

.h8 {
  font-family: "PoppinsLight";
  letter-spacing: 0%;
  text-decoration: none;
  font-weight: 300;
  font-size: 16px;
}

p {
  font-family: "PoppinsRegular";
  letter-spacing: 0%;
  text-decoration: none;
  font-weight: 400;
  font-size: 1.0417vw;
  line-height: 1.5625vw;
  margin: 0;
}

a {
  font-family: "PoppinsRegular";
  letter-spacing: 0%;
  text-decoration: none;
  font-weight: 400;
  color: inherit;
}

a:hover {
  transform: scale(1.04);
}

.text-white {
  color: var(--hnp-white);
}

.text-black {
  color: #000000;
}

.text-dark {
  color: var(--hnp-dark);
}

.text-primary {
  color: var(--hnp-dark-brown);
}

.text-secondary {
  color: var(--hnp-gradient-white);
}

.text-warning {
  color: var(--hnp-orange);
}
.btn-primary {
  color: var(--hnp-white) !important;
  background-color: var(--hnp-dark-brown);
  border-radius: 1vw;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5vw 1.2vw;
  box-sizing: border-box;
}

.btn-primary p {
  font-size: 1.0417vw;
  line-height: 1.5625vw;
  font-weight: 500;
}

.btn-sm {
  color: var(--hnp-black);
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  width: 100%;
  border: 0.052084vw solid var(--hnp-dark-brown);
  border-radius: 0.52084vw;
  height: 3.2292vw;
  box-sizing: border-box;
  justify-content: center;
}
.btn {
  color: var(--hnp-black);
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  width: max-content;
  padding: 1vw;
  border: 0.052084vw solid var(--hnp-dark-brown);
  border-radius: 0.52084vw;
  height: 3.2292vw;
  box-sizing: border-box;
  justify-content: center;
}

.btn-sm.active {
  color: var(--hnp-white);
  background-color: var(--hnp-dark-brown);
}

.btn-sm p {
  font-size: 1.04167vw;
  line-height: 1.5625vw;
}

.btn-primary:hover {
  transform: scale(1.04);
}

.p-absolute {
  position: absolute;
}

.p-relative {
  position: relative;
}

.p-fixed {
  position: fixed;
}

.d-flex {
  display: flex;
}

.d-block {
  display: block;
}

.d-none {
  display: none;
}

.m-0 {
  margin: 0;
}

.mb-1 {
  margin-bottom: 0.83vw;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mh-5 {
  margin: 0 5px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-20 {
  margin-top: 20px;
}

.w-100 {
  width: 100%;
}

.w-54 {
  width: 54%;
}

.w-445 {
  width: 44.5%;
}
.icon {
    width: 1.0417vw;
  height: 1.0417vw;
}
.bb-primary {
  border-bottom: 1px solid var(--hnp-dark-brown);
}

.fs-14 {
  font-size: 1.0417vw;
  line-height: 20px;
}

.flex-direction-column {
 flex-direction: column;
}

.justify-content-flex-end {
  justify-content: flex-end;
}

.justify-content-space-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.btn-round-primary {
  width: 3.854vw;
  height: 3.854vw;
  background-color: var(--hnp-dark-brown);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-outline-primary {
  padding: 6px 18px;
  border: 1px solid var(--hnp-dark-brown);
  border-radius: 6px;
  cursor: pointer;
}

.btn-outline-primary p {
  font-size: 1.0417vw;
  font-weight: 500;
}
@keyframes zoomOut {
    0% {
        transform: scale(1.6);   /* start zoomed in */
    }
    100% {
        transform: scale(1);     /* end normal */
    }
}
    .in-view {
        transform: scale(1) !important; /* zoom-out */
    }
.lazy-item {
  opacity: 0;
  transition: all 0.8s ease;
}

/* Different animation types */
.lazy-item.fade-up {
  transform: translateY(50px);
}

        .lazy-item.fade-down {
            transform: translateY(-50px);
        }

        .lazy-item.fade-left {
            transform: translateX(50px);
        }

        .lazy-item.fade-right {
            transform: translateX(-50px);
        }

        .lazy-item.zoom {
            transform: scale(0.8);
        }

        .lazy-item.rotate {
            transform: rotate(10deg) scale(0.9);
        }

        /* Animation states */
        .lazy-item.animate {
            opacity: 1;
            transform: translateY(0) translateX(0) scale(1) rotate(0);
        }

        /* Delay classes for staggered animations */
        .lazy-item.delay-1 {
            transition-delay: 0.1s;
        }

        .lazy-item.delay-2 {
            transition-delay: 0.2s;
        }

        .lazy-item.delay-3 {
            transition-delay: 0.3s;
        }

        .lazy-item.delay-4 {
            transition-delay: 0.4s;
        }

        .lazy-item.delay-5 {
            transition-delay: 0.5s;
        }
                .date-picker-container {
                  background-color: #f6f6f6;
    background-color: #f6f6f6db;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    margin-top: 10px;
    display: none;
    position: absolute;
    z-index: 4;
    top: 20px;
    left: 0;
    width: 390px;
        }
        
        .date-picker-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.78125vw;
        }
        
        .date-picker-header button {
    background: var(--hnp-dark-brown);
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 50%;
    transition: background 0.2s;
        }
        
        .date-picker-header button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }
        
        .date-picker-header h3 {
color: var(--hnp-dark);
    font-weight: 600;
    margin: 0;
    font-size: 30px;
    line-height: 30px;
        }
        
        .date-picker-calendar {
            width: 100%;
            border-collapse: collapse;
        }
        
        .date-picker-calendar th {
            padding: 0.5208vw 0;
            color: #666;
            font-weight: 500;
            text-align: center;
            font-family: 'PoppinsRegular';
            width: 3.4375vw;
        }
        
        .date-picker-calendar td {
            padding: 8px 0;
            text-align: center;
            cursor: pointer;
            border-radius: 5px;
            transition: background 0.2s;
            color: #222222;
            font-family: 'PoppinsRegular';
                border: 2px solid #f6f6f6;
        }
        
        .date-picker-calendar td:hover:not(.other-month) {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
        
        .date-picker-calendar .current-day {
            background: var(--hnp-orange);
            color: white;
        }
        
        .date-picker-calendar .selected {
    background: var(--hnp-dark-brown);
    color: white;
    font-weight: bold;
        }
        
        .date-picker-calendar .other-month {
            color: #9d9d9d;;
        }
        .login-section {
            position: relative;
            height: 52.084vw;
            overflow: hidden;
            display: flex;
            justify-content: center;
        }
        .login-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}
        
        .login-container {
                background-color: #f6f6f6d9;
                backdrop-filter: blur(5px);
                padding: 2vw;
                border-radius: 0.625vw;
                border: 1px solid #DFE1E7;
                box-shadow: 0px 0.8333vw 1.6667vw -0.0521vw #80889733;
                width: 52vw;
                text-align: center;
                animation: fadeIn 0.5s ease;
                box-sizing: border-box;
                height: 48vw;
                margin-top: 2vw;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .login-logo {
            width: 16vw;
        }
        

        

        
        .login-header h4 {
            margin: 0;
        }
        

        .login-form .username,
    .login-form .password {
        width: 100%;
        height: 7.604vw;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }
.username input,
    .password input {
        background: #F6F6F6;
        height: 5.2083vw;
        width: 100%;
        border: none;
        outline: none;
        border-radius: 0.78125vw;
        padding-left: 2.6042vw;
        font-size: 1.0417vw;
        line-height: 1.5625vw;
        box-sizing: border-box;
    }        
        .login-btn {
            background: #6c3015;
            color: white;
            border: none;
            padding: 0;
            border-radius: 0.78125vw;
            font-family: 'PoppinsRegular';
            font-size: 1.0417vw;
            line-height: 1.5625vw;
            cursor: pointer;
            transition: all 0.3s;
            height: 5.2083vw;
        }
        
        .login-btn:hover {
            background: #8a4221;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(108, 48, 21, 0.3);
        }
        
        .login-btn:active {
            transform: translateY(0);
        }
        

        
        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .alert-danger {
            color: #f31212;
        }
        
        .alert-info {
            background: #d1ecf1;
            color: #0c5460;
            border: 1px solid #bee5eb;
        }
        
        .password-toggle {
            position: relative;
        }
        
        .password-toggle .toggle-btn {
            position: absolute;
            right: 1vw;
            top: 70%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #666;
            cursor: pointer;
            padding: 0.5vw;
            font-size: 1.5625vw;
        }
        
        .login-footer {
            margin-top: 2vw;
        }
        
        .login-footer a {
            color: #6c3015;
            text-decoration: none;
            font-weight: 600;
        }
        
        .login-footer a:hover {
            text-decoration: underline;
        }
.admin-container {
}
.sidebar {
    width: 14vw;
    padding: 1vw;
    box-sizing: border-box;
    position: fixed;
    background-color: #f6f6f6d9;
    backdrop-filter: blur(5px);
    height: 100vh;
}
.nav-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}
.nav-item {
        font-weight: 400;
        font-size: 1.217vw;
        line-height: 1.5625vw;
        height: 5vw;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #6c301512;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 1vw;
}
.nav-link i {font-size: 1.5625vw;line-height: 1.5625vw;color: var(--hnp-dark-brown);}
.main-content {
    width: 86vw;
    position: absolute;
    right: 0;
    padding: 6vw 2vw;
    box-sizing: border-box;
    font-family: 'PoppinsRegular';
}
.logo {
    height: 5.2083vw;
}
.navbar  {
    position: fixed;
    top: 0;
    left: 14vw;
    width: 85.954vw;
    height: 6vw;
    z-index: 3;
    background-color: #f6f6f6d9;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
} 
    
  .date-display {
    color: #666;
    font-size: 14px;
}


/* Dashboard Grid */
.dashboard-grid {
    display: flex;
    gap: 1vw;
    margin-bottom: 3vw;
    flex-direction: column;
}

@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Charts */
.chart-container {
    width: 100%;
    background: white;
    border-radius: 1.5vw;
    padding: 1vw;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

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

.chart-header h5 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

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

.chart-actions select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
}

.chart-content {
    height: 32vw;
    position: relative;
}
.chart-content canvas {
    /* height: 32vw !important; */
    /* width: 80vw !important; */
}
/* Tables */
.table-container {
    background: white;
    border-radius: 1.5vw;
    padding: 2vw 1vw;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow-x: auto;
    scrollbar-width: none;
    box-sizing: border-box;
    width: 40vw;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1vw;
}

.table-header h5 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.view-all {
    font-size: 1.0417vw;
    line-height: 1.5625vw;
    color: var(--hnp-dark-brown);
    text-decoration: none;
}

.view-all:hover {
    text-decoration: underline;
}

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

.table-container tr {
    border-left: 0.2vw solid rgb(0 0 0 / 0%);
}

.table-container .tr-confirmed {
    border-color: var(--hnp-dark-brown);
}

.table-container .tr-pending {
    border-color: #f6f6f6;
}
.table-container .tr-pending:hover {
    background: #f6f6f6;
}
.table-container .tr-completed {
    border-color: green;
}


.table-container .tr-completed:hover {
    background: #40ff403d;
}

.table-container .tr-cancelled {
    border-color: #ff0000;
}
.table-container .tr-cancelled:hover {
    background: #ff00002e;
}
.table-container .tr-contacted {
    border-color: green;
}
.table-container .tr-contacted:hover {
    background: #0080002e;
}
.table-container .tr-booked {
    border-color: green;
}
.table-container .tr-booked:hover {
    background: #0080002e;
}
.table-container .tr-quoted {
    border-color: green;
}
.table-container .tr-quoted:hover {
    background: #0080002e;
}
.table th {
    padding: 0.5vw 1vw;
    text-align: left;
    font-weight: 600;
    color: var(--hnp-black);
    font-size: 1vw;
    line-height: 1.2vw;
    text-transform: uppercase;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.table td {
    padding: 1vw;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.0417vw;
    line-height: 1.5625vw;
    vertical-align: middle;
}

.table tbody tr:hover {
    background: #f8f9fa;
}

/* Status badges */
.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.badge-pending { background: #fff3cd; color: #856404; }
.badge-confirmed { background: #d4edda; color: #155724; }
.badge-completed { background: #d1ecf1; color: #0c5460; }
.badge-cancelled { background: #f8d7da; color: #721c24; }
.badge-contacted { background: #cfe2ff; color: #084298; }
.badge-booked { background: #d4edda; color: #155724; }
.badge-quoted { background: #d1ecf1; color: #0c5460; }
    .table {
    border-collapse: collapse;
}
/* Type badges */
.type-badge {
    padding: 0.5vw;
    border-radius: 0.5vw;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.0417vw;
    line-height: 1.5625vw;
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
}

.type-badge.car {background: yellow;color: #000000;border: 0.1vw solid var(--hnp-gradient-black);}
.type-badge.flight { background: #d4edda; color: #155724; }
.type-badge.destination {background: #fc9506;co;color: #ffffff;}
.type-badge.package {background: linear-gradient(135deg, var(--hnp-dark-brown), var(--hnp-orange)) !important;color: var(--hnp-white);}


/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.action-btn {
    background: white;
    border: none;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.action-icon.blue { background: var(--hnp-orange); }
.action-icon.green { background: #2ecc71; }
.action-icon.purple { background: #9b59b6; }
.action-icon.red { background: #e74c3c; }
.action-icon.orange { background: #f39c12; }

.action-label {
    font-size: 12px;
    font-weight: 500;
    color: #333;
}

/* Bottom Grid */
.bottom-grid {
    display: flex;
    gap: 2vw;
    flex-direction: row;
    flex-wrap: wrap;
}

/* Loading */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #7f8c8d;
}

/* Chart Colors */
.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1vw;
    margin-top: 1vw;
    font-size: 1.5vw;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-color {
    width: 1.5vw;
    height: 1.5vw;
    border-radius: 1.5vw;
}  
   .tours-grid {
  display: grid;
  width: 81.97vw;
  grid-template-columns: repeat(auto-fill, minmax(20.0625vw, 1fr));
  grid-auto-rows: 23.9584vw;
  grid-auto-flow: dense;
  gap: 1.56vw;
  justify-content: center;
}

.tours-grid .tour-card {
  background: #d9d9d9;
  border-radius: 1.302084vw;
  position: relative;
  cursor: pointer;
}

.tour-card.square {
  grid-row: span 1;
  grid-column: span 1;
}

    .tour-card.port {
        grid-row: span 2;
        grid-column: span 1;
    }

    .tour-card.land {
        grid-row: span 1;
        grid-column: span 2;
    }

    .tour-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 1.302084vw;
        position: absolute;
    }

    .tour-card-gradient {
        width: 100%;
        height: 50%;
        background: linear-gradient(0deg, #222222 66.19%, rgba(34, 34, 34, 0) 100%);
        position: absolute;
        top: 50%;
        border-bottom-left-radius: 1.302084vw;
        border-bottom-right-radius: 1.302084vw;
        transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    top 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    background 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    border-radius 0.4s ease;
    }

    .tour-card.square:hover .tour-card-gradient {
        background: #000000;
        opacity: 75%;
        width: 100%;
        height: 100%;
        top: 0;
        border-radius: 1.302084vw;
    }

    .tour-info {
        position: absolute;
        bottom: 1.04167vw;
        left: 1.04167vw;
        height: max-content;
        width: 89%;
        gap: 1vw;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    top 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    gap 0.4s ease;
    }

    .tour-card.square.active .tour-info,
    .tour-card.square:hover .tour-info {
        bottom: 0;
        left: 0;
        height: 100%;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 1.04167vw;
    }

    .tour-card.square.active .tour-info h5,
    .tour-card.square:hover .tour-info  h5 {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        text-align: center;
    }
    .tour-card h5 {
        margin: 0;
        font-size: 1.6667vw;
        line-height: 2.0833vw;
        color: var(--hnp-white);
        max-width: max-content;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tour-card .tour-des {
        display: flex;
        color: var(--hnp-white);
        justify-content: space-between;
        width: 100%;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

.tour-card:hover .tour-des {
    justify-content: center;
    gap: 1.04167vw;
}

.tours-grid.list-view .tour-info .tour-des {
    gap: 0.5208vw;
    color: var(--hnp-black);
    flex-direction: column;
    width: 18.64584vw;
    position: absolute;
    right: 0;
    top: 2.8125vw;
}
.tours-grid.list-view .tour-location{
  position:absolute;
  left: -39.37832vw;
  top: -3.02084vw;
}
    .tour-des .tour-location p,
    .tour-des .tour-price p,
    .tour-des .tour-duration p {
        font-size: 0.83334vw;
        line-height: 1.04167vw;
        display: flex;
        gap: 0.5208vw;
        align-items: center;
    }
.tours-grid.list-view .tour-location p{
        font-size: 1.0417vw;
        line-height: 1.5625vw;
        text-transform: uppercase;
        color: var(--hnp-dark-brown);
}
.tours-grid.list-view .tour-location p i{
        color: var(--hnp-dark-brown) !important;
}
.tours-grid.list-view .tour-price p, .tours-grid.list-view .tour-duration p{
        font-size: 1.0417vw;
        line-height: 1.5625vw;
}
.tours-grid.list-view .tour-price p i, .tours-grid.list-view .tour-duration p i{
        color: var(--hnp-black) !important;
}
    .tour-card .tour-desc {
        display: block;
    }

    .tour-card.square .tour-desc {
        display: flex;
        text-align: center;
        align-items: center;
        flex-direction: column;
        overflow: hidden;
        max-height: 0;
        gap: 1.04167vw;
        transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) ease;
    }

    .tour-card.square.active .tour-desc,
    .tour-card.square:hover .tour-desc {
        display: flex;
        max-height: max-content;
        text-align: center;
        align-items: center;
        flex-direction: column;
        gap: 1.04167vw;
    }

    .tour-card .tour-desc p {
        font-size: 1.0417vw;
        line-height: 1.5625vw;
        color: var(--hnp-black);
        opacity: 75%;
        max-width: 34.375vw;
        text-align: justify;
    }

.tour-card:hover .tour-desc p {
    max-width: 100%;
    color: var(--hnp-white);
    margin: 0 1.04167vw;
    text-align: center;
}

.tours-grid.list-view .tour-card:hover .desc-cta p {
    color: var(--hnp-dark-brown);
    margin: 0;
}

    .tour-card.square.active .desc-cta,
    .tour-card.square:hover .desc-cta {
        display: flex;
        width: 8.3333vw;
        border: 1px solid var(--hnp-white);
        border-radius: 0.5208vw;
        height: 3.2292vw;
        justify-content: center;
        align-items: center;
    }

.tour-card.square.active .desc-cta, .tour-card.square:hover .desc-cta.bn {
    display: none;
}

    .tourpack-content-main .pagination {
        width: 410px;
        height: 50px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
/* ================================
   LIST VIEW MODE
================================ */

.tours-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Reset grid spans */
.tours-grid.list-view .tour-card {
    background: unset;
    width: 100%;
    height: 10.7292vw;
    display: flex;
    align-items: center;
    border-radius: 0;
    overflow: hidden;
    transform: none !important;
    gap: 2.5vw;
}

.tours-grid.list-view .tour-card:hover img {
    object-fit: cover;
}

/* Image on the left */
.tours-grid.list-view .tour-card img {
    position: relative;
    width: 18.64584vw;
    height: 100%;
    object-fit: cover;
    border-radius: 1.3021vw;
    flex-shrink: 0;
}

/* Remove hover expansion behavior */
.tours-grid.list-view .tour-card-gradient {
    display: none;
}

/* Info section on the right */
.tours-grid.list-view .tour-info {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    left: 0;
    bottom: 0;
    justify-content: flex-end;
    gap: 0.50208vw;
    box-sizing: border-box;
}
    .tours-grid.list-view .tour-card:hover .tour-info {
        bottom: 0;
        left: 20px;
        height: 100%;
        width: 89%;
        justify-content: flex-end;
        align-items: unset;
        gap: 20px;
          position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    left: 0;
    bottom: 0;
    justify-content: flex-end;
    gap: 12px;
    box-sizing: border-box;
    }
/* Title */
.tours-grid.list-view .tour-card h5 {
    font-size: 1.6667vw;
    line-height: 2.084vw;
    color: var(--hnp-black);
    white-space: normal;
    max-width: 34.375vw;
}
.tours-grid.list-view .tour-card:hover h5 {
    font-size: 1.6667vw;
    line-height: 2.084vw;
    color: var(--hnp-black);
    white-space: normal;
    max-width: 34.375vw;
    text-align: start;
}
/* Description always visible */
.tours-grid.list-view .tour-desc {
    max-height: none;
    flex-direction: row;
    justify-content: flex-start;
    gap: 0;
    min-height: 3.2292vw;
}
.tours-grid.list-view .tour-card .desc-cta {
    display: flex;
    width: max-content;
    padding: 0.83334vw 1.6667vw;
    border: 0.052084vw solid var(--hnp-dark-brown);
    border-radius: 0.52084vw;
    height: 3.2292vw;
    box-sizing: border-box;
    position: absolute;
    right: 0;
}
.tours-grid.list-view .tour-card .desc-cta.bn {
    background: var(--hnp-dark-brown);
    right: 10vw;
}

/* CTA always visible */
.tours-grid.list-view .tour-card.square:hover .desc-cta {
    display: flex;
    width: max-content;
    padding: 0.83334vw 1.6667vw;
    border: 0.052084vw solid var(--hnp-dark-brown);
    border-radius: 0.52084vw;
    height: 3.2292vw;
    box-sizing: border-box;
}

/* Disable hover animations in list */
.tours-grid.list-view .tour-card:hover .tour-desc {
    max-height: none;
    flex-direction: row;
    gap: 0;
}
.tours-grid.list-view .tour-card:hover .tour-desc p {
    color: var(--hnp-black);
    margin: 0;
    max-width: 34.4034vw;
    text-align: justify;
    font-weight: 500;
}
.tours-grid.list-view .tour-card .desc-cta.bn p {
    color: var(--hnp-white);
    margin: 0;
    opacity: 1;
} 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
.admin-profile {
  display: flex;
  column-gap: 1.0417vw;
  align-items: center;
  margin-right: 2vw;
}

.admin_avatar {
  height: 3.3333vw;
  width: 3.3333vw;
  background-color: var(--hnp-gradient-white);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.admin_avatar:hover {
  transform: scale(1.1);
}

.admin__info {
  display: flex;
  flex-direction: column;
}

.admin__name {
  font-size: 1.0417vw;
  line-height: 1.5625vw;
  font-weight: 500;
  color: var(--hnp-dark);
  margin: 0;
  font-family: 'PoppinsMedium';
}

.admin__role {
  font-size: 0.8333vw;
  line-height: 1.5625vw;
  color: var(--hnp-gradient-white);
  margin: 0;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;height: 5vw;
    margin-top: 1vw;
}
.actions {
    display: flex;
    gap: 1vw;
}
        /* Add the specific blog manager styles */
        .blog-list {
            background: white;
            border-radius: 0.7184vw;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            margin-top: 1vw;
        }
        
        .blog-table {
            width: 100%;
            border-collapse: collapse;
            font-family: 'PoppinsRegular';
        }
        
        .blog-table th {
            background: #f8f9fa;
            padding: 0.78125vw;
            text-align: left;
            font-weight: 600;
            color: #2c3e50;
            border-bottom: 2px solid #e9ecef;
            font-family: 'PoppinsRegular';
        }
        
        .blog-table td {
            padding: 0.7182vw;
            border-bottom: 1px solid #e9ecef;
            vertical-align: top;
        }
        
        .blog-table tr:hover {
            background: #f8f9fa;
        }
        
        .blog-image {
            width: 18.64584vw;
            height: 10.7292vw;
            object-fit: cover;
            border-radius: 4px;
        }
        .blog-category {
            font-size: 1.0417vw;
    line-height: 1.5625vw;
    text-transform: uppercase;
    color: var(--hnp-dark-brown);
        }
        .blog-title {
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 5px;
            font-family: 'PoppinsRegular';
        }
        .blog-excerpt {
                font-size: 1.0417vw;
    line-height: 1.5625vw;
    color: var(--hnp-black);
    opacity: 75%;
    max-width: 34.375vw;
    text-align: justify;
        }
        .blog-meta {
            font-size: 12px;
            color: #666;
            font-family: 'PoppinsRegular';
        }
        
        .status-badge {
            padding: 0.3547vw 0.7184vw;
            border-radius: 0.3547vw;
            font-size: 1.04167vw;
            font-weight: 600;
        }
        
        .status-published {
            background: #d4edda;
            color: #155724;
        }
        
        .status-draft {
            background: #fff3cd;
            color: #856404;
        }
        
        .action-buttons {
            display: flex;
            gap: 1vw;
            flex-direction: column;
        }
        .btn-edit {
    background: var(--hnp-dark-brown);
    color: var(--hnp-white);
}
        .btn-delete {
            background: var(--hnp-white);
            color: var(--hnp-dark-brown);
        }
        .btn-view {
    background: var(--hnp-light-gray);
    border: none;
}
        .btn-preview {
    background: var(--hnp-dark-brown);
    color: var(--hnp-white);
}
        .form-container {
            background: var(--hnp-white);
            padding: 3vw;
            border-radius: 1vw;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            font-family: 'PoppinsRegular';
        }
        
        .form-group {
            margin-bottom: 2vw;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #2c3e50;
        }
        
        .form-control {
    font-family: PoppinsRegular;
    transition: 0.3s ease-in-out;
    box-sizing: border-box;
    background: #F6F6F6;
    min-height: 5.2083vw;
    border: none;
    outline: none;
    border-radius: 0.78125vw;
    padding-left: 2.6042vw;
    font-size: 1.0417vw;
    line-height: 1.5625vw;
    width: 100%;
    }
textarea.form-control {
    padding: 2.6042vw;
}
select.form-control {
    padding: 2.6042vw;
}
        
        .form-control:focus {
            outline: none;
            border-color: #6c3015;
        }
        
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        

        
        
        .ql-container {
            height: 300px !important;
        }
        
        .preview-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }
        
        .preview-modal.active {
            display: flex;
        }
        
        .preview-content {
            background: white;
            width: 90%;
            max-width: 800px;
            max-height: 90vh;
            overflow-y: auto;
            border-radius: 8px;
            padding: 30px;
        }
        
        .preview-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .preview-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #666;
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1vw;
            margin-top: 2vw;
            padding: 1vw;
        }
        

        .content-builder {
            border: 1px solid #ddd;
            border-radius: 6px;
            padding: 15px;
            background: #f9f9f9;
        }
        
        .builder-toolbar {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .toolbar-btn {
            padding: 1vw 2vw;
            background: #6c3015;
            color: white;
            border: none;
            border-radius: 0.5208vw;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5208vw;
            font-size: 1.04167vw;
            transition: background 0.3s;
        }
        
        .toolbar-btn:hover {
            background: #8a4221;
        }
        
        .content-sections {
            min-height: 10.4167vw;
            max-height: 31.25vw;
            overflow-y: auto;
            padding: 1vw;
        }
        
        .content-section {
            background: white;
            border: 1px solid #ddd;
            border-radius: 6px;
            margin-bottom: 15px;
            overflow: hidden;
        }
        
        .section-header {
            background: var(--hnp-dark-brown);
            color: var(--hnp-white);
            padding: 1vw;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .section-header h5 {
            margin: 0;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .section-remove {
            color: white;
            border: none;
            width: 3vw;
            height: 3vw;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--hnp-dark-brown);
        }
        
        .section-body {
            padding: 1vw;
        }
        
        .empty-state {
            text-align: center;
            padding: 40px;
            color: #666;
            font-style: italic;
        }
        
        .paragraph-section textarea,
        .quote-section textarea,
        .list-section textarea {
            font-family: monospace;
        }
        
        .section-actions {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }
        
        .move-up, .move-down {
            padding: 1vw;
            background: var(--hnp-orange);
            color: white;
            border: none;
            border-radius: 0.52084vw;
            cursor: pointer;
            font-size: 1.04167vw;
        }
        
        .article-preview {
            border: 1px solid #eee;
            border-radius: 6px;
            padding: 15px;
            margin: 10px 0;
            background: white;
        }
        
        .article-preview .article-title {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .article-preview .article-title p {
            background: #6c3015;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            font-weight: bold;
        }
        
        .article-preview .article-title h5 {
            margin: 0;
            color: #2c3e50;
        }
        
        .article-preview .article-details {
            margin-top: 10px;
        }
        
        .article-preview .article-details ul {
            padding-left: 20px;
        }
        
        .article-preview .article-details li {
            margin-bottom: 5px;
        }
        
        .quote-preview {
            background: #f8f9fa;
            border-left: 4px solid #6c3015;
            padding: 20px;
            margin: 15px 0;
            font-style: italic;
        }
        
        .quote-preview h4 {
            margin: 0;
            color: #2c3e50;
        }
       .dashboard {

}

.dashboard h4 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}



.stat-card:hover {
    transform: translateY(-0.3vw);
    box-shadow: 0 3vw 6vw rgba(252, 149, 6, 0.2);
    border-color: var(--hnp-orange);
}

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

.stat-icon {
    height: 4.5417vw;
    width: 4.5417vw;
    font-size: 1.8vw;
    background: linear-gradient(135deg, var(--hnp-dark-brown), var(--hnp-orange)) !important;
    border-radius: 1.4vw;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0.26vw 1.0417vw 2.60vw 0px #0000000D;
    color: var(--hnp-light-gray) !important;
    box-sizing: border-box;
    flex-shrink: 0;
    transform: rotate(-5deg);
    transition: transform 0.3s;
}

.stat-card:hover .stat-icon {
    transform: rotate(0deg) scale(1.1);
}

.stat-icon.primary { background: var(--hnp-orange)20; color: var(--hnp-orange); }
.stat-icon.success { background: #2ecc7120; color: #2ecc71; }
.stat-icon.warning { background: #f39c1220; color: #f39c12; }
.stat-icon.danger { background: #e74c3c20; color: #e74c3c; }
.stat-icon.info { background: #1abc9c20; color: #1abc9c; }
.stat-icon.secondary { background: #7f8c8d20; color: #7f8c8d; }





.stat-change {
    font-family: 'PoppinsMedium';
    font-size: 1.0417vw;
    line-height: 1.5625vw;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-change.positive { color: #2ecc71; }
.stat-change.negative { color: #e74c3c; }

/* Dashboard Grid */
.dashboard-grid {

}



/* Charts Grid */
.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}



.chart-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.chart-header h5 {
    margin: 0;
    font-size: 16px;
    color: #2c3e50;
}

/* Table Cards */
.table-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.table-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-card-header h5 {
    margin: 0;
    font-size: 16px;
    color: #2c3e50;
}

.table-card-header a {
    font-size: 14px;
    color: var(--hnp-orange);
    text-decoration: none;
}

.table-card-header a:hover {
    text-decoration: underline;
}

/* Status Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending { background: #fef3cd; color: #856404; }
.status-confirmed { background: #d1ecf1; color: #0c5460; }
.status-completed { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14.69vw, 1fr));
    grid-auto-rows: 14.69vw;
    gap: 2vw;
    margin-bottom: 2vw;
}

.quick-action {
    background: white;
    border-radius: 1.04167vw;
    padding: 1vw;
    display: flex;
    align-items: center;
    gap: 1.47vw;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.quick-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #333;
}

.quick-action-icon {
    width: 5vw;
    height: 5vw;
    font-size: 1.8vw;
    background: var(--hnp-white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0.26vw 1.0417vw 2.60vw 0px #0000000D;
    color: var(--hnp-dark-brown) !important;
    box-sizing: border-box;
    flex-shrink: 0;
}

.quick-action-content h5 {
    margin: 0 0 5px 0;
    font-size: 14px;
}

.quick-action-content p {
    margin: 0;
    font-size: 12px;
    color: #7f8c8d;
}

/* Alerts */
.alerts-container {
    width: 100%;
}

.alert-item {
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid var(--hnp-orange);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.alert-item.warning {background: #fc9506;color: #ffffff;}
.alert-item.danger { background: #6c3015; color: #ffffff;}
.alert-item.info { background: #f6f6f6;color: #000000; }

.alert-icon {
    font-size: 20px;
}

.alert-item.warning .alert-icon { color: #f39c12; }
.alert-item.danger .alert-icon { color: #e74c3c; }
.alert-item.info .alert-icon { color: #1abc9c; }

.alert-content {
    flex: 1;
}

.alert-content p {
    margin: 0 0 5px 0;
    font-size: 14px;
}

.alert-content a {
    font-size: 12px;
    color: var(--hnp-orange);
    text-decoration: none;
}

.alert-content a:hover {
    text-decoration: underline;
}

/* Server Status */
.server-status {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.server-status h5 {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #2c3e50;
}

.server-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.server-stat {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.server-stat-label {
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.server-stat-value {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

/* Recent Activity */
.recent-activity {
    background: white;
    border-radius: 10px;
    padding: 20px;
}

.recent-activity h5 {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #2c3e50;
}

.activity-item {
    display: flex;
    gap: 1vw;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    flex-direction: column;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 5vw;
    height: 5vw;
    font-size: 1.8vw;
    background: var(--hnp-white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0.26vw 1.0417vw 2.60vw 0px #00000017;
    color: var(--hnp-dark-brown) !important;
    box-sizing: border-box;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-content p {
    margin: 0 0 5px 0;
    font-size: 14px;
}

.activity-time {
    font-size: 12px;
    color: #7f8c8d;
}
.left-column {
    display: flex;
    gap: 2vw;
}
.right-column {
    display: flex;
    gap: 2vw;
    flex-wrap: wrap;
}
/* Charts */
.chart-container {
    width: 40vw;
    height: 40vw;
    position: relative;
}

/* Responsive Tables */
.table-responsive {
    overflow-x: auto;
}

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

.dashboard-table th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    color: #7f8c8d;
    font-weight: 600;
    border-bottom: 2px solid #eee;
}

.dashboard-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.dashboard-table tr:hover {
    background: #f8f9fa;
}

.dashboard-table .actions {
    display: flex;
    gap: 5px;
}

.action-btn {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.action-btn.view {
    background: #d1ecf1;
    color: #0c5460;
}

.action-btn.edit {
    background: #fef3cd;
    color: #856404;
}

/* Popular Destinations */
.popular-destinations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.destination-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.destination-card:hover {
    transform: translateY(-5px);
}

.destination-image {
    width: 100%;
    height: 100%;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-content {
    gap: 1vw;
}

.destination-content h6 {
    margin: 0 0 5px 0;
    font-size: 14px;
}

.destination-meta {display: flex;color: var(--hnp-white);gap: 1.04167vw;}

.no-data {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

.no-data i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.3;
} 
.package-manager {
    padding: 1vw;
    margin: 0 auto;
    background: var(--hnp-white);
}

.message {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid var(--hnp-orange);
}

.message.success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.message.error {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.message.warning {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

/* List View */
.package-list {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.package-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.package-table td {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
}

.package-table tr:hover {
    background: #f8f9fa;
}

.package-image {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.package-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.package-meta {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.package-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-draft {
    background: #fff3cd;
    color: #856404;
}

.action-buttons {
    display: flex;
    gap: 5px;
}



/* Form View */
.form-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 2vw;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}




label {
    display: block;
    margin-bottom: 0.5vw;
    font-weight: 500;
    color: #333;
}

small {
    display: block;
    color: #6c757d;
    font-family: "PoppinsRegular";
    letter-spacing: 0%;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.0417vw;
    line-height: 1.5625vw;
    margin: 0;
}



/* Dynamic Fields */
.dynamic-fields {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.dynamic-field {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.dynamic-field input {
    flex: 1;
}

.remove-field {
    background: #e74c3c;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-field {
    background: var(--hnp-dark-brown);
    color: white;
    border: none;
    padding: 0.6vw 1vw;
    border-radius: 0.5vw;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5vw;
}

/* Gallery */
.gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.gallery-item-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Itinerary */
.itinerary-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.itinerary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.itinerary-number {
    font-weight: 600;
    color: var(--hnp-orange);
}

.itinerary-remove {
    background: #e74c3c;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: #6c757d;
}

.tab.active {
    border-bottom-color: var(--hnp-dark-brown);
    color: var(--hnp-dark-brown);
}

.tab-content {
    display: none;
}

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

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
    padding: 20px;
}




.page-link:hover:not(.active) {
    background: #f8f9fa;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.3;
}
.testimonial-manager {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}



.header .subtitle {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 1.0417vw;
    line-height: 1.5625vw;
}


/* Stats Cards */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14.69vw, 1fr));
    grid-auto-rows: 14.69vw;
    gap: 2vw;
    margin-bottom: 2vw;
}




.stat-label {
    font-family: 'PoppinsMedium';
    font-size: 1.4vw;
    line-height: 1.8vw;
    color: var(--hnp-dark-brown);
}

.stat-rating {
    color: #f39c12;
    font-size: 20px;
    margin-top: 10px;
}

/* Filters */
.filters {
    background: white;
    border-radius: 1vw;
    padding: 1vw;
    margin-bottom: 1vw;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-row {
    display: flex;
    gap: 1vw;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5vw;
    font-weight: 500;
    color: #333;
    font-size: 1.0417vw;
    line-height: 1.5625vw;
}

.filter-control {
    width: 100%;
    padding: 1vw 0 1vw 1vw;
    height: 4vw;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1.0417vw;
    line-height: 1.5625vw;
    box-sizing: border-box;
}

.filter-actions {
    display: flex;
    gap: 1vw;
}

/* Bulk Actions */
.bulk-actions {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.bulk-select {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bulk-select input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.bulk-select label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
}

.bulk-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* List View */
.testimonial-list {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.testimonial-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.testimonial-table td {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
}

.testimonial-table tr:hover {
    background: #f8f9fa;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #eee;
}

.testimonial-content {
    max-width: 400px;
}

.testimonial-client {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.testimonial-location {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    display: -webkit-box;
    /* -webkit-line-clamp: 3; */
    /* -webkit-box-orient: vertical; */
    /* overflow: hidden; */
}

.testimonial-rating {
    color: #f39c12;
    font-size: 14px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}



.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.display-order {
    font-weight: 600;
    color: var(--hnp-orange);
    text-align: center;
}









.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
}

/* Rating Stars */
.rating-input {
    display: flex;
    gap: 5px;
    align-items: center;
}

.rating-stars {
    display: flex;
    gap: 5px;
}

.rating-star {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-star:hover,
.rating-star.active {
    color: #f39c12;
}

.rating-value {
    font-weight: 600;
    color: #f39c12;
    margin-left: 10px;
}

/* Avatar Upload */
.avatar-upload {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #eee;
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-controls {
    flex: 1;
}

/* Product Grid View */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(26.0417vw, 1fr));
    gap: 0.6vw;
    margin-bottom: 2vw;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    width: 27vw;
    display: flex;
    background-color: var(--hnp-white);
    border-radius: 1.302084vw;
    overflow: hidden;
    box-shadow: 2vw 2vw 7vw -0.5vw #00000014;
    transition: transform 0.3s, box-shadow 0.3s;
    flex-direction: column;
    align-items: center;
    padding-top: 1vw;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-image {
    width: 24.1667vw;
    height: 16.9271vw;
    background: linear-gradient(180deg, #222222 66.19%, rgba(34, 34, 34, 0) 100%);
    border-radius: 1.302084vw;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.featured {
    background: #f39c12;
    color: white;
}

.badge.bestseller {
    background: #e74c3c;
    color: white;
}

.badge.sale {
    background: #2ecc71;
    color: white;
}

.badge.low-stock {
    background: #ffc107;
    color: #856404;
}

.badge.out-of-stock {
    background: #6c757d;
    color: white;
}

.product-content {
    padding: 20px;
}

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

.product-title {
    font-weight: 600;
    color: #333;
    font-size: 16px;
    margin: 0;
    flex: 1;
}

.product-sku {
    font-size: 12px;
    color: #95a5a6;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 10px;
}

.product-category {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 10px;
}

.product-description {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.product-price {
    font-weight: 600;
    font-size: 18px;
    color: #2ecc71;
}

.product-price.original {
    font-size: 14px;
    color: #95a5a6;
    text-decoration: line-through;
}

.product-discount {
    background: #e74c3c;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.product-stock {
    font-size: 13px;
    color: #6c757d;
}

.product-stock.in-stock { color: #2ecc71; }
.product-stock.low-stock { color: #f39c12; }
.product-stock.out-of-stock { color: #e74c3c; }

.product-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.product-actions {
    display: flex;
    gap: 5px;
    margin-top: 15px;
}

/* Form View */
.form-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}



/* Pricing Row */
.pricing-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .pricing-row {
        grid-template-columns: 1fr;
    }
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 2vw;
    height: 2vw;
    cursor: pointer;
    accent-color: var(--hnp-dark-brown);
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
}

/* Image Upload */
.image-upload {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
}

.image-upload:hover {
    border-color: var(--hnp-orange);
}

.image-upload input[type="file"] {
    display: none;
}

.image-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.image-upload-label i {
    font-size: 5vw;
    color: var(--hnp-orange);
}




/* Gallery Management */
.gallery-management {
    margin-top: 30px;
}

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    background: white;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.gallery-item-controls {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
}

.gallery-item-remove {
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.gallery-item-main {
    background: rgba(52, 152, 219, 0.9);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.gallery-item-main.active {
    background: rgba(46, 204, 113, 0.9);
}

.gallery-item-info {
    padding: 10px;
    background: white;
}

.gallery-item-order {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.gallery-item-order input {
    width: 60px;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.gallery-item-alt input {
    width: 100%;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: #6c757d;
    white-space: nowrap;
}

.tab.active {
    border-bottom-color: var(--hnp-dark-brown);
    color: var(--hnp-dark-brown);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}
/* Large phones / small tablets (481px - 600px) */
@media (max-width: 768px) {
.login-section {
            position: relative;
            height: 100vh;
            overflow: hidden;
            display: flex;
            justify-content: center;
        }
        .login-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}
        
        .login-container {
                background-color: #f6f6f6d9;
                backdrop-filter: blur(5px);
                padding: 4vw;
                border-radius: 2.625vw;
                border: 1px solid #DFE1E7;
                box-shadow: 0px 0.8333vw 1.6667vw -0.0521vw #80889733;
                width: 90vw;
                text-align: center;
                animation: fadeIn 0.5s ease;
                box-sizing: border-box;
                height: 128vw;
                margin-top: 20vw;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .login-logo {
            width: 44vw;
        }
        

        

        
        .login-header h4 {
            margin: 0;
        }
          h4, .h4 {
    width: 100%;
    font-size: 4.69vw;
    line-height: 6.64vw;
    font-family: 'OswaldRegular';
    font-weight: 500;
  }
p {
    font-size: 3.52vw;
    line-height: 5.47vw;
    font-weight: 500;
}

.login-header p {
    font-size: 2.52vw;
    line-height: 4.47vw;
}
        .login-form .username,
    .login-form .password {
        width: 100%;
        height: 25.604vw;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }
.username input,
    .password input {
        width: 100%;
        height: 19.53vw;
        padding-left: 5.86vw;
        padding-right: 5.86vw;
        font-size: 4.3vw;
        line-height: 6.25vw;
        border: none;
        outline: none;
        border-radius: 2.93vw;
        background: #F6F6F6;
        font-family: 'PoppinsRegular';
        color: #717182;
        transition: all 0.3s ease-in-out;
    }        
        .login-btn {
            border: none;
            padding: 0;
            transition: all 0.3s;
            width: 58.59vw;
            height: 15.63vw;
            font-size: 4.3vw;
            line-height: 5.86vw;
            border-radius: 2.93vw;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--hnp-dark-brown);
            color: #ffffff;
            font-family: 'PoppinsRegular';
        }
        
        .login-btn:hover {
            background: #8a4221;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(108, 48, 21, 0.3);
        }
        
        .login-btn:active {
            transform: translateY(0);
        }
        
        .alert {
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 8px;
            font-weight: 500;
            font-size: 14px;
            animation: slideDown 0.3s ease;
        }
        
        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .alert-danger {
        color: #f31212;
        }
        
        .alert-info {
            background: #d1ecf1;
            color: #0c5460;
            border: 1px solid #bee5eb;
        }
        
        .password-toggle {
            position: relative;
        }
        
        .password-toggle .toggle-btn {
            position: absolute;
            right: 2vw;
            top: 60%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #666;
            cursor: pointer;
            padding: 0.5vw;
            font-size: 3.5625vw;
        }
        
        .login-footer p {
        font-size: 2.52vw;
        line-height: 4.47vw;
        }
        
 
}

form.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vw;
}/*
 * Droidfirm
 * Copyright 2025 Droidfirm LLC.
 * Licensed under MIT ()
 */
:root {
  --hnp-white: #ffffff;
  --hnp-orange: #fc9506;
  --hnp-dark-brown: #6c3015;
  --hnp-dark: #222222;
  --hnp-black: #000000;
  --hnp-light-gray: #f6f6f6;
  --hnp-gradient-white: #737373;
  --hnp-gradient-black: #737373;
}
@font-face {
  font-family: "OswaldRegular";
  src: url("font/Oswald-Regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "OswaldBold";
  src: url("font/Oswald-Bold.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "PoppinsLight";
  src: url("font/Poppins-Light.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "PoppinsMedium";
  src: url("font/Poppins-Medium.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "PoppinsRegular";
  src: url("font/Poppins-Regular.woff2") format("woff2");
  font-display: swap;
}
body {
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-width: 0; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none; /* Safari and Chrome */
}

h1,
.h1 {
  font-family: "OswaldBold";
  letter-spacing: 0%;
  text-decoration: none;
  font-weight: bold;
  font-size: 15.625vw;
  line-height: 15.625vw;
  margin: 0;
}

h2,
.h2 {
  font-family: "OswaldBold";
  letter-spacing: 0px;
  text-decoration: none;
  font-weight: 700;
  font-size: 10.4167vw;
  line-height: 10.4167vw;
  margin: 0;
}

h3,
.h3 {
  font-family: "OswaldBold";
  letter-spacing: 0%;
  text-decoration: none;
  font-weight: 700;
  font-size: 5.21vw;
  line-height: 5.21vw;
}

h4,
.h4 {
  font-family: "OswaldBold";
  letter-spacing: 0%;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5625vw;
  line-height: 2.0833vw;
  margin: 0;
}

h5,
.h5 {
  font-family: "PoppinsMedium";
  letter-spacing: 0%;
  text-decoration: none;
  font-weight: 500;
font-size: 1.0417vw;
    line-height: 1.5625vw;
  margin: 0;
}

h6,
.h6 {
  font-family: "PoppinsLight";
  letter-spacing: 25%;
  text-decoration: none;
  font-weight: 300;
  font-size: 32px;
  margin: 0;
}

.h7 {
  font-family: "PoppinsMedium";
  letter-spacing: 0%;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.0417vw;
  line-height: 20px;
}

.h8 {
  font-family: "PoppinsLight";
  letter-spacing: 0%;
  text-decoration: none;
  font-weight: 300;
  font-size: 16px;
}

p {
  font-family: "PoppinsRegular";
  letter-spacing: 0%;
  text-decoration: none;
  font-weight: 400;
  font-size: 1.0417vw;
  line-height: 1.5625vw;
  margin: 0;
}

a {
  font-family: "PoppinsRegular";
  letter-spacing: 0%;
  text-decoration: none;
  font-weight: 400;
  color: inherit;
}

a:hover {
  transform: scale(1.04);
}

.text-white {
  color: var(--hnp-white);
}

.text-black {
  color: #000000;
}

.text-dark {
  color: var(--hnp-dark);
}

.text-primary {
  color: var(--hnp-dark-brown);
}

.text-secondary {
  color: var(--hnp-gradient-white);
}

.text-warning {
  color: var(--hnp-orange);
}
.btn-primary {
  color: var(--hnp-white) !important;
  background-color: var(--hnp-dark-brown);
  border-radius: 1vw;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5vw 1.2vw;
  box-sizing: border-box;
}


.btn-primary p {
  font-size: 1.0417vw;
  line-height: 1.5625vw;
  font-weight: 500;
}

.btn-sm {
  color: var(--hnp-black);
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  width: 100%;
  border: 0.052084vw solid var(--hnp-dark-brown);
  border-radius: 0.52084vw;
  height: 3.2292vw;
  box-sizing: border-box;
  justify-content: center;
}
.btn {
  color: var(--hnp-black);
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  width: max-content;
  padding: 1vw;
  border: 0.052084vw solid var(--hnp-dark-brown);
  border-radius: 0.52084vw;
  height: 3.2292vw;
  box-sizing: border-box;
  justify-content: center;
  font-size: 1.0417vw;
  line-height: 1.5625vw;
  gap: 1vw;
}
.btn-danger {
  color: var(--hnp-white) !important;
  background-color: transparent;
border: 1px solid var(--hnp-white);
}
.btn-sm.active {
  color: var(--hnp-white);
  background-color: var(--hnp-dark-brown);
}

.btn-sm p {
  font-size: 1.04167vw;
  line-height: 1.5625vw;
}

.btn-primary:hover {
  transform: scale(1.04);
}

.p-absolute {
  position: absolute;
}

.p-relative {
  position: relative;
}

.p-fixed {
  position: fixed;
}

.d-flex {
  display: flex;
}

.d-block {
  display: block;
}

.d-none {
  display: none;
}

.m-0 {
  margin: 0;
}

.mb-1 {
  margin-bottom: 0.83vw;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mh-5 {
  margin: 0 5px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-20 {
  margin-top: 20px;
}

.w-100 {
  width: 100%;
}

.w-54 {
  width: 54%;
}

.w-445 {
  width: 44.5%;
}
.icon {
    width: 1.0417vw;
  height: 1.0417vw;
}
.bb-primary {
  border-bottom: 1px solid var(--hnp-dark-brown);
}

.fs-14 {
  font-size: 1.0417vw;
  line-height: 20px;
}

.flex-direction-column {
 flex-direction: column;
}

.justify-content-flex-end {
  justify-content: flex-end;
}

.justify-content-space-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.btn-round-primary {
  width: 3.854vw;
  height: 3.854vw;
  background-color: var(--hnp-dark-brown);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-success {
  color: var(--hnp-white) !important;
  background-color: var(--hnp-dark-brown);
}
.btn-info {
  color: var(--hnp-white) !important;
  background-color: var(--hnp-gradient-black);
  border-color: var(--hnp-gradient-black);
}
.btn-warning {
  color: var(--hnp-white) !important;
  background-color: var(--hnp-orange);
  border-color: var(--hnp-orange);
}
.btn-outline-primary {
  padding: 6px 18px;
  border: 1px solid var(--hnp-dark-brown);
  border-radius: 6px;
  cursor: pointer;
}

.btn-outline-primary p {
  font-size: 1.0417vw;
  font-weight: 500;
}
@keyframes zoomOut {
    0% {
        transform: scale(1.6);   /* start zoomed in */
    }
    100% {
        transform: scale(1);     /* end normal */
    }
}
    .in-view {
        transform: scale(1) !important; /* zoom-out */
    }
.lazy-item {
  opacity: 1;
  transition: all 0.8s ease;
}

/* Different animation types */
.lazy-item.fade-up {
  transform: translateY(50px);
}

        .lazy-item.fade-down {
            transform: translateY(-50px);
        }

        .lazy-item.fade-left {
            transform: translateX(50px);
        }

        .lazy-item.fade-right {
            transform: translateX(-50px);
        }

        .lazy-item.zoom {
            transform: scale(0.8);
        }

        .lazy-item.rotate {
            transform: rotate(10deg) scale(0.9);
        }

        /* Animation states */
        .lazy-item.animate {
            opacity: 1;
            transform: translateY(0) translateX(0) scale(1) rotate(0);
        }

        /* Delay classes for staggered animations */
        .lazy-item.delay-1 {
            transition-delay: 0.1s;
        }

        .lazy-item.delay-2 {
            transition-delay: 0.2s;
        }

        .lazy-item.delay-3 {
            transition-delay: 0.3s;
        }

        .lazy-item.delay-4 {
            transition-delay: 0.4s;
        }

        .lazy-item.delay-5 {
            transition-delay: 0.5s;
        }
                .date-picker-container {
                  background-color: #f6f6f6;
    background-color: #f6f6f6db;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    margin-top: 10px;
    display: none;
    position: absolute;
    z-index: 4;
    top: 20px;
    left: 0;
    width: 390px;
        }
        
        .date-picker-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.78125vw;
        }
        
        .date-picker-header button {
    background: var(--hnp-dark-brown);
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 50%;
    transition: background 0.2s;
        }
        
        .date-picker-header button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }
        
        .date-picker-header h3 {
color: var(--hnp-dark);
    font-weight: 600;
    margin: 0;
    font-size: 30px;
    line-height: 30px;
        }
        
        .date-picker-calendar {
            width: 100%;
            border-collapse: collapse;
        }
        
        .date-picker-calendar th {
            padding: 0.5208vw 0;
            color: #666;
            font-weight: 500;
            text-align: center;
            font-family: 'PoppinsRegular';
            width: 3.4375vw;
        }
        
        .date-picker-calendar td {
            padding: 8px 0;
            text-align: center;
            cursor: pointer;
            border-radius: 5px;
            transition: background 0.2s;
            color: #222222;
            font-family: 'PoppinsRegular';
                border: 2px solid #f6f6f6;
        }
        
        .date-picker-calendar td:hover:not(.other-month) {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
        
        .date-picker-calendar .current-day {
            background: var(--hnp-orange);
            color: white;
        }
        
        .date-picker-calendar .selected {
    background: var(--hnp-dark-brown);
    color: white;
    font-weight: bold;
        }
        
        .date-picker-calendar .other-month {
            color: #9d9d9d;;
        }
        .login-section {
            position: relative;
            height: 100vh;
            overflow: hidden;
            display: grid;
            justify-content: center;
        }
        .login-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}
        
        .login-container {
                background-color: #f6f6f6d9;
                backdrop-filter: blur(5px);
                padding: 2vw;
                border-radius: 0.625vw;
                border: 1px solid #DFE1E7;
                box-shadow: 0px 0.8333vw 1.6667vw -0.0521vw #80889733;
                width: 40vw;
                text-align: center;
                animation: fadeIn 0.5s ease;
                box-sizing: border-box;
                height: max-content;
                margin-top: 6%;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .login-logo {
            width: 12vw;
        }
        

        

        
        .login-header h4 {
            margin: 0;
        }
        

        .login-form .username,
    .login-form .password {
        width: 100%;
        height: 7.604vw;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }
.username input,
    .password input {
        background: #F6F6F6;
        height: 5.2083vw;
        width: 100%;
        border: none;
        outline: none;
        border-radius: 0.78125vw;
        padding-left: 2.6042vw;
        font-size: 1.0417vw;
        line-height: 1.5625vw;
        box-sizing: border-box;
    }        
        .login-btn {
            background: #6c3015;
            color: white;
            border: none;
            padding: 0vw 1vw;
            border-radius: 0.78125vw;
            font-family: 'PoppinsRegular';
            font-size: 1.0417vw;
            line-height: 1.5625vw;
            cursor: pointer;
            transition: all 0.3s;
            height: 3.125vw;
        }
        
        .login-btn:hover {
            background: #8a4221;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(108, 48, 21, 0.3);
        }
        
        .login-btn:active {
            transform: translateY(0);
        }
        
        .alert {
            padding: 1vw;
            border-radius: 1vw;
            animation: slideDown 0.3s ease;
            font-family: "PoppinsRegular";
            letter-spacing: 0%;
            text-decoration: none;
            font-weight: 400;
            font-size: 1.0417vw;
            line-height: 1.5625vw;
            margin: 0;
            color: var(--hnp-orange);
        }
        
        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .alert-danger {
            color: #f31212;
        }
        
        .alert-info {
            background: #d1ecf1;
            color: #0c5460;
            border: 1px solid #bee5eb;
        }
        
        .password-toggle {
            position: relative;
        }
        
        .password-toggle .toggle-btn {
            position: absolute;
            right: 1vw;
            top: 70%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #666;
            cursor: pointer;
            padding: 0.5vw;
            font-size: 1.5625vw;
        }
        
        .login-footer {
            margin-top: 2vw;
        }
        
        .login-footer a {
            color: #6c3015;
            text-decoration: none;
            font-weight: 600;
        }
        
        .login-footer a:hover {
            text-decoration: underline;
        }
.admin-container {
}
.sidebar {
    width: 14vw;
    padding: 1vw;
    box-sizing: border-box;
    position: fixed;
    background-color: #f6f6f6d9;
    backdrop-filter: blur(5px);
    height: 100vh;
    border-right: 0.1vw solid #d7d7d7;
}
.nav-menu {
    padding: 0 0 1vw 0;
    margin: 0;
    list-style: none;
    overflow-y: scroll;
    scrollbar-width: none;
    height: calc( 100vh - 6vw);
}
.nav-item {
        font-weight: 400;
        font-size: 1.0417vw;
        line-height: 1.5625vw;
        height: 3vw;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #6c301512;
}

.sidenav-footer {margin: 1vw 0;display: flex;gap: 1vw;flex-direction: column;align-items: center;}

.docs-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nav-link {
    width: 100%;
    height: 100%;
    padding: 0 0 0 1vw;
    display: flex;
    align-items: center;
    gap: 1vw;
}

.nav-item .nav-link.active {
    background: var(--hnp-dark-brown);
    border-radius: 0.5vw;
    color: var(--hnp-white);
}

.nav-item .nav-link:hover {
    transform: scale3d(1, 1.04, 1.04);
    border-radius: 0.5vw;
    box-shadow: inset -3px 6px 20px 0px rgb(0 0 0 / 10%);
}
.nav-link i {font-size: 1.5625vw;line-height: 1.5625vw;color: var(--hnp-dark-brown);}

.nav-item .nav-link.active i {
    color: var(--hnp-white);
}
.main-content {
    width: 86vw;
    position: absolute;
    right: 0;
    padding: 6vw 2vw;
    box-sizing: border-box;
    font-family: 'PoppinsRegular';
    background: var(--hnp-light-gray);
}
.logo {
    height: 5.2083vw;
}
.navbar  {
    position: fixed;
    top: 0;
    left: 14vw;
    width: 85.954vw;
    height: 6vw;
    z-index: 3;
    background-color: #f6f6f6d9;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-bottom: 0.1vw solid #d7d7d7;
} 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
.admin-profile {
  display: flex;
  column-gap: 1.0417vw;
  align-items: center;
  margin-right: 2vw;
}

.admin_avatar {
  height: 3.3333vw;
  width: 3.3333vw;
  background-color: var(--hnp-white);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.admin_avatar:hover {
  transform: scale(1.1);
}

.admin__info {
  display: flex;
  flex-direction: column;
}

.admin__name {
  font-size: 1.0417vw;
  line-height: 1.5625vw;
  font-weight: 500;
  color: var(--hnp-dark);
  margin: 0;
  font-family: 'PoppinsMedium';
}

.admin__role {
  font-size: 0.8333vw;
  line-height: 1.5625vw;
  color: var(--hnp-gradient-white);
  margin: 0;
}

.actions {
    display: flex;
    gap: 1vw;
}
        /* Add the specific blog manager styles */
        .blog-list {
            background: white;
            border-radius: 0.7184vw;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            margin-top: 1vw;
        }
        
        .blog-table {
            width: 100%;
            border-collapse: collapse;
            font-family: 'PoppinsRegular';
        }
        
        .blog-table th {
            background: #f8f9fa;
            padding: 0.78125vw;
            text-align: left;
            font-weight: 600;
            color: #2c3e50;
            border-bottom: 2px solid #e9ecef;
            font-family: 'PoppinsRegular';
        }
        
        .blog-table td {
            padding: 0.7182vw;
            border-bottom: 1px solid #e9ecef;
            vertical-align: top;
        }
        
        .blog-table tr:hover {
            background: #f8f9fa;
        }
        
        .blog-image {
            width: 18.64584vw;
            height: 10.7292vw;
            object-fit: cover;
            border-radius: 4px;
        }
        .blog-category {
            font-size: 1.0417vw;
    line-height: 1.5625vw;
    text-transform: uppercase;
    color: var(--hnp-dark-brown);
        }
        .blog-title {
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 5px;
            font-family: 'PoppinsRegular';
        }
        .blog-excerpt {
                font-size: 1.0417vw;
    line-height: 1.5625vw;
    color: var(--hnp-black);
    opacity: 75%;
    max-width: 34.375vw;
    text-align: justify;
        }
        .blog-meta {
            font-size: 12px;
            color: #666;
            font-family: 'PoppinsRegular';
        }
        
        .status-badge {
            padding: 0.3547vw 0.7184vw;
            border-radius: 0.3547vw;
            font-size: 1.04167vw;
            font-weight: 600;
        }
        
        .status-published {
            background: #d4edda;
            color: #155724;
        }
        
        .status-draft {
            background: #fff3cd;
            color: #856404;
        }
        
        .action-buttons {
            display: flex;
            gap: 1vw;
            flex-direction: row;
        }
        .btn-edit {
    background: var(--hnp-dark-brown);
    color: var(--hnp-white);
}
        .btn-delete {
            background: var(--hnp-white);
            color: var(--hnp-dark-brown);
        }
        .btn-view {
    background: var(--hnp-light-gray);
    border: none;
}
        .btn-preview {
    background: var(--hnp-dark-brown);
    color: var(--hnp-white);
}
        .form-container {
            background: var(--hnp-white);
            padding: 3vw;
            border-radius: 1vw;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            font-family: 'PoppinsRegular';
        }
        
        .form-group {
            margin-bottom: 2vw;
        }

.action-group {
    display: flex;
    gap: 2vw;
    justify-content: flex-start;
}
        
        .form-group label {
            display: block;
            margin-bottom: 1vw;
            font-weight: 600;
            color: #2c3e50;
        }
        
        .form-control {
    font-family: PoppinsRegular;
    transition: 0.3s ease-in-out;
    box-sizing: border-box;
    background: #F6F6F6;
    min-height: 5.2083vw;
    border: none;
    outline: none;
    border-radius: 0.78125vw;
    padding-left: 2.6042vw;
    font-size: 1.0417vw;
    line-height: 1.5625vw;
    width: 100%;
    }
textarea.form-control {
    padding: 2.6042vw;
}
select.form-control {
    padding: 1vw 2.6042vw;
}
        
        .form-control:focus {
            outline: none;
            border-color: #6c3015;
        }
        
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        
        
        .ql-container {
            height: 300px !important;
        }
        
        .preview-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }
        
        .preview-modal.active {
            display: flex;
        }
        
        .preview-content {
            background: white;
            width: 90%;
            max-width: 800px;
            max-height: 90vh;
            overflow-y: auto;
            border-radius: 8px;
            padding: 30px;
        }
        
        .preview-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .preview-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #666;
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1vw;
            margin-top: 2vw;
            padding: 1vw;
        }
        
        .page-link {
            padding: 1vw 2vw;
            background: white;
            border: 1px solid #ddd;
            border-radius: 0.5208vw;
            color: #6c3015;
            text-decoration: none;
        }
        
        .page-link.active {
            background: #6c3015;
            color: white;
            border-color: #6c3015;
        }
        
        .content-builder {
            border: 1px solid #ddd;
            border-radius: 6px;
            padding: 15px;
            background: #f9f9f9;
        }
        
        .builder-toolbar {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .toolbar-btn {
            padding: 1vw 2vw;
            background: #6c3015;
            color: white;
            border: none;
            border-radius: 0.5208vw;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5208vw;
            font-size: 1.04167vw;
            transition: background 0.3s;
        }
        
        .toolbar-btn:hover {
            background: #8a4221;
        }
        
        .content-sections {
            min-height: 10.4167vw;
            max-height: 31.25vw;
            overflow-y: auto;
            padding: 1vw;
        }
        
        .content-section {
            background: white;
            border: 1px solid #ddd;
            border-radius: 6px;
            margin-bottom: 15px;
            overflow: hidden;
        }
        
        .section-header {
            background: var(--hnp-dark-brown);
            color: var(--hnp-white);
            padding: 1vw;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .section-header h5 {
            margin: 0;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .section-remove {
            color: white;
            border: none;
            width: 3vw;
            height: 3vw;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--hnp-dark-brown);
        }
        
        .section-body {
            padding: 1vw;
        }
        
        .empty-state {
            text-align: center;
            padding: 40px;
            color: #666;
            font-style: italic;
        }
        
        .paragraph-section textarea,
        .quote-section textarea,
        .list-section textarea {
            font-family: monospace;
        }
        
        .section-actions {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }
        
        .move-up, .move-down {
            padding: 1vw;
            background: var(--hnp-orange);
            color: white;
            border: none;
            border-radius: 0.52084vw;
            cursor: pointer;
            font-size: 1.04167vw;
        }
        
        .article-preview {
            border: 1px solid #eee;
            border-radius: 6px;
            padding: 15px;
            margin: 10px 0;
            background: white;
        }
        
        .article-preview .article-title {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .article-preview .article-title p {
            background: #6c3015;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            font-weight: bold;
        }
        
        .article-preview .article-title h5 {
            margin: 0;
            color: #2c3e50;
        }
        
        .article-preview .article-details {
            margin-top: 10px;
        }
        
        .article-preview .article-details ul {
            padding-left: 20px;
        }
        
        .article-preview .article-details li {
            margin-bottom: 5px;
        }
        
        .quote-preview {
            background: #f8f9fa;
            border-left: 4px solid #6c3015;
            padding: 20px;
            margin: 15px 0;
            font-style: italic;
        }
        
        .quote-preview h4 {
            margin: 0;
            color: #2c3e50;
        }
        
/* Large phones / small tablets (481px - 600px) */
@media (max-width: 768px) {
.login-section {
            position: relative;
            height: max-content;
            overflow: hidden;
            display: flex;
            justify-content: center;
            padding-bottom: 10vw;
        }
        .login-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}
        
        .login-container {
                background-color: #f6f6f6d9;
                backdrop-filter: blur(5px);
                padding: 4vw;
                border-radius: 2.625vw;
                border: 1px solid #DFE1E7;
                box-shadow: 0px 0.8333vw 1.6667vw -0.0521vw #80889733;
                width: 90vw;
                text-align: center;
                animation: fadeIn 0.5s ease;
                box-sizing: border-box;
                height: 128vw;
                margin-top: 6vw;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .login-logo {
            width: 30vw;
        }
        

        

        
        .login-header h4 {
            margin: 0;
        }
          h4, .h4 {
    width: 100%;
    font-size: 4.69vw;
    line-height: 6.64vw;
    font-family: 'OswaldRegular';
    font-weight: 500;
  }
p {
    font-size: 2.52vw;
    line-height: 4.47vw;
    font-weight: 500;
}

.login-header p {
    font-size: 2.52vw;
    line-height: 4.47vw;
}
        .login-form .username,
    .login-form .password {
        width: 100%;
        height: 20vw;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }
.username input,
    .password input {
        width: 100%;
        height: 14.1772vw;
        padding-left: 5.86vw;
        padding-right: 5.86vw;
        font-size: 2.52vw;
        line-height: 4.47vw;
        border: none;
        outline: none;
        border-radius: 2.93vw;
        background: #F6F6F6;
        font-family: 'PoppinsRegular';
        color: #717182;
        transition: all 0.3s ease-in-out;
    }        
        .login-btn {
            border: none;
            padding: 0;
            transition: all 0.3s;
            width: 58.59vw;
            height: 14.1772vw;
            font-size: 4.3vw;
            line-height: 5.86vw;
            border-radius: 2.93vw;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--hnp-dark-brown);
            color: #ffffff;
            font-family: 'PoppinsRegular';
            margin: 4vw 0;
        }
        
        .login-btn:hover {
            background: #8a4221;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(108, 48, 21, 0.3);
        }
        
        .login-btn:active {
            transform: translateY(0);
        }
        
        .alert {
            padding: 1vw;
            font-weight: 500;
            font-size: 2.52vw;
            line-height: 4.47vw;
            animation: slideDown 0.3s ease;
        }
        
        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .alert-danger {
            color: #f31212;
        }
        
        .alert-info {
            background: #d1ecf1;
            color: #0c5460;
            border: 1px solid #bee5eb;
        }
        
        .password-toggle {
            position: relative;
        }
        
        .password-toggle .toggle-btn {
            position: absolute;
            right: 4vw;
            top: 68%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #666;
            cursor: pointer;
            padding: 0.5vw;
            font-size: 3.5625vw;
        }

#toggleIcon.fa-eye-slash:before {
    color: var(--hnp-orange);
}
        
        .login-footer p {
        font-size: 2.52vw;
        line-height: 4.47vw;
        }
        
 
}

form.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vw;
}
.destination-manager {

}





.continent-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.continent-stat {
    padding: 4px 10px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 12px;
    color: #495057;
}

/* Destination Grid */
.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(24.31vw, 1fr));
    grid-auto-rows: 22.96vw;
    grid-auto-flow: dense;
    justify-content: center;
    gap: 1vw;
}


.destination-card {
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.8s ease;
    border: 1px solid #eee;
    background: #d9d9d9;
    border-radius: 1.3021vw;
    position: relative;
    box-sizing: border-box;
}

.destination-card.port {
    grid-row: span 2;
    grid-column: span 1;
}

.destination-card.land {
    grid-row: span 1;
    grid-column: span 2;
}

.destination-card.square {
    grid-row: span 1;
    grid-column: span 1;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.destination-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.3021vw;
    position: absolute;
}

.destination-image input[type="checkbox"] {
    position: absolute;
    width: 2vw;
    height: 2vw;
    border-radius: 1.5vw;
    top: 1vw;
    right: 1vw;
    accent-color: #6c3015;
    z-index: 2;
    outline: 1px solid var(--hnp-white);
    outline-offset: -1px;
    outline-style: outset;
}

.destination-image input[type="checkbox"]:checked::after {
    font-weight: bold;
}

.desti-card-gradient {
    width: 100%;
    height: 20%;
    background: linear-gradient(0deg, #222222 66.19%, rgba(34, 34, 34, 0) 100%);
    position: absolute;
    top: 80%;
    border-bottom-left-radius: 1.302084vw;
    border-bottom-right-radius: 1.302084vw;
    transition:  all 0.8s ;
    animation-timing-function: ease;
}
.destination-card:hover .desti-card-gradient {
    background: #000000;
    opacity: 75%;
    width: 100%;
    height: 100%;
    top: 0;
    border-radius: 1.302084vw;
}
.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.destination-card:hover .destination-image img {
    transform: scale(1.05);
}


.destination-content {
    position: absolute;
    bottom: 1.04167vw;
    left: 1.04167vw;
    height: max-content;
    width: 84%;
    gap: 1vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), top 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), gap 0.4s ease;
}

.destination-card:hover .destination-content {
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 1.04167vw;
}


.destination-card h5 {
    margin: 0;
    font-size: 1.6667vw;
    line-height: 2.0833vw;
    color: var(--hnp-white);
}

.destination-card h5 i {
    display: none;
}





.destination-meta {display: flex;color: var(--hnp-white);gap: 1.04167vw;}













.destination-actions {
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    gap: 1.04167vw;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) ease;
}



.destination-card:hover .destination-actions {
    display: flex;
    max-height: max-content;
    text-align: center;
    align-items: center;
    flex-direction: column;
    gap: 1.04167vw;
}

.desti-actions {
    display: flex;
    color: var(--hnp-white);
    justify-content: center;
    width: 100%;
    gap: 1vw;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.destination-actions   p {
    font-size: 1.0417vw;
    line-height: 1.5625vw;
    color: var(--hnp-black);
    opacity: 75%;
    max-width: 34.375vw;
    text-align: justify;
}
.destination-card:hover .destination-actions   p {
    max-width: 100%;
    color: var(--hnp-white);
    margin: 0 1.04167vw;
    text-align: center;
}

/* Image Upload */
.image-upload {
    border: 2px dashed #d9d9d9;
    border-radius: 1.5vw;
    padding: 2vw;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
}

.image-upload:hover {
    border-color: var(--hnp-orange);
}

.image-upload input[type="file"] {
    display: none;
}

.image-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vw;
    cursor: pointer;
}

.image-upload-label i {
    font-size: 5vw;
    color: var(--hnp-orange);
}

.image-preview {
    text-align: center;
    position: relative;
    margin: 1vw 0;
}

.image-preview img {
    width: 20vw;
    height: 10vw;
    border-top-left-radius: 1vw;
    border-bottom-left-radius: 1vw;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

/* Activities Management */
.activities-management {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.activity-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1vw;
    margin-bottom: 15px;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.activity-number {
    font-weight: 600;
    color: var(--hnp-orange);
}

.activity-remove {
    background: #e74c3c;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contents Management */
.contents-management {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.content-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.content-type-select {
    display: flex;
    gap: 10px;
    align-items: center;
}

.content-type-badge {
    padding: 0.5vw 1vw;
    border-radius: 0.5vw;
    font-size: 1.04167vw;
    font-weight: 600;
}

.badge-paragraph {background: var(--hnp-dark-brown);color: white;}
.badge-highlight { background: #2ecc71; color: white; }
.badge-note { background: #f39c12; color: white; }

.content-remove {
    background: var(--hnp-orange);
    color: white;
    border: none;
    width: 2vw;
    height: 2vw;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}








/* Activity Image Upload */
.image-upload-sm {
    border: 2px dashed #ddd;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
    margin-top: 10px;
}

.image-upload-sm:hover {
    border-color: var(--hnp-orange);
}

.image-upload-sm input[type="file"] {
    display: none;
}

.image-upload-sm .image-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.image-upload-sm .image-upload-label i {
    font-size: 24px;
    color: #95a5a6;
}

.image-upload-sm .image-upload-label p {
    font-size: 12px;
    margin: 0;
}

.image-upload-sm .image-upload-label small {
    font-size: 10px;
}
    /* Editor Specifics */
    .tool-btn {
        text-align: center;
        color: var(--hnp-black);
        display: flex;
        align-items: center;
        cursor: pointer;
        flex-shrink: 0;
        width: max-content;
        border-radius: 0.52084vw;
        height: 3.2292vw;
        box-sizing: border-box;
        justify-content: center;
        font-size: 1.0417vw;
        line-height: 1.5625vw;
        gap: 1vw;
        min-width: 4vw;
        border: none;
    }
    .tool-btn:hover, .tool-btn.active {background: var(--hnp-orange);color: var(--hnp-white);}
    
    /* Type Menu */
    .type-menu {
        display:none;
        position: absolute;
        left: 120%;
        top:0;
        background-color: #f6f6f6d9;
        z-index: 1000;
        min-width: 4vw;
        backdrop-filter: blur(5px);
    }
    .type-opt {cursor: pointer;box-sizing: border-box;font-weight: 400;font-size: 1.0417vw;line-height: 1.5625vw;height: 3vw;display: flex;align-items: center;border-bottom: 1px solid #6c301512;justify-content: center;}
    .type-opt:hover {color: white;background-color: var(--hnp-orange);}
    
    /* Canvas Sections */
    .canvas-section {
        border: 2px dashed #ccc;
        padding: 40px 26px; /* Matches Preview Padding */
        position: relative;
        min-height: 60px;
    }
    .canvas-section.gray-bg { background: #f6f6f6; border-color: #bbb; }
    .canvas-section.white-bg { background: #ffffff; border-color: #ccc; }
    .canvas-section:hover {border-color: var(--hnp-orange);}
    
    .section-label {
        position: absolute;
        top: -0.8vw;
        left: 0.8vw;
        background: #f6f6f6;
        color: var(--hnp-dark);
        font-size: 1.0417vw;
        line-height: 1.5625vw;
        padding: 0 0.5vw;
        border-radius: 4px;
        pointer-events: none;
        z-index: 2;
    }
    .remove-section {
        position: absolute;
        top: 0.8vw;
        right: 0.8vw;
        background: var(--hnp-gradient-white);
        color: white;
        font-size: 1.0417vw;
        line-height: 1.5625vw;
        padding: 0 0.5vw;
        border-radius: 4px;
        cursor: pointer;
        z-index:  2;
    }

.remove-section:hover {
    background: var(--hnp-orange);
}

    /* The wrapper for block elements */
    .canvas-el-wrapper {
        position: relative;
        cursor: grab;
        box-sizing: border-box;
        border: 1px solid transparent;
        display: block; /* Important for natural flow */
    }
    
    /* Selected State */
    .canvas-el-wrapper.selected { 
        outline: 2px solid var(--hnp-orange); 
    }

    /* HOVER STATE FOR SELECT TOOL */
    body[data-tool="select"] .canvas-el-wrapper:hover:not(.selected) {
        outline: 2px dashed var(--hnp-orange); 
    }

    /* Image Uploader in Editor */
    .img-uploader {
        width: 100%; background: #f0f0f0; border: 2px dashed #ccc;
        display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; overflow: hidden; color: #888; font-size: 12px; min-height: 100px;
    }
    .img-uploader img { width: 100%; height: 100%; object-fit: cover; position: absolute; top:0; left:0; pointer-events: none;}

    /* Properties Inputs */
    .prop-row {display: flex;flex-direction: column;}
    .prop-row label {color: var(--hnp-gradient-black);text-transform: uppercase;margin: 0;}
    .prop-input {
            background: #d9d9d9;
            border: 1px solid #f6f6f6;
            color: white;
            width: 100%;
            padding: 0 0.5vw;
            box-sizing: border-box;
            min-height: 2vw;
            border-radius: 0.4vw;
            resize: none;
            
            /* 2. Hide the scrollbar that normally appears */
            overflow: hidden !important;
            
            /* 3. Allow height to adjust dynamically */
            height: auto;
            }

textarea.prop-input {
    background: rgb(217, 217, 217);
    border: 1px solid rgb(246, 246, 246);
    color: var(--hnp-black);
    width: 124px;
    padding: 0.5vw;
    box-sizing: border-box;
    min-height: 2vw;
    border-radius: 0.4vw;
    resize: none;
    overflow: hidden;
    height: auto;
}
    
    /* Layer Tree */
    .tree-node { padding: 5px 8px; cursor: pointer; display: flex; align-items: center; border-bottom: 1px solid #333; }
    .tree-node:hover { background: #333; }
    .tree-node.selected { background: var(--hnp-orange); color: white; }
    .left-panel {
        width: 5.4vw;
        background: #f6f6f6;
        color: var(--hnp-black);
        display: flex;
        flex-direction: column;
    }
    .left-panel .head-t {
        font-weight: bold;
        background: #d9d9d9;
        font-size: 1.0417vw;
        line-height: 1.5625vw;
        height: 2.4vw;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .left-panel .panel-items {
            display: flex;
            gap: 1vw;
            flex-direction: column;
            align-items: center;
            padding: 1vw 0;
    }
    .tool-btn.i-white i {color: var(--hnp-white);}
    .tool-btn.i-gray i {
    color: var(--hnp-gradient-black);
}
.right-panel {
    width: 12vw;
    background: #f6f6f6;
    display: flex;
    flex-direction: column;
    color: var(--hnp-black);
}
.right-panel .head-t {
        font-weight: bold;
        background: #d9d9d9;
        font-size: 1.0417vw;
        line-height: 1.5625vw;
        height: 2.4vw;
        display: flex;
        align-items: center;
        justify-content: center;
    }
.right-panel .properties-content {
    padding: 1vw 0;
    overflow-y: auto;
    font-size: 1.0417vw;
    line-height: 1.5625vw;
}
.properties-content .prop-group {
    padding: 0 1vw;
}
.text-uppercase {
        text-transform: uppercase;
}
.editor-panel {
        flex: 1;
        background: #f6f6f6;
        display: flex;
        justify-content: center;
        overflow: auto;
        position: relative;
}
.tpl-header {
    background: #6c3015;
    padding: 120px 100px 0 100px;
    height: 300px;
    text-align: center;
    color: white;
    user-select: none;
    pointer-events: none;
    position:relative;
    box-sizing: border-box;
}
.tpl-logo {
    position: absolute;
    left: 20px;
    top: 50px;
    transform: translateY(-50%);
    display: block;
    background-color: #f6f6f6;
    border-radius: 4px;
    width: 60px;
    height: 60px;
}
.tpl-tym {
    font-family: 'PoppinsRegular';
    font-size: 12px;
    line-height: 19.2px;
    font-weight: 400;
}
.tpl-title {
    font-size: 38px;
    line-height: 50px;
    font-weight: bold;
    font-family: 'PoppinsRegular';
}
.tpl-des {
    font-size: 16px;
    line-height: 25.6px;
    font-weight: 400;
    font-family: 'PoppinsRegular';
    margin-top: 30px;
}

.grid-preview .tpl-header {
    padding: 80px 60px 0 60px;
    height: 200px;
    text-align: center;
    color: white;
    user-select: none;
}
.grid-preview .tpl-logo {
    left: 20px;
    top: 50px;
    width: 40px;
    height: 40px;
}
.grid-preview .tpl-tym {
    font-size: 8px;
    line-height: 15.2px;
}
.grid-preview .tpl-title {
    font-size: 26px;
    line-height: 34px;
}
.grid-preview .tpl-des {
    font-size: 11px;
    line-height: 16.6px;
    margin-top: 10px;
}
.canvas-body {
    min-height: 500px;
}
.preview-frame {
        padding: 2vw 0;
        overflow: auto;
        flex: 1;
        background-color: #f6f6f6;
}
.preview-modal-overlay {
        display: none;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 9999;
        overflow-y: auto;
}
.preview-card {
    background: #fff;
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 20px 0px #0000001A;
}
    /* INBOX STYLES */
    .email-system {
        display: flex;
        height: calc(100vh - 6vw);
        background: #f8f9fa;
        border-radius: 8px;
        overflow: hidden;
        position: fixed;
        width: 82vw;
    }
    
    /* SIDEBAR */
    .email-sidebar {
        width: 24vw;
        background: white;
        border-right: 1px solid #e0e0e0;
        display: flex;
        flex-direction: column;
        min-width: 24vw;
    }
    
    .sidebar-header {
        padding: 1vw;
        border-bottom: 1px solid #e0e0e0;
        background: white;
    }
    
    .sidebar-header h2 {
        margin: 0;
        color: #333;
  font-size: 1.5625vw;
  line-height: 2.0833vw;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .search-box {
        margin-top: 1vw;
        position: relative;
    }
    
    .search-box input {
        width: 100%;
        padding: 10px 15px 10px 40px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        box-sizing: border-box;
    }
    
    .search-box i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
    }
    
    /* EMAIL LIST */
    .email-list {
        flex: 1;
        overflow-y: auto;
        min-height: 0;
    }
    
    .email-item {
        padding: 15px 20px;
        border-bottom: 1px solid #f5f5f5;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        gap: 12px;
        position: relative;
    }
    
    .email-item:hover {
        background-color: #f8f9fa;
    }
    
    .email-item.active {
        box-shadow: inset -3px 6px 20px 0px rgb(0 0 0 / 10%);
    }
    
    .email-item.unread {
        background-color: #ffffff;
        font-weight: 500;
    }
    
    .email-item.unread::after {
        content: '';
        position: absolute;
        top: 20px;
        right: 20px;
        width: 8px;
        height: 8px;
        background: #fc9506;
        border-radius: 50%;
    }
    
    .avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #6c3015 0%, #fc9506 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 600;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    .email-content {
        flex: 1;
        min-width: 0;
    }
    
    .email-header {
        display: flex;
        justify-content: space-between;
        margin-bottom: 6px;
    }
    
    .sender-name {
        font-weight: 600;
        color: #333;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 60%;
    }
    
    .email-date {
        font-size: 12px;
        color: #666;
        flex-shrink: 0;
    }
    
    .email-subject {
        font-weight: 500;
        color: #333;
        font-size: 14px;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .email-preview {
        font-size: 13px;
        color: #666;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* EMAIL VIEWER */
    .email-viewer {
        flex: 1;
        background: white;
        display: flex;
        flex-direction: column;
        position: relative;
        min-width: 0;
    }
    
    .viewer-empty {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        text-align: center;
        color: #999;
        background: white;
    }
    
    .viewer-empty i {
        font-size: 64px;
        margin-bottom: 20px;
        opacity: 0.5;
    }
    
    .viewer-content {
        display: none;
        flex-direction: column;
        height: 100%;
        min-width: 0;
    }
    
    .viewer-header {
        padding: 1vw;
        border-bottom: 1px solid #e0e0e0;
        background: #fafafa;
        flex-shrink: 0;
        height: 13vw;
        box-sizing: border-box;
    }
    
    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 1vw;
    }
    
    .email-title {
        margin: 0;
        font-size: 22px;
        font-weight: 600;
        color: #333;
        line-height: 1.3;
        flex: 1;
        padding-right: 20px;
        word-break: break-word;
    }
    
    .header-actions {
        display: flex;
        gap: 10px;
        flex-shrink: 0;
    }
    
    .btn-action {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid #dee2e6;
        background: white;
        color: #495057;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .btn-action:hover {
        background: #fc9506;
        color: white;
        border-color: #fc9506;
    }
    
    .header-meta {
        display: flex;
        align-items: flex-start;
        gap: 1vw;
        color: #666;
        font-size: 1vw;
    }
    
    .sender-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #6c3015 0%, #fc9506 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 600;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    .sender-info {
        flex: 1;
        min-width: 0;
    }
    
    .sender-name-large {
        font-weight: 600;
        color: #333;
        margin-bottom: 2px;
        word-break: break-word;
    }
    
    .sender-email {
        font-size: 13px;
        color: #666;
        word-break: break-all;
    }
    
    .email-date-large {
        font-size: 13px;
        color: #666;
        text-align: right;
        flex-shrink: 0;
    }
    
    /* VIEW TOGGLE */
    .view-toggle-container {
        margin-top: 1vw;
        border-top: 1px solid #eaeaea;
    }

.view-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1vw;
}
    
    .view-toggle {
        display: flex;
        gap: 1vw;
        background: #f6f6f6;
        padding: 4px;
        border-radius: 6px;
    }
    
    .view-toggle-btn {
        padding: 6px 12px;
        background: transparent;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 13px;
        font-weight: 500;
        color: #666;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .view-toggle-btn:hover {
        background: rgba(0,0,0,0.05);
    }
    
    .view-toggle-btn.active {
        background: #fc9506;
        color: white;
    }
    
    .email-type-badge {
        background: #e3f2fd;
        color: #1976d2;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
    
    .email-type-badge.plain-text {
        background: #e8f5e9;
        color: #2e7d32;
    }
    
    .email-type-badge.no-content {
        background: #fce4ec;
        color: #c2185b;
    }
    
    /* EMAIL BODY CONTAINER */
    .email-body-container {
        flex: 1;
        overflow: auto;
        position: relative;
        padding: 0;
        min-width: 0;
        height: calc(100% - 13vw);
    }
    
    .loading-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 100;
    }
    
    .spinner {
        width: 40px;
        height: 40px;
        border: 3px solid #f3f3f3;
        border-top: 3px solid #fc9506;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    /* EMAIL VIEWS */
    .email-view {
        padding: 0;
        height: 100%;
        overflow: auto;
        box-sizing: border-box;
    }
    
    .html-email-view {
        background: white;
    }
    
    /* IFRAME WRAPPER */
    .iframe-wrapper {
        width: 100%;
        height: 100%;
        position: relative;
    }
    
    #emailFrame {
        width: 100%;
        height: 100%;
        border: none;
        background: white;
    }
    
    /* PLAIN TEXT VIEW */
    .plain-email-view {
        font-family: 'Courier New', monospace;
        font-size: 14px;
        line-height: 1.6;
        white-space: pre-wrap;
        background: #f8f9fa;
        padding: 30px;
        border-radius: 0;
        overflow-x: auto;
        color: #333;
    }
    
    /* RAW HTML VIEW */
    .raw-html-view {
        font-family: 'Courier New', monospace;
        font-size: 12px;
        background: #1e1e1e;
        color: #d4d4d4;
        padding: 30px;
        border-radius: 0;
        overflow-x: auto;
        white-space: pre-wrap;
        height: 100%;
    }
    
    /* NO CONTENT VIEW */
    .no-content-view {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        color: #999;
        text-align: center;
    }
    
    .no-content-view i {
        font-size: 64px;
        margin-bottom: 20px;
        opacity: 0.3;
    }
    

    
    /* EMPTY STATE */
    .empty-list {
        padding: 60px 20px;
        text-align: center;
        color: #999;
    }
    
    .empty-list i {
        font-size: 48px;
        margin-bottom: 15px;
        opacity: 0.5;
    }
    
    /* MODAL STYLES */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }



.modal-card {
    background: white;
    width: 80vw;
    height: 86vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.modal-overlay.show {
    display: flex;
}
    
    .modal-overlay.active {
        display: flex;
    }
    
    .modal-content {
        background: white;
        border-radius: 8px;
        width: 90%;
        max-width: 600px;
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }
    
    .modal-header {
        padding: 20px;
        border-bottom: 1px solid #e0e0e0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .modal-header h3 {
        margin: 0;
        color: #333;
    }
    
    .modal-close {
        background: none;
        border: none;
        font-size: 24px;
        color: #666;
        cursor: pointer;
        padding: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .modal-close:hover {
        color: #333;
    }
    
    .modal-body {
        padding: 20px;
        flex: 1;
        overflow-y: auto;
    }
    
   
    .modal-footer {
        padding: 20px;
        border-top: 1px solid #e0e0e0;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }
    
    
    

    
    .btn-secondary {
        background: #6c757d;
        color: white;
    }
    
    .btn-secondary:hover {
        background: #5a6268;
    }
    
    /* SCROLLBAR STYLING */
    .email-list::-webkit-scrollbar,
    .email-body-container::-webkit-scrollbar {
        width: 6px;
    }
    
    .email-list::-webkit-scrollbar-track,
    .email-body-container::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .email-list::-webkit-scrollbar-thumb,
    .email-body-container::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 3px;
    }
    
    .email-list::-webkit-scrollbar-thumb:hover,
    .email-body-container::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
.testimonial-grid {
    display: flex;
    gap: 1vw;
    flex-wrap: wrap;
    padding: 1vw;
}
    .testimonial-card {
        width: 48.96vw;
        height: 22.40vw;
        box-shadow: 0.26vw 1.0417vw 2.60vw 0px #0000000D;
        top: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        row-gap: 2.083vw;
        align-items: center;
        background-color: var(--hnp-white);
        border-radius: 1.3021vw;
        position: relative;
    }

.checkbox {
    position: absolute;
    top: 1vw;
    left: 1vw;
}
.statu {
    position: absolute;
    top: 1vw;
    right: 1vw;
}
    .testimonial-text {
        font-size: 1.0417vw;
        line-height: 1.5625vw;
        width: 42.5vw;
        margin: 0;
    }

    .testimonial-author {
        width: 42.5vw;
        column-gap: 1.0417vw;
    }

    .author-avatar {
        height: 4.1667vw;
        width: 4.1667vw;
        background-color: #d9d9d9;
            border-radius: 50%;
    transition: all 0.3s ease;
    }

    .author-name {
        font-size: 1.0417vw;
        line-height: 1.5625vw;
    }

    .author-location {
        font-size: 0.8333vw;
        line-height: 0.8333vw;
    }
.chips-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 15px;
        }

        .chip {
            padding: 0 1vw;
            background: white;
            border: 2px solid #e0e4e8;
            border-radius: 30px;
            font-weight: 500;
            font-size: 1.0417vw;
            line-height: 1.5625vw;
            color: #4a5568;
            cursor: pointer;
            transition: all 0.2s ease;
            user-select: none;
            height: 3.125vw;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .chip:hover {
            border-color: var(--hnp-orange);
            background: var(--hnp-orange);
            color: var(--hnp-white);
        }

        .chip.active {
            background: var(--hnp-dark-brown);
            border-color: var(--hnp-white);
            color: var(--hnp-white);
        }

        .chip.active:hover {
        border-color: var(--hnp-orange);
        background: var(--hnp-orange);
        color: var(--hnp-white);
        }
.form-header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
    gap: 1vw;
}
.form-actions {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
    gap: 1vw;
}
.galla  {
    width: 20vw;
    height: 10vw;
    position: relative;
    background: var(--hnp-dark-brown);
    border-radius: 1vw;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.add-img {
    width: 4vw;
    height: 4vw;
    background: var(--hnp-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3vw;
    line-height: 3vw;
    font-family: 'PoppinsMedium';
    color: var(--hnp-orange);
    z-index: 2;
}
.gallery-upload-preview-container {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    align-items: center;
    gap: 2vw;
}
            .preview-modal {
            position: fixed;
            inset: 0;
            background: rgba(10, 20, 30, 0.7);
            backdrop-filter: blur(5px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease, visibility 0s 0.2s;
            padding: 1.5rem;
        }

        .preview-modal.show {
            opacity: 1;
            visibility: visible;
            transition: opacity 0.2s ease, visibility 0s 0s;
        }

        /* --- THE FIX: modal panel acts as the NEW viewport for vw units --- */
        .modal-viewport {
            width: 90vw;          /* relative to BROWSER viewport, but we'll make its content use its width as "vw" */
            height: 80vh;
            background: white;
            border-radius: 0.5vw;
            box-shadow: 0 30px 60px rgba(0,0,0,0.5);
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        /* mock tab */
        .mock-tab-bar {
            background: #eef2f8;
            padding: 0.8rem 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            border-bottom: 1px solid #cad1db;
            flex-shrink: 0;
            box-sizing: border-box;
        }
        .mock-dots {
            display: flex;
            gap: 0.5rem;
        }
        .mock-dots span {
            width: 13px;
            height: 13px;
            border-radius: 20px;
            background: #d3dbe6;
        }
        .mock-dots span:nth-child(1) { background: #fd5f57; }
        .mock-dots span:nth-child(2) { background: #febc2e; }
        .mock-dots span:nth-child(3) { background: #2bc840; }

        .mock-url {
            background: white;
            padding: 0.4rem 1.2rem;
            border-radius: 40px;
            font-size: 0.9rem;
            color: #1e2b3c;
            box-shadow: inset 0 1px 4px rgba(0,0,0,0.04);
            flex: 1;
            max-width: 30vw;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            border: 1px solid #bcc6d2;
            box-sizing: border-box;
        }

        .mock-url .mock-input {
            padding: 0.2vw 1vw;
            box-sizing: border-box;
            border: none;
            outline: none;
            font-size: 1.04167vw;
            line-height: 1.5625vw;
            max-width: 25vw;
        }
        .mock-url i { opacity: 0.6; font-style: normal; }
        .close-modal-btn {
            background: #1d2b3b;
            border: none;
            color: white;
            font-size: 0.9rem;
            padding: 0.4rem 1.2rem;
            border-radius: 30px;
            cursor: pointer;
            margin-left: auto;
        }
            .preview-iframe {
            width: 100%;
            height: 100%;
            border: none;
            background: white;
        }

        /* we keep the .preview-content fallback but won't use it */
        .preview-content {
            display: none;
        }

        /* new iframe wrapper */
        .iframe-wrapper {
            flex: 1;
            width: 100%;
            background: white;
        }
/* Previous styles plus new ones */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.auto-save-status {
    font-size: 12px;
    color: #28a745;
    margin-left: 15px;
}

.upload-progress {
    margin-top: 10px;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #007bff;
    width: 0%;
    transition: width 0.3s ease;
}

.gallery-upload-item {
    background: var(--hnp-white);
    border-radius: 1vw;
    position: relative;
    width: 48vw;
}

#galleryUploadList {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    margin: 2vw 0;
}

.gallery-upload-item .form-group {
    margin: 0;
}

.gallery-upload-item.pending {
    /* border-left: 4px solid #ffc107; */
}
.gallery-upload-item.pending .galla{
    border-right: 4px solid #ffc107;
}
.gallery-upload-item.uploading {
    border-left: 4px solid #007bff;
}

.gallery-upload-item.completed {
    border-left: 4px solid #28a745;
    opacity: 0.8;
}

.gallery-upload-preview {
    width: 20vw;
    height: 10vw;
    margin: 0;
    border-top-left-radius: 1vw;
    border-bottom-left-radius: 1vw;
    object-fit: cover;
}

.gallery-alt-input {
    font-family: PoppinsRegular;
    transition: 0.3s ease-in-out;
    box-sizing: border-box;
    background: #F6F6F6;
    min-height: 5.2083vw;
    border: none;
    outline: none;
    border-radius: 0.78125vw;
    padding-left: 2.6042vw;
    font-size: 1.0417vw;
    line-height: 1.5625vw;
    width: 100%;
}

.gallery-upload-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    color: var(--hnp-black);
    border: none;
    border-radius: 4px;
    height: 2vw;
    cursor: pointer;
    z-index: 10;
}

.gallery-upload-remove:hover {
    background: #c82333;
    color: var(--hnp-white);
}

.gallery-upload-progress {
    margin-top: 10px;
    height: 5px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.gallery-upload-progress-bar {
    height: 100%;
    background: #28a745;
    width: 0%;
    transition: width 0.3s ease;
}

.gallery-upload-status {
    font-size: 12px;
    margin-top: 5px;
    border-radius: 4px;
    display: inline-block;
}

.gallery-upload-status.pending {
    color: #856404;
}
.gallery-upload-status.uploading { 
    background: #cce5ff; 
    color: #004085;
}
.gallery-upload-status.success { 
    background: #d4edda; 
    color: #155724;
}
.gallery-upload-status.error { 
    background: #f8d7da; 
    color: #721c24;
}
.error-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-modal-content {
    background: white;
    border-radius: 8px;
    width: 50vw;
    max-height: 80vh;
    overflow: auto;
}

.error-modal-header {
    padding: 15px 20px;
    background: #f8d7da;
    border-bottom: 1px solid #f5c6cb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.error-modal-header h3 {
    margin: 0;
    color: #721c24;
}

.error-modal-header button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #721c24;
}

.error-modal-body {
    padding: 20px;
    font-family: monospace;
    white-space: pre-wrap;
    max-height: 60vh;
    overflow: auto;
}
/* choose modal  */
.choose-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.choose-modal-content {
    background: white;
    border-radius: 8px;
    width: 50vw;
    max-height: 80vh;
    overflow: auto;
}

.choose-modal-header {
    padding: 15px 20px;
    background: #f6f6f6;
    border-bottom: 1px solid #f6f6f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.choose-modal-header button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #721c24;
}

.choose-modal-body {
    padding: 1vw;
    font-family: monospace;
    white-space: pre-wrap;
    max-height: 60vh;
    overflow: auto;
}
.choose-illu {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4vw;
}
.choose-illu img {
    width: 20vw;
}
.choose-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6vw;
}

.itinerary-container {
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
}

.dynamic-container {
    margin-bottom: 15px;
}

.gallery-upload-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}
.itinerary-image-upload {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #dee2e6;
}

.itinerary-image-preview-container {
    margin-top: 10px;
    position: relative;
    display: flex;
}

.itinerary-image-preview {
    width: 20vw;
    height: 10vw;
    border-top-left-radius: 1vw;
    border-bottom-left-radius: 1vw;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.itinerary-upload-progress {
    margin-top: 10px;
    height: 5px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    width: 200px;
    display: none;
}

.itinerary-upload-progress-bar {
    height: 100%;
    background: #28a745;
    width: 0%;
    transition: width 0.3s ease;
}

.itinerary-upload-status {
    font-size: 12px;
    margin-top: 5px;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.itinerary-upload-status.pending {
    background: transparent;
    color: #856404;
}
.itinerary-upload-status.uploading { 
    background: #cce5ff; 
    color: #004085;
}
.itinerary-upload-status.success { 
    background: #d4edda; 
    color: #155724;
}
.itinerary-upload-status.error { 
    background: #f8d7da; 
    color: #721c24;
}

.remove-itinerary-image {
    margin-top: 10px;
    display: block;
}
.calendar-container {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    background: #f8f9fa;
    min-height: calc(100vh - 60px);
}

/* Header */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-period {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    min-width: 250px;
    text-align: center;
}

.nav-btn {
    width: 3vw;
    height: 3vw;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: var(--hnp-light-gray);
    border-color: var(--hnp-orange);
}

.view-toggle {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
}

.view-toggle button {
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.view-toggle button.active {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.today-btn {
    padding: 8px 16px;
    border: 1px solid var(--hnp-orange);
    background: white;
    border-radius: 6px;
    color: var(--hnp-orange);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.today-btn:hover {
    background: var(--hnp-orange);
    color: var(--hnp-white);
}

.add-event-btn {
    padding: 8px 16px;
    background: var(--hnp-dark-brown);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.add-event-btn:hover {
    background: #27ae60;
}

/* Stats */
.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}





.stat-icon.car { background: #3498db; }
.stat-icon.flight { background: #2ecc71; }
.stat-icon.destination { background: #9b59b6; }
.stat-icon.package { background: #e74c3c; }

.stat-info {
    flex: 1;
}



.stat-number span {
    color: var(--hnp-orange);
}



/* Calendar Views */
.calendar-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* Month View */
.month-view {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #f0f0f0;
}

.month-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.weekday-header {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.calendar-day {
    min-height: 120px;
    background: white;
    padding: 10px;
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.calendar-day.today {
    background: #fff9e6;
}

.calendar-day.weekend {
    background: #fafafa;
}

.calendar-day.outside-month {
    background: #f8f9fa;
    color: #adb5bd;
}

.day-number {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.day-number.today {
    background: #3498db;
    color: white;
}

.events-list {
    margin-top: 30px;
    max-height: 80px;
    overflow-y: auto;
}

.event-item {
    padding: 4px 8px;
    margin-bottom: 4px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-left: 3px solid;
}

.event-item:hover {
    opacity: 0.9;
}

.event-type-car { background: #d4e6f1; border-color: #3498db; }
.event-type-flight { background: #d4edda; border-color: #2ecc71; }
.event-type-destination { background: #e8daef; border-color: #9b59b6; }
.event-type-package { background: #fadbd8; border-color: #e74c3c; }
.event-type-task { background: #fdebd0; border-color: #f39c12; }
.event-type-manual { background: #e5e7e9; border-color: #34495e; }

/* Week View */
.week-view {
    display: flex;
    flex-direction: column;
}

.week-grid {
    display: flex;
    flex: 1;
}

.time-slots {
    width: 80px;
    border-right: 1px solid #eee;
}

.time-slot {
    height: 60px;
    border-bottom: 1px solid #f8f9fa;
    padding: 5px;
    font-size: 12px;
    color: #7f8c8d;
    text-align: right;
}

.day-column {
    flex: 1;
    border-right: 1px solid #eee;
    position: relative;
}

.day-header {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.day-header.today {
    background: #fff9e6;
}

.day-content {
    position: relative;
    height: calc(24 * 60px);
}

.week-event {
    position: absolute;
    left: 2px;
    right: 2px;
    padding: 5px;
    border-radius: 4px;
    font-size: 12px;
    color: white;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
}

/* Day View */
.day-view {
    display: flex;
}

.day-timeline {
    width: 80px;
    border-right: 1px solid #eee;
}

.hour-slot {
    height: 60px;
    border-bottom: 1px solid #f8f9fa;
    padding: 5px;
    font-size: 12px;
    color: #7f8c8d;
    text-align: right;
}

.day-events {
    flex: 1;
    position: relative;
}

/* Event Modal */


.modal {
    background: white;
    border-radius: 10px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 1vw;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h5 {
    margin: 0;
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 1vw;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Event form */
.event-form {
    display: grid;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}


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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}



/* Legend */
.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
}

/* Loading */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #7f8c8d;
}
.driver-card {
    transition: all 0.3s;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
}

.driver-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #fc950645;
}

.assign-driver-link {
    color: #27ae60 !important;
    font-weight: 500;
}

.assign-driver-link i {
    color: #27ae60;
}

.assign-driver-link:hover {
    background: #e8f8f5 !important;
}
/* Add to your existing styles */
.car-status-badge {
    padding: 0.4vw;
    border-radius: 20px;
    font-size: 0.8vw;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05vw;
    display: flex;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.status-in_parking {
    background: #d4edda;
    color: #1d8f37;
}

.status-on_trip {
    background: #cce5ff;
    color: #004085;
}

.status-with_driver {
    background: #ffffff;
    color: #000000;
}

.status-out_for_service {
    background: #f8d7da;
    color: #721c24;
}

.condition-excellent {
    color: #27ae60;
}

.condition-good {
    color: #3498db;
}

.condition-fair {
    color: #f39c12;
}

.condition-needs_service {
    color: #e74c3c;
    font-weight: bold;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.fleet-card {
    background: var(--hnp-white);
    border-radius: 1vw;
    overflow: hidden;
    box-shadow: 0 0 2vw 0.2vw rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.fleet-card.in_parking {
    border-left-color: #27ae60;
}

.fleet-card.on_trip {
    border-left-color: #3498db;
}

.fleet-card.with_driver {
    background: var(--hnp-orange);
}

.fleet-card.out_for_service {
    border-left-color: #e74c3c;
}

.fleet-header {
    padding: 1vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fleet-header h5 {
    margin: 0;
    font-size: 1.2vw;
    font-weight: 600;
    color: var(--hnp-black);
}

.registration {
    font-family: 'PoppinsRegular';
    font-size: 1vw;
    font-weight: bolder;
    color: var(--hnp-black);
    background: yellow;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #000000;
    letter-spacing: 0.1vw;
}

.fleet-body {
    padding: 1vw;
    display: flex;
    gap: 1vw;
    box-sizing: border-box;
}

.fleet-image {
    width: 20vw;
    height: 12vw;
    object-fit: cover;
    border-radius: 6px;
}

.fleet-details {
    flex: 1;
}

.detail-row {
    display: flex;
    margin-bottom: 8px;
    font-size: 1vw;
}

.detail-label {
    width: 8vw;
    color: var(--hnp-black);
    font-weight: bold;
}

.detail-value {
    flex: 1;
    font-weight: 500;
}

.mileage-progress {
    margin: 10px 0;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.mileage-bar {
    height: 100%;
    background: #6c3015;
    width: 0%;
}

.service-warning {
    background: #fff3cd;
    color: #856404;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 10px;
}

.fleet-footer {
    padding: 1vw;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Timeline for car history */
.car-timeline {
    margin-top: 3vw;
    padding: 1vw;
    background: var(--hnp-white);
    border-radius: 0.8vw;
    max-height: 40vw;
    overflow-y: auto;
}

.timeline-item {
    position: relative;
    padding: 1vw 1vw 1vw 3vw;
    border-left: 2px solid #dee2e6;
    margin-left: 1vw;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -0.8vw;
    top: 1.4vw;
    width: 1.2vw;
    height: 1.2vw;
    border-radius: 50%;
    background: #6c3015;
    border: 2px solid white;
}

.timeline-item.task:before {
    background: var(--hnp-orange);
}

.timeline-item.action:before {
    background: #95a5a6;
}

.timeline-time {
    font-size: 1vw;
    color: #6c3015;
    margin-bottom: 0.5vw;
}

.timeline-title {
    font-weight: 600;
    margin-bottom: 0.5vw;
}

.timeline-details {
    font-size: 1vw;
    color: #6c757d;
}
.car-detail-container {
    padding: 2vw 0;
}

.car-profile-header {
    display: flex;
    flex-wrap: wrap;
}

.car-profile-avatar {
    width: 36vw;
    height: 20vw;
    object-fit: cover;
}
.driver-detail-container {
    padding: 2vw 0;
}

.driver-profile-header {
    display: flex;
    flex-wrap: wrap;
}

.driver-profile-avatar {
    width: 20vw;
    height: 20vw;
    object-fit: cover;
    margin: 0 1vw;
    border-radius: 50%;
}

.driver-profile-info {}

.driver-profile-info h3 {
    margin: 0;
    font-size: 2.2vw;
    line-height: 2.8vw;
}

.driver-profile-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    margin: 2vw 0;
}

.dash {
    display: flex;
    justify-content: center;
    padding: 1vw 0;
    align-items: center;
    gap: 4vw;
}

.driver-profile-meta-item .car-status-badge.status-with_driver {
    background: var(--hnp-orange);
    color: var(--hnp-white);
}

.driver-profile-meta-item {}

.driver-profile-meta-item .car-plate {
    background: yellow;
    padding: 0 0.5vw;
    border: 0.1vw solid var(--hnp-black);
    font-size: 1.2vw;
    font-weight: bold;
    letter-spacing: 0.1vw;
}

.driver-profile-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vw;
}

.stat-item {}

.stat-item .stat-label {}

.stat-item .stat-number {
    margin: 0;
    display: flex;
    gap: 2vw;
    background-color: rgb(127,138,70);
    color: #000000f5;
    font-family: 'Digital-7 Mono', sans-serif;
    height: 3vw;
    font-size: 2.4vw;
    align-items: center;
    justify-content: center;
    padding: 0 1vw;
    border-top: 3px solid #fc9506ad;
    border-left: 3px solid #fc950652;
    border-bottom: 1px solid #cfcfcf33;
    border-right: 1px solid #cfcfcf33;
    border-radius: 0.6vw;
    box-shadow: 0px 0px 50px #fc9506 inset;
    text-shadow: 0px 0px 20px #55555544;
    position: relative;
    top: 0;
    right: 0;
}
.task-sections {
    display: none !important;
}
@import url('https://fonts.googleapis.com/css?family=Economica:700|Play');
.gauge {
    --start-angle: -20deg;
    --digits-angle: 54deg;
    --lines-count: 4;
    --digits-count: 4;
    --gauge-value: 0;
    position: relative;
    border: 0.2rem solid #000000;
    border-radius: 100%;
    /* box-shadow: inset 0 0 0.25rem 0.25rem #a0a0a0, inset 0 0 7.5rem #0000008c; */
    width: 100%;
    /* height: 100%; */
    background-color: var(
    --hnp-dark);
    overflow: hidden;
    box-sizing: border-box;
}

.gauge::before {
    padding-top: 100%;
    content: '';
    display: block;
}

.gauge::after {
    font-size: 1vw;
    font-weight: bold;
    display: block;
    content: '';
    position: absolute;
    top: 25%;
    width: 100%;
    text-align: center;
}

.gauge .pointer {
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.gauge .pointer::before {
    content: '';
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 12%;
    height: 12%;
    left: 44%;
    top: 44%;
    z-index: 2;
    border-radius: 100%;
    box-shadow: 1px 0px 2rem 14px #fc9506, 0 0 5rem 0.1rem #fc9506;
}

.gauge .pointer .hand {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    transform-origin: center center;
    /* 半圓斜下角度計算 */
    transform: rotate(calc( var(--start-angle) + ( ( var(--gauge-value)) * var(--digits-angle))));
    transition: transform ease 0.2s;
}

.gauge .pointer .hand::after {
    content: '';
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 25%;
    height: 2%;
    top: 48%;
    right: 56%;
    z-index: 1;
    width: 0;
    height: 0;
    border: 0 solid transparent;
    border-top-width: 0.2vw;
    border-bottom-width: 0.4vw;
    border-right: 5vw solid #fc9506;
}

.gauge .pointer .hand::before {
    content: '';
    display: block;
}

.gauge .digit {
    position: absolute;
    top: 49.375%;
    right: 50%;
    width: 50%;
    height: 1.25%;
    border-left: 1.1rem solid white;
    transform-origin: center right;
    box-sizing: border-box;
    z-index: 1;
    --digit-rotation: calc(var(--start-angle) + var(--digit-order) * var(--digits-angle));
    transform: rotate(var(--digit-rotation));
}

.gauge .digit .label {
    transform: rotate(calc( -1 * var(--digit-rotation)));
}

.gauge .digit .label:not(:root:root) {
    transform: rotate(calc( -1 * ( var(--start-angle) + var(--digit-order) * var(--digits-angle))));
}

.gauge .digit:nth-of-type(1) {
    --digit-order: 0;
}

.gauge .digit:nth-of-type(2) {
    --digit-order: 1;
}

.gauge .digit:nth-of-type(3) {
    --digit-order: 2;
}

.gauge .digit:nth-of-type(4) {
    --digit-order: 3;
}

.gauge .digit:nth-of-type(5) {
    --digit-order: 4;
}

.gauge .digit:nth-of-type(6) {
    --digit-order: 5;
}

.gauge .digit:nth-of-type(7) {
    --digit-order: 6;
}

.gauge .digit:nth-of-type(8) {
    --digit-order: 7;
}

.gauge .digit:nth-of-type(9) {
    --digit-order: 8;
}

.gauge .digit:nth-of-type(10) {
    --digit-order: 9;
}

.gauge .digit:nth-of-type(11) {
    --digit-order: 10;
}

.gauge .digit .label {
    position: absolute;
    font-family: 'Economica', sans-serif;
    font-size: 1rem;
    bottom: -0.5rem;
    left: 7%;
    text-shadow: 0.1rem 0.1rem 0.1rem #fc9506, 0.1rem -0.1rem 0.1rem #ffffff, -0.1rem 0.1rem 0.1rem #fc9506, -0.1rem -0.1rem 0.1rem #ffffff;
    box-shadow: 0 0 1rem 1rem rgba(195, 225, 255, 0.05);
    background: rgb(255 255 255 / 0%);
}

#mileageGauge .gauge .digit .label {
    font-size: 0.6vw;
    left: 1%;
    bottom: -0.5vw;
    color: var(--hnp-white);
    text-shadow: none;
    display: none;
    box-shadow: none;
}

.gauge .digit.highlighted {
    border-left-color: var(--hnp-orange);
}

.gauge .digit .line {
    position: absolute;
    display: block;
    width: 100%;
    height: 50%;
    border-left: 0.5rem solid #ffffff96;
    border-right: 0.5rem solid transparent;
    left: -1rem;
    top: 25%;
    transform: rotate(calc( var(--digits-angle) / var(--lines-count) * var(--line-order)));
    transform-origin: center right;
    /* max 15 segements in main area */
}

.gauge .digit .line.highlighted {
    border-left-color: red;
}

.gauge .digit .line.separating {
    top: 12.5%;
    height: 75%;
}

.gauge .digit .line.separating::after {
    /* content: '';
    display: block;
    border-left: 2.5rem solid rgba(255, 255, 255, 0.15);
    border-top: 0.075rem solid transparent;
    border-bottom: 0.075rem solid transparent;
    width: 0;
    height: 0;
    position: absolute;
    left: 0.25rem; */
}

.gauge .digit .line:nth-child(1) {
    --line-order: 1;
}

.gauge .digit .line:nth-child(2) {
    --line-order: 2;
}

.gauge .digit .line:nth-child(3) {
    --line-order: 3;
}

.gauge .digit .line:nth-child(4) {
    --line-order: 4;
}

.gauge .digit .line:nth-child(5) {
    --line-order: 5;
}

.gauge .digit .line:nth-child(6) {
    --line-order: 6;
}

.gauge .digit .line:nth-child(7) {
    --line-order: 7;
}

.gauge .digit .line:nth-child(8) {
    --line-order: 8;
}

.gauge .digit .line:nth-child(9) {
    --line-order: 9;
}

.gauge .digit .line:nth-child(10) {
    --line-order: 10;
}

.gauge .digit .line:nth-child(11) {
    --line-order: 11;
}

.gauge .digit .line:nth-child(12) {
    --line-order: 12;
}

.gauge .digit .line:nth-child(13) {
    --line-order: 13;
}

.gauge .digit .line:nth-child(14) {
    --line-order: 14;
}

.gauge .limiter {
    width: 100%;
    height: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: bottom center;
    transform: rotate(calc( var(--start-angle) + var(--digits-count) * var(--digits-angle) - 180deg));
    overflow: hidden;
    z-index: 0;
}

.gauge .limiter::after {
    content: '';
    width: 99.5%;
    height: 199%;
    border: 0.6rem solid;
    border-color: transparent red red transparent;
    border-radius: 100%;
    display: block;
    box-sizing: border-box;
    transform: rotate(calc(45deg + var(--digits-angle) * ( var(--limiter) / 1000 - var(--digits-count))));
}

#mileageGauge {
    width: 14vw;
    display: inline-block;
}

#mileageGauge .gauge::after {
    content: 'Km';
    color: var(--hnp-white);
}
#mileageGauge .gauge {
    --current-km: 100500;
    --next-service: 10100;
    --last-service: 100000;
    --start-angle: -30deg;
    --digits-angle: 24deg;
    --lines-count: 5;
    --digits-count: 10;
    --gauge-value: 5;
}

#mileageGauge .gauge .pointer::after {
    font-family: 'Economica', sans-serif;
    counter-reset: kmvar var(--current-km);
    content: counter(kmvar) " km";
    color: #ffffff;
    /* text-shadow: 0.1rem 0.1rem 0.1rem #fc9506, 0.1rem -0.1rem 0.1rem #ffffff, -0.1rem 0.1rem 0.1rem #fc950600, -0.1rem -0.1rem 0.1rem #ffffff; */
    /* box-shadow: 0 0 1rem 1rem rgba(195, 225, 255, 0.05); */
    /* background: rgb(255 255 255 / 0%); */
    top: 65%;
    left: 0;
    right: 0;
    text-align: center;
    display: block;
    position: absolute;
    font-size: 1.2vw;
    font-weight: bold;
    letter-spacing: 0.1vw;
}

#fuelGauge {
    width: 14vw;
    display: inline-block;
}

#fuelGauge .gauge {
    --fuel-percent: 0;
    --limiter:6700;
    --gauge-value: 0;
}

#fuelGauge .gauge::after {
    content: 'Fuel';
    color: var(--hnp-white);
}

#fuelGauge .gauge .label {
    font-size: 1.4rem;
    bottom: -0.7rem;
    left: 10%;
}

#fuelGauge .gauge .pointer::after {
    font-family: 'Economica', sans-serif;
    counter-reset: fuel var(--fuel-percent);
    content: counter(fuel) "%";
    color: #ffffff;
    top: 65%;
    left: 0;
    right: 0;
    text-align: center;
    display: block;
    position: absolute;
    font-size: 1.2vw;
    font-weight: bold;
    letter-spacing: 0.1vw;
}
.modal-body .car-plate {
    background: yellow;
    padding: 0 0.5vw;
    border: 0.1vw solid var(--hnp-black);
    font-size: 1.2vw;
    font-weight: bold;
    letter-spacing: 0.1vw;
}


/* not hcleaned */
.driver-manager {
}




.header .subtitle {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 14px;
}





.btn p {
    margin: 0;
}

.btn-primary {
    background: #6c3015;
    color: white;
    border-color: #6c3015;
}


.btn-danger {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

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



.btn-warning {
    background: #f39c12;
    color: white;
    border-color: #f39c12;
}

.btn-warning:hover {
    background: #d68910;
}








/* Stats Cards */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20vw, 1fr));
    gap: 1vw;
    margin-bottom: 2vw;
}

.stat-card {
    background: var(--hnp-white);
    border-radius: 2vw;
    padding: 2vw 1.4vw;
    text-align: center;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(108, 48, 21, 0.1);
    box-shadow: 0 2vw 4vw rgba(0, 0, 0, 0.02);
    position: relative;
    box-sizing: border-box;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.2vw;
    cursor: pointer;
    transition: transform 0.3s;
    grid-row: span 1;
    grid-column: span 1;
}

.stat-card.total {}
.stat-card.active { border-left-color: #2ecc71; }
.stat-card.available { border-left-color: #27ae60; }
.stat-card.busy { border-left-color: #e74c3c; }
.stat-card.on-leave { border-left-color: #f39c12; }
.stat-card.tasks { border-left-color: #9b59b6; }





/* Filters */
.filters {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.filter-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-self: flex-end;
}

/* Bulk Actions */
.bulk-actions {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.bulk-select {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bulk-select input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.bulk-select label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
}

.bulk-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Driver Grid */
.driver-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(26vw, 1fr));
    gap: 2vw;
    margin-top: 3vw;
}

.driver-card {
    background: white;
    border-radius: 1vw;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.driver-card:hover {
    transform: translateY(-0.5vw);
    box-shadow: 0 0.5vw 2vw #fc95064f;
}

.driver-header {
    position: relative;
    height: 100px;
    background: linear-gradient(135deg, #fc9506 0%, #6c3015 100%);
}

.driver-avatar {
    position: absolute;
    bottom: -4vw;
    left: 5vw;
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    border: 0.4vw solid white;
    background: white;
    object-fit: cover;
    box-shadow: 0 0.4vw 1vw rgba(0, 0, 0, 0.1);
}

.driver-checkbox {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.driver-content {
    padding: 4vw 1vw 1vw 1vw;
}

.driver-content h5 {
    margin: 0 0 0.5vw 0;
    font-size: 1.2vw;
    font-weight: 600;
    color: #333;
}

.driver-badges {
    display: flex;
    gap: 1vw;
    margin-bottom: 1vw;
}

.availability-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.availability-available {
    background: #d4edda;
    color: #155724;
}

.availability-busy {
    background: #f8d7da;
    color: #721c24;
}

.availability-on_leave {
    background: #fff3cd;
    color: #856404;
}

.availability-unavailable {
    background: #e2e3e5;
    color: #383d41;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 12px;
    color: #f39c12;
}

.driver-details {
    margin: 1vw 0;
    padding: 1vw 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.driver-detail-item {
    display: flex;
    align-items: center;
    gap: 1vw;
    margin-bottom: 1vw;
    font-size: 1vw;
    color: #555;
}

.driver-detail-item i {
    width: 20px;
    color: #fc9506;
}

.driver-languages {
    margin-top: 1vw;
}

.language-tag {
    display: inline-block;
    padding: 0.4vw 1vw;
    background: #f6f6f6;
    border-radius: 4px;
    font-size: 11px;
    margin-right: 5px;
    margin-bottom: 5px;
    color: #6c3015;
}

.driver-actions {
    display: flex;
    gap: 1vw;
    margin-top: 1vw;
}

.driver-actions .btn {
    flex: 1;
}

/* Tasks Table */
.tasks-table-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

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

.tasks-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.tasks-table td {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}

.tasks-table tr:hover {
    background: #f8f9fa;
}

.task-status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.task-status-assigned {
    background: #cfe2ff;
    color: #084298;
}

.task-status-en_route {
    background: #fff3cd;
    color: #856404;
}

.task-status-on_site {
    background: #d1ecf1;
    color: #0c5460;
}

.task-status-completed {
    background: #d4edda;
    color: #155724;
}

.task-status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Task Detail Card */
.task-detail-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.task-header-left h4 {
    margin: 0 0 5px 0;
    font-size: 24px;
    color: #333;
}

.task-header-left p {
    margin: 0;
    color: #666;
}

.task-header-right {
    text-align: right;
}

.task-ref {
    font-size: 20px;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 5px;
}

.task-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.task-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.task-section h5 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.task-section-row {
    display: flex;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.task-section-row:last-child {
    border-bottom: none;
}

.task-section-label {
    width: 140px;
    font-weight: 500;
    color: #666;
}

.task-section-value {
    flex: 1;
    color: #333;
}

.task-update-form {
    background: white;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #eee;
    margin-top: 30px;
}

.task-update-form h5 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
}

/* Captain's Update Form */
.captain-update-form {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
    border: 2px solid #3498db;
}

.captain-update-form h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.captain-update-form h4 i {
    color: #3498db;
}

.captain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.captain-field {
    margin-bottom: 15px;
}

.captain-field label {
    font-weight: 600;
    color: #495057;
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
}

.captain-field .value {
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
}

.captain-field input, .captain-field select, .captain-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

/* Driver Form */
.driver-form {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}


/* Profile Image Upload */
.profile-upload {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.profile-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.profile-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-controls {
    flex: 1;
}

/* Language Checkboxes */
.language-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.language-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.language-checkbox label {
    margin: 0;
    font-size: 14px;
    cursor: pointer;
}



.driver-profile-header {
    display: flex;
    gap: 2vw;
    margin-bottom: 2vw;
    padding: 1.4vw 0;
    background: var(--hnp-white);
    border-radius: 1vw;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}


.driver-profile-info {
    flex: 1;
}

.driver-profile-info h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 28px;
}

.driver-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.driver-profile-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
}

.driver-profile-stats {
    display: flex;
    gap: 2vw;
    margin: 1vw 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 5.82vw;
    line-height: 6vw;
    font-weight: 700;
    color: rgba(108, 48, 21, 0.05);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.2vw;
    transition: all 0.3s;
    position: absolute;
    right: 1vw;
    top: 1vw;
}

.stat-card:hover .stat-number {
    color: rgba(252, 149, 6, 0.1);
    transform: scale(1.2);
}



/* end not hcleaned  */


.traveler-manager {

}




.header .subtitle {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 14px;
}

/* Users Table */
.users-table-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

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

.users-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.users-table td {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
}

.users-table tr:hover {
    background: #f8f9fa;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
}



/* Travelers Table */
.travelers-table-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

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

.travelers-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.travelers-table td {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
}

.travelers-table tr:hover {
    background: #f8f9fa;
}

.traveler-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
}

.traveler-info {
    min-width: 250px;
}

.traveler-name {
    font-weight: 600;
    margin-bottom: 3px;
    color: #333;
}

.traveler-contact {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.4;
}

.traveler-location {
    font-size: 13px;
    color: #495057;
}

.traveler-location i {
    color: #6c757d;
    margin-right: 5px;
}

.traveler-preferences {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.status-lead {
    background: #fff3cd;
    color: #856404;
}

.newsletter-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.newsletter-subscribed {
    background: #d1ecf1;
    color: #0c5460;
}

.newsletter-not-subscribed {
    background: #f8f9fa;
    color: #6c757d;
}

.traveler-date {
    font-size: 13px;
    color: #6c757d;
    white-space: nowrap;
}

.action-buttons {
    display: flex;
    gap: 5px;
}

/* Traveler Detail View */
.traveler-detail-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.traveler-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.traveler-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #eee;
}

.traveler-info-main {
    flex: 1;
}

.traveler-info-main h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.traveler-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.traveler-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.traveler-actions-top {
    display: flex;
    gap: 10px;
    align-self: flex-start;
}

/* Traveler Content */
.traveler-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}


/* Traveler Details */
.traveler-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
}

.traveler-details h5 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 16px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    padding: 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #eee;
}

.detail-item label {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
    display: block;
}

.detail-item p {
    margin: 0;
    font-weight: 500;
    color: #333;
    word-break: break-word;
}

.hnp-table {
    width: 100%;
    border-collapse: collapse;
}
.hnp-table .table-container {
    width: 100%;
}
.hnp-table th {
    padding: 0.5vw 1vw;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    background: white;
    font-size: 12px;
    text-transform: uppercase;
    box-sizing: border-box;
}

.hnp-table td {
    padding: 1vw;
    border-bottom: 1px solid #dee2e6;
    font-size: 1vw;
}

.hnp-table tr:last-child td {
    border-bottom: none;
}
.hnp-table td .og-image {
    width: 150px;
}
/* Traveler Bookings */
.traveler-bookings {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
}

.traveler-bookings h5 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 16px;
}

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

.bookings-table .table-container {
    width: 100%;
}

.bookings-table th {
    padding: 0.5vw 1vw;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    background: white;
    font-size: 12px;
    text-transform: uppercase;
    box-sizing: border-box;
}

.bookings-table td {
    padding: 1vw;
    border-bottom: 1px solid #dee2e6;
    font-size: 1vw;
}

.bookings-table tr:last-child td {
    border-bottom: none;
}

.booking-ref {
    font-weight: 600;
    color: #3498db;
}

.booking-amount {
    color: #2ecc71;
    font-weight: 600;
}

/* Traveler Form */
.traveler-form {
    background: white;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

/* Profile Image Upload */
.profile-upload {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #eee;
    flex-shrink: 0;
}

.profile-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-controls {
    flex: 1;
}



/* Traveler Activity Log */
.traveler-activity {
    background: white;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #eee;
}

.traveler-activity h5 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 16px;
}

.activity-timeline {
    position: relative;
    padding-left: 30px;
}

.activity-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}

.activity-item {
    position: relative;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3498db;
    border: 2px solid white;
}

.activity-time {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
}

.activity-action {
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.activity-details {
    font-size: 13px;
    color: #666;
}

.activity-admin {
    font-size: 12px;
    color: #3498db;
    margin-top: 5px;
}

/* Email Modal */
.modal {
    width: 100%;
    height: 100%;
    display: block;
    background: var(--hnp-white);
    top: unset;
    left: unset;
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 1vw;
    box-sizing: border-box;
}



.modal-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-header h5 {
    margin: 0;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: #f8f9fa;
}
/* Date range */
.date-range {
    display: flex;
    gap: 10px;
    align-items: center;
}

.date-input {
    flex: 1;
}



/* Actions */
.actions-cell {
    white-space: nowrap;
}

.actions-dropdown {
    position: relative;
    display: inline-block;
}

.actions-btn {
    padding: 6px 12px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.actions-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 6px;
    z-index: 1000;
    border: 1px solid #ddd;
}

.actions-dropdown-content a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #495057;
    border-bottom: 1px solid #f8f9fa;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.actions-dropdown-content a:hover {
    background: #f8f9fa;
    color: #3498db;
}

.actions-dropdown-content a:last-child {
    border-bottom: none;
}

.actions-dropdown:hover .actions-dropdown-content {
    display: block;
}


/* Booking Details */
.booking-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.detail-section {
    margin-bottom: 25px;
}

.detail-section h6 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.detail-row {
    display: flex;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-label {
    flex: 0 0 150px;
    font-weight: 500;
    color: #666;
}

.detail-value {
    flex: 1;
    color: #333;
}

/* Timeline */
.timeline {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.timeline-item {
    display: flex;
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3498db;
}

.timeline-item.success:before {
    background: #2ecc71;
}

.timeline-item.warning:before {
    background: #f39c12;
}

.timeline-item.danger:before {
    background: #e74c3c;
}

.timeline-content {
    flex: 1;
}

.timeline-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.timeline-text {
    color: #333;
    margin: 0;
}

.quote-container {
    width: 816px;
}
.quote-profile {
    box-shadow: 0 0 2rem 0 rgba(136, 152, 170, 0.15);
}

        /* Custom Dropdown */
        .dropd {
            position: relative;
            width: 100%;
            margin-bottom: 20px;
        }

        .dropd-selected {
            background: #F6F6F6;
            border: none;
            outline: none;
            border-radius: 0.78125vw;
            padding-left: 2.6042vw;
            padding-right: 1.4vw;
            font-size: 1.0417vw;
            line-height: 1.5625vw;
            font-family: PoppinsRegular;
            transition: 0.3s ease-in-out;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            min-height: 5.2083vw;
            box-sizing: border-box;
        }

        .dropd-selected:hover {
            border-color: #999;
        }

        .dropd-selected.active {
            border-color: #007bff;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }

        .selected-txt {
            color: #333;
        }

        .selected-txt.placeholder {
            color: #999;
        }

        .arraw {
            transition: transform 0.3s;
        }

        .dropd-selected.active .arraw {
            transform: rotate(180deg);
        }

        .dropd-options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #f6f6f6a1;
            border: 0.2vw solid #f6f6f6;
            border-top: none;
            border-radius: 0 0 0.78125vw 0.78125vw;
            max-height: 18vw;
            overflow-y: auto;
            display: none;
            z-index: 2;
            backdrop-filter: blur(0.5vw);
        }

        .dropd-options.show {
            display: block;
        }

        .dropd-option {
            padding: 12px 15px;
            cursor: pointer;
            transition: background 0.2s;
        }

        .dropd-option:hover {
            background: #fc9506;
        }

        .dropd-option.selected {
            background: #6c3015;
            color: white;
        }

        .dropd-option:first-child {
            color: #999;
            border-bottom: 1px solid #eee;
        }

        .dropd-option:first-child:hover {
            background: #ffebee;
            color: #dc3545;
        }
.region-label {
    padding: 0.5vw 1vw;
    background: #f6f6f6;
    color: #6c3015;
    font-size: 0.8vw;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #fc9506;
}

.region-label:first-of-type {
    margin-top: 0;
}

.dropdown-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #6c3015, transparent);
    margin: 10px 0;
}

.dropd-option.priority {
    font-weight: 600;
}

.dropd-option.priority:hover {
}

.dropd-option.priority.selected {
    background: #6c3015;
    color: white;
}
.gallery-grid {
    flex:1;
    overflow-y:auto;
    display:grid;
    grid-template-columns: repeat(auto-fill,minmax(15.363vw,1fr));
    gap:0.4vw;
    padding:0.5vw;
    background: #f6f6f6;
}
.gallery-grid::-webkit-scrollbar {
  width: 0.6vw;
  height: 0.6vw;
  background: var(--hnp-white);
}

.gallery-grid::-webkit-scrollbar-thumb {
  border-radius: 2vw;
  background: var(--hnp-gradient-black);
}
.gallery-grid .gallery-itm {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 0.4vw;
    overflow: hidden;
    transition: all 0.3s;
    background: #ffffff;
    width: 100%;
    height: 15.363vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.gallery-grid .gallery-itm:hover {
    border-color: #fc9506;
    background: #f6f6f6;
    backdrop-filter: blur(0.5vw);
}
.gallery-itm .itm-preview {
        width: auto;
        max-width: 100%;
        height: 12vw;
        object-fit: contain;
}
.gallery-itm .itm-info {
    width: 100%;
    box-sizing: border-box;
    height: 3vw;
    font-size: 0.9vw;9fa;
    line-height: 1vw;
    color: #666;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5vw;
}
.itm-info .info-folder {
height: 1vw;
}
.itm-info .info-name {
    width: 100%;
    height: 1vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* From Uiverse.io by mrhyddenn */ 
.loader {
  position: relative;
  width: 40vw;
}

.loader span {
  position: absolute;
  color: #fff;
  transform: translate(-50%, -50%);
  font-size: 3VW;
  letter-spacing: 0.2VW;
}

.loader span:nth-child(1) {
  color: transparent;
  -webkit-text-stroke: 0.3px #fc9506;
}

.loader span:nth-child(2) {
  color: #fc9506;
  -webkit-text-stroke: 1px #fc9506;
  animation: uiverse723 3s ease-in-out infinite;
}

@keyframes uiverse723 {
  0%, 100% {
    clip-path: polygon(0% 45%, 15% 44%, 32% 50%, 
     54% 60%, 70% 61%, 84% 59%, 100% 52%, 100% 100%, 0% 100%);
  }

  50% {
    clip-path: polygon(0% 60%, 16% 65%, 34% 66%, 
     51% 62%, 67% 50%, 84% 45%, 100% 46%, 100% 100%, 0% 100%);
  }
}
.grid-c {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}


        .gallery-container {
            margin: 0 auto;
            background: white;
            padding: 2vw;
            box-shadow: 0 2vw 5vw rgba(0, 0, 0, 0.3);
        }

        /* Header */
        .gallery-header {
            margin-bottom: 2vw;
            padding-bottom: 2vw;
            border-bottom: 2px solid #f0f0f0;
        }

        .gallery-header h1 {
            font-size: 1.5625vw;
            line-height: 1.5625vw;
            color: #333;
            margin-bottom: 1vw;
        }

        .gallery-header h1 span {
            background: linear-gradient(135deg, #6c3015 0%, #fc9506 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .stats {
            color: #666;
            font-size: 1vw;
        }

        /* Controls */
        .gallery-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 15px;
        }

        .filter-controls {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 0.5vw 1vw;
            border: none;
            border-radius: 1vw;
            background: #f0f0f0;
            color: #666;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1vw;
            font-weight: 500;
        }

        .filter-btn:hover {
            background: #e0e0e0;
            transform: translateY(-2px);
        }

        .filter-btn.active {
            background: linear-gradient(135deg, #6c3015 0%, #fc9506 100%);
            color: white;
            box-shadow: 0 0.5vw 1vw #fc950647;
        }

        .search-box {
            padding: 10px 20px;
            border: 2px solid #e0e0e0;
            border-radius: 25px;
            width: 250px;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .search-box:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
        }

        .view-controls {
            display: flex;
            gap: 10px;
        }

        .view-btn {
            padding: 10px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            background: white;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .view-btn:hover {
            border-color: #667eea;
        }

        .view-btn.active {
            border-color: #667eea;
            background: #f0f4ff;
        }

        /* Loading */
        .loading {
            text-align: center;
            padding: 50px;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid #667eea;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Gallery Grid */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            transition: all 0.3s ease;
        }

        .gallery-grid.list-view {
            grid-template-columns: 1fr;
        }

        .gallery-item {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            background: #f9f9f9;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }

        .gallery-item img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            display: block;
            transition: all 0.3s ease;
        }

        .list-view .gallery-item {
            display: flex;
            height: 120px;
        }

        .list-view .gallery-item img {
            width: 120px;
            height: 120px;
        }

        .item-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            color: white;
            padding: 15px;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .gallery-item:hover .item-overlay {
            transform: translateY(0);
        }

        .item-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .item-meta {
            font-size: 12px;
            opacity: 0.9;
            display: flex;
            justify-content: space-between;
        }

        .item-folder {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(0,0,0,0.6);
            color: white;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 12px;
            backdrop-filter: blur(5px);
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #999;
        }

        .empty-state svg {
            width: 100px;
            height: 100px;
            margin-bottom: 20px;
            fill: #e0e0e0;
        }

        /* Modal */
        .view-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #f6f6f642;
            backdrop-filter: blur(0.4vw);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .view-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .view-modal-content {
            max-width: 70vw;
            max-height: 80vh;
            position: relative;
            box-sizing: border-box;
        }

        .modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}
        .modal-content img {
            max-width: 100%;
            max-height: 90vh;
            border-radius: 10px;
        }

        .modal-close {
            position: absolute;
            top: 0;
            right: -4vw;
            color: white;
            font-size: 2vw;
            line-height: 2vw;
            cursor: pointer;
            width: 3vw;
            height: 3vw;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #6c757d;
            transition: all 0.3s ease;
        }

        .modal-close:hover {
            background: #fc9506;
            transform: rotate(90deg);
            color: #ffffff;
        }

        .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 4vw;
            height: 4vw;
            background: #6c3015;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2vw;
            cursor: pointer;
            transition: all 0.3s ease;
            user-select: none;
        }

        .modal-nav:hover {
            background: #fc9506;
        }

        .modal-nav.prev {
            left: -8vw;
        }

        .modal-nav.next {
            right: -8vw;
        }

        .modal-info {
            position: absolute;
            bottom: 1vw;
            left: 1vw;
            color: white;
            font-size: 1vw;
            padding: 0.5vw 1vw;
            border-radius: 1vw;
            background: #ffffff00;
            backdrop-filter: blur(0.5vw);
        }

        /* Folder Stats */
        .folder-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 30px;
            display: none;
        }

        .folder-badge {
            background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf0 100%);
            padding: 0.5vw 1vw;
            border-radius: 1vw;
            font-size: 1vw;
            color: #555;
            border: 1px solid #ddd;
            transition: all 0.3s ease;
        }

        .folder-badge:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .folder-badge span {
            font-weight: 600;
            color: #667eea;
            margin-left: 5px;
        }
.hero-preview {}
.hero-preview iframe {
    width: 60vw;
    height: 28vw;
    border: none;
}
.hnp-pages {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hnp-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60vw, 1fr));
    gap: 20px;
}
.hnp-page {
    background:#fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    display:flex;
    flex-direction:column;
    max-width: 60vw;
}
.hnp-page-info {
    padding: 15px;
    flex:1;
}
.hnp-page-info h5 {
    margin: 0 0 5px 0;
    font-size: 16px;
}
.hnp-page-state {
    margin-bottom:10px;
}
.hnp-page-state span {
    background:#d4edda;
    color:#155724;
    padding:2px 8px;
    border-radius:10px;
    font-size:11px;
}
hnp-page-state small {
    color:#888;
    margin-left:10px;
}
.hnp-page-actions {
    display:flex;
    gap:10px;
}