/* Admin Redesign CSS */

:root {
  --admin-navy: #1e293b;
  --admin-slate: #64748b;
  --admin-emerald: #10b981;
  --admin-red: #ef4444;
  --admin-amber: #f59e0b;
  --admin-bg: #f8fafc;
  --admin-card-bg: #ffffff;
  --admin-sidebar-bg: #0f172a;
}

.admin-redesign-body {
  background-color: var(--admin-bg) !important;
  font-family: 'Inter', sans-serif !important;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
  width: 260px;
  background-color: var(--admin-sidebar-bg);
  color: #fff;
  transition: all 0.3s;
  flex-shrink: 0;
}

.admin-sidebar .nav-link {
  color: #94a3b8;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Main Content Overlay */
.admin-main {
  flex-grow: 1;
  padding: 2rem;
  overflow-y: auto;
}

/* Header */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.admin-header h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--admin-navy);
  margin: 0;
}

/* Metric Cards */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.metric-card {
  background: var(--admin-card-bg);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 4px solid transparent;
}

.metric-card.navy {
  border-left-color: var(--admin-navy);
}

.metric-card.emerald {
  border-left-color: var(--admin-emerald);
}

.metric-card.red {
  border-left-color: var(--admin-red);
}

.metric-card.amber {
  border-left-color: var(--admin-amber);
}

.metric-label {
  font-size: 0.875rem;
  color: var(--admin-slate);
  font-weight: 500;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--admin-navy);
}

/* Tables */
.admin-card {
  background: var(--admin-card-bg);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.admin-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.admin-table th {
  background: #f1f5f9;
  padding: 0.75rem 1.5rem;
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--admin-slate);
  letter-spacing: 0.05em;
}

.admin-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.875rem;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

/* Status Badges */
.status-pill {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-pill.premium {
  background: #d1fae5;
  color: #065f46;
}

.status-pill.expired {
  background: #fee2e2;
  color: #991b1b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar.offcanvas-md {
    width: 280px;
    border-right: none;
  }

  .admin-main {
    padding: 1rem;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

body {
    background-color: #d2cdc8 !important;
}

p {
    font-family: 'Exo 2', sans-serif;
}

h1,
h2,
h3,
h4,
li {
    font-family: 'Gotu', sans-serif;
    color: rgb(100, 85, 65);
}

.bold {
    font-weight: bold;
}

ul.clean {
    list-style: none;
}

.image_full_width {
    width: 100%;
}

.attraction_icon_small {
    width: 32px;
    height: 32px;
}

.attraction_icon {
    width: 64px;
    height: 64px;
}

.attraction_header {
    margin: 5px;
    width: 100%;
}

.attraction_webpage {
    width: 100%;
    margin: 5px;
}

.attraction_display {
    width: 100%;
    margin: 5px;
}

.dmo_header {
    width: 100%;
    padding: 5px;
}

.dmo_display {
    width: 100%;
    padding: 5px;
}

.dmo_webpage {
    width: 100%;
    padding: 5px;
}

.photo_gallery {
    background-color: #dddddd;
    padding: 2.5%;
}

.photo_gallery_item {
    position: relative;
    width: 100%;
}

.photo_gallery_photo {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.photo-text {
    width: 100%;
    word-wrap: break-word;
}

.featured_destination_img {
    width: 100%;
}

.suggested_destination_img {
    width: 100%;
}

.no_underline {
    text-decoration: none;
}

.float_left {
    float: left !important;
}

.float_right {
    float: right !important;
}

.float_clear {
    float: none !important;
}

.activity_section {
    width: 33% !important;
    float: left;
}

.activity_image {
    width: 100%;
}


/* Sort Links Styling */
.sort-link {
    color: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.sort-link:hover {
    color: #fff;
    text-decoration: none;
}

thead .table-dark .sort-link {
    color: #fff;
}

thead .table-dark .sort-link:hover {
    opacity: 0.8;
}

/* Alphabet Navigation */
.alphabet-nav {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 900;
    border: 1px solid #dee2e6;
}

.alphabet-link {
    display: inline-block;
    padding: 5px 10px;
    margin: 2px;
    text-decoration: none;
    font-weight: 600;
    color: rgb(100, 85, 65);
    transition: all 0.2s ease-in-out;
}

.alphabet-link:hover {
    background-color: rgb(100, 85, 65);
    color: white !important;
    border-radius: 4px;
    text-decoration: none;
}

.alphabet-letter.inactive {
    color: #adb5bd;
    padding: 5px 10px;
    margin: 2px;
    font-weight: normal;
    cursor: default;
}

.row[id] {
    scroll-margin-top: 80px;
}

/* Mega Menu Styles */
.dropdown-mega {
    position: static !important;
}

.dropdown-mega .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    margin-top: 0;
    padding: 1.5rem;
    border: none;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1050;
}

.mega-menu-column {
    border-right: 1px solid #eee;
}

.mega-menu-column:last-child {
    border-right: none;
}

.mega-menu-title {
    font-weight: bold;
    color: rgb(100, 85, 65);
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #a8947a;
    display: inline-block;
}

.mega-menu-item {
    display: block;
    padding: 6px 10px;
    clear: both;
    font-weight: 400;
    color: #444;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.mega-menu-item:hover {
    background-color: #f8f5f2;
    color: rgb(100, 85, 65);
    padding-left: 15px;
}

.mega-menu-item i {
    width: 20px;
    margin-right: 8px;
    color: #a8947a;
}

@media (max-width: 991.98px) {
    .dropdown-mega .dropdown-menu {
        position: relative !important;
        border-radius: 0;
        box-shadow: none;
        padding: 0.5rem;
    }

    .mega-menu-column {
        border-right: none;
        margin-bottom: 20px;
    }
}
