@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');


/* ===== HERO FONT FAMILY ===== */
@font-face {
    font-family: 'Hero';
    src: url('/staticfiles/fonts/Hero-Light.otf') format('opentype');
    font-weight: 300;  /* Light */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hero';
    src: url('/staticfiles/fonts/Hero-Regular.otf') format('opentype');
    font-weight: 400;  /* Normal / Regular */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hero';
    src: url('/staticfiles/fonts/Hero-Bold.otf') format('opentype');
    font-weight: 700;  /* Bold */
    font-style: normal;
    font-display: swap;
}

/* Light (default) */
:root {
  /* Brand */
  --body-font:"Outfit", sans-serif;
  --main-font:"Anton", sans-serif;
  --text-font: 'Hero', sans-serif;
  --color-primary:#012352;   /* blu-jeshile e errët, për navbar dhe tituj */
  --color-secondary: #012352; /* jeshile e butë për CTA (Book / Save) */
  --color-accent: #0ea5e9;    /* blu e lehtë për hover dhe ikona */
  --color-bg: #f9fafb;        /* sfond gri shumë i lehtë */
  --color-card: #ffffff;      /* për forma dhe panele */
  --color-text: #14161a;
  --orange: #ff5912;

  --color-muted: #64748B;     /* tekst sekondar */
  --color-border: #E5E7EB;    /* borde input/karta */
  /* States */
  --color-success: #10B981;
  --color-warning: #FACC15;
  --color-error:   #F87171;
  --focus-ring:    0 0 0 3px rgba(14,165,233,0.35); /* accent blu */
  /* Radii & shadow */
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
  /* Buttons */
  --btn-text-on-primary: #FFFFFF;
  --btn-text-on-secondary: #06281F;
}
h6 {font-family:var(--text-font); color:var(--color-primary); font-weight:400;}
.hero-regular {
    font-family: 'Hero', sans-serif;
    font-weight: 400;  /* Regular */
}
a{text-decoration:none!important;}
body {
    font-family: var(--text-font);
    background: var(--color-bg);
    color:var(--color-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Set minimum height to 100% of the viewport height */
}
header {
    background-color: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: 10px;
    font-family: var(--main-font);
}
a{text-decoration:none;}
nav {
    background-color: var(--color-bg);
    color: var(--color-text);
    padding: 30px;
    border: 1px solid var(--color-border);
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow items to wrap to the next line on smaller screens */
    align-items: center;
}
nav ul li {
    margin-right: 20px;
}
nav a {
  text-decoration: none;
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  text-transform:uppercase;
  font-size:15px;
  font-weight:400;
  font-family: var(--text-font);
}
/* efekt elegant hover */
nav a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.3s ease;
}
nav a:hover {
  color: var(--color-secondary);
}
nav a:hover::after {
  width: 100%;
}
/* Active page underline */
nav a.active {
  color: var(--color-secondary);
}
nav a.active::after {
  width: 100%;
}
/* Dropdown container */
.dropdown {
  position: relative;
}
/* Dropdown button */
.dropbtn {
  text-decoration: none;
  color: var(--color-secondary);
  font-weight: 400;
  font-size: 15px;
  padding: 8px 12px;
  display: inline-block;
  transition: all 0.3s ease;
}
/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--color-card);
  min-width: 150px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  z-index: 9999;
  top: 35px;
  left: 0;
}
.dropdown-menu{
  display: none;
  position: absolute;
  background-color: var(--color-card);
  min-width: 150px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 2px!important;
  z-index: 9999;
  top: 35px;
  left: 0;
}
/* Links inside dropdown */
.dropdown-content a {
  color: var(--color-secondary);
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid var(--color-secondary);
  transition: background 0.3s ease;
}
/* Hover effects */
.dropdown-content a:hover {
  background: var(--color-bg);
  color: var(--color-secondary);
}
/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}
/* Optional hover effect for the main dropdown button */
.dropdown:hover .dropbtn {
  color: var(--color-secondary);
}
@media only screen and (max-width: 1024px) {
nav ul li {margin-right: 0;}
}
/* Mobile responsiveness */
@media only screen and (max-width: 600px) {
  .dropdown-content {
    position: static;
    box-shadow: none;
  }
}
.btn-dark {
  display: inline-block;
  margin-top: 20px;
  background-color: var(--color-primary);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid var(--color-primary);
  border-radius: 2px;
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.35s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  font-family: var(--text-font);
}
.btn-dark:hover {
  background-color: transparent;
  color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  border: 1px solid var(--color-primary);
}
.btn-outline {
  background-color: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 2px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--text-font);
  text-transform: uppercase;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}
.gray-button {
  background-color: #e7e7e7; /* A light gray background */
  color: black;              /* Black text for contrast */
  border: none;              /* Optional: removes the default border */
  padding: 10px 20px;        /* Optional: adds space around the text */
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--text-font);
  border-radius: 2px;
  color:var(--color-primary);
  border: 0.5px solid var(--color-primary);
}
/* Optional: Add a hover effect for better user experience */
.gray-button:hover {
  background-color: #d4d4d4; /* A slightly darker gray on hover */
}
.badge {
    display: inline-block;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    font-size: 10px;
    font-weight:300;
    line-height: 1;
    color: #1d1a1c;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 2px!important;
    background: var(--orange);
}
.badge-blue {
    display: inline-block;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    font-size: 10px;
    font-weight:300;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 2px!important;
    background: var(--color-primary);
}

main {
    flex: 1;
    text-align: start;
    margin: 20px 5%;
    padding: 1rem 2rem;
    background-color: #fff;
}
#reservationForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
    margin: 0 auto;
    padding: 20px 10px;
    border: 0.3px solid var(--color-secondary);
    background: #f9f9f9;
}

.guest-header form, .reservation-header form {
    display: flex;
    flex-direction: column;
    align-items: end;
}
form label {
    margin-bottom: 8px;
}
form input,
form select,
form textarea {
    margin-bottom: 16px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 2px;
}
form input:focus,
form select:focus,
form textarea:focus {
    border-color: var(--color-primary);
    outline: none; /* Heq konturin default blu */
    box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.2); /* opsionale për efekt të butë */
}
form input[type="submit"] {
    background-color: var(--color-primary);
    color: #fff;
    cursor: pointer;
    font-size:16px;
    text-transform:uppercase;
    border:1px solid var(--color-primary);
    transition: all 0.3s ease;
}
form input[type="submit"]:hover{border:1px solid var(--color-primary); background-color:transparent!important; color:var(--color-primary);}
.login-page{width:50%; margin:30px auto;}
.login-container{width:50%; margin:30px auto;}
.login-container form{padding-top:40px;}
.login-container form input[type="submit"] { background-color: var(--color-primary); margin-top:20px!important;}
.login-container form input[type="text"], .login-container form input[type="password"] {width:92%;}
.dashboard-page{background-color:transparent!important; box-shadow: none!important; display:flex;justify-content:center;align-items:center;}

.profile-container p{margin-bottom:20px!important;}
.profile-container a{margin-top:20px!important;}
footer {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-align: center;
    padding: 10px;
    margin-top: auto; /* Push the footer to the bottom */
}
@media only screen and (max-width: 768px) {
   #reservationForm {width: 100%;}
   main{padding:1rem 0!important;margin:0!important;}
}
/* Media query for mobile responsiveness */
@media only screen and (max-width: 600px) {
    main {
        margin: 20px 20px;
    }
    .navbar-custom {padding:1rem 0!important;}
}

@media only screen and (max-width:400px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }
}
.titlex {
    color: var(--color-primary); /* Use the primary color for the title */
    margin-bottom: 20px;
    text-align: center;
    font-weight:300;
    font-family:var(--text-font);
}
p {
    margin-bottom: 8px;
}
.linkx {
    color: var(--color-primary); /* Use the primary color for links */
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    padding: 3px 3px;
    border-radius: 2px;
    border:2px solid var(--color-primary);
}
.linkx:hover {
    background-color: var(--color-primary); /* Change background color on hover */
    color: var(--color-secondary);
}
/* Add CSS styles for the respective classes */
.listx {
    list-style:none;
    padding: 0;
    margin: 0;
}
.itemx {
    margin-bottom: 10px;
}
.linky {
    text-decoration: none;
    color: var(--color-text)
    font-size: 14px;
    font-weight: 400;
}
/* Add CSS styles for the respective classes */
.pagination {
    list-style: none;
    display: flex;
    justify-content: center;
}
.page-item {
    margin: 0 5px;
}
.page-link {
    text-decoration: none;
    color: var(--primary-color); /* Use your primary color for links */
    padding: 8px 12px;
    border: 1px solid var(--primary-color);
    border-radius: 2px;
}

.page-link:hover {
    background-color: var(--primary-color); /* Change background color on hover */
    color: #fff;
}
.page-link.active {
    background-color: var(--primary-color); /* Active page color */
    color: #fff;
}


/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px; /* Adjust the margin based on your design */
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
th{ font-weight: 500; font-size: 16px;}
thead {
    background-color: #f2f2f2;
}
/* Link styling for guest names */
td a {
    text-decoration: none;
    color: var(--primary-color); /* Use your primary color for links */
    font-weight: bold;
}
td a:hover {
    text-decoration: underline;
}
.dashboard {
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.card {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    margin: 15px;
    padding: 20px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
}
}
.card:hover {
    transform: scale(1.05);
}

@media screen and (max-width: 600px) {
    .card {
        width: calc(80% - 30px);
    }
}

/*guest list page*/
/* Container */
.guest-wrap{max-width:1100px;margin:0 auto;padding:0 12px;position: relative;}
.guest-header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:8px 0 12px;flex-wrap:wrap;margin-bottom:0;}
.guest-title{font:600 22px/1.2 var(--body-font);color:#fff;margin:0}
.guest-search{display:flex;gap:8px;align-items:center; justify-content:space-between;}
.guest-search input{border:1px solid var(--color-border);border-radius:2px;padding:5px 10px;background:#fff;min-width:220px;margin-bottom:0; font-family:var(--text-font); font-weight:300;font-size:14px;}
.guest-search input:focus{outline:none;box-shadow:var(--focus-ring)}
.guest-search .btn-outline {background-color:transparent; border:1px solid #fff; border-radius:2px; font-size:14px; font-weight:400;color:white; font-family:var(--text-font); padding:5px 20px;cursor:pointer;}
.guest-wrap > .btn-dark{
  float: right;
  margin-bottom: 12px;
}
.guest-search a {
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 400;
    color: white;
    font-family: var(--text-font);
    padding: 7px 20px;
    cursor: pointer;
}
/* që header të mos ngjitet rreth butonit */
.guest-header{
  clear: both;
  margin-top: 4px;   /* opsional */
}
/* Table */
.table-scroll{border:1px solid var(--color-border);border-radius:4px;overflow:auto;background:var(--color-card);box-shadow:var(--shadow-sm)}
.table-dense{width:100%;border-collapse:separate;border-spacing:0;min-width:620px}
.table-dense thead th{
  position:sticky;top:0;z-index:1;
  background:#F8FAFC;border-bottom:1px solid var(--color-border);
  text-align:left;font-weight:600;padding:10px 12px;font-size:13px;color:#334155
}
.table-dense tbody td{padding:10px 12px;border-bottom:1px solid var(--color-border);font-size:14px}
.table-dense tbody tr:hover{background:#F9FAFB}
.click-row{cursor:pointer}

/* Zebra optional */
/* .table-dense tbody tr:nth-child(odd){background:#FCFDFE} */

/* Ellipsis për qelizat e gjata */
.cell-ellipsis{max-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Dendësi e lartë: rreshta të ulët */
.table-dense tbody td, .table-dense thead th{line-height:1.2}
.table-dense tbody td{padding-top:8px;padding-bottom:8px}

/* Empty */
.empty-cell{text-align:center;color:var(--color-muted);padding:24px}

/* Responsive: fshi disa kolona në ekrane të vogla */
@media (max-width: 780px){ .hide-md{display:none} }
@media (max-width: 560px){ .hide-sm{display:none} }

/* Butonat ekzistues */
.btn-primary{background:var(--color-secondary);color:#fff;border:1px solid var(--color-secondary);
  padding:9px 12px;border-radius:2px;font-weight:600}
.btn-primary:hover{box-shadow:var(--shadow-md);transform:translateY(-1px)}
/* —— ROOM LIST PAGE —— */
.room-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
  background: var(--color-card);
  border-radius: 2px;
}
/* titulli */
.room-header {
  margin-bottom: 16px;
}
.room-title {
  font: 600 22px/1.2 var(--body-font);
  color: #fff;
  margin: 0;
}
/* tabela e dhomave */
.table-scroll {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: auto;
  background: var(--color-card);
  box-shadow: var(--shadow-sm);
}
.table-dense {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 620px;
}
.table-dense thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #e6e6e6;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-weight: 500;
  padding: 10px 12px;
  font-size: 16px;
  color: #334155;
}
.table-dense tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  font-weight: 400;
}
.table-dense tbody tr:hover {
  background: #F9FAFB;
}
.click-row {
  cursor: pointer;
}
/* status i dhomës */
.status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  text-transform: capitalize;
}
.status.booked {
  background: rgba(248,113,113,0.15);
  color: #dc2626;
  border: 1px solid rgba(248,113,113,0.3);
}
.status.available {
  background: rgba(34,197,94,0.15);
  color: #16a34a;
  border: 1px solid rgba(34,197,94,0.3);
}
.room-wrap > .btn-dark{
  float: right;
  margin-bottom: 12px;
  margin-top:0;
}
/* që header të mos ngjitet rreth butonit */
.room-header{
  clear: both;
  margin-top: 4px;   /* opsional */
}
/* bosh */
.empty-cell {
  text-align: center;
  color: var(--color-muted);
  padding: 24px;
}
/* responsive */
@media (max-width: 700px) {
  /*.table-dense thead {display: none;}*/
  /*.table-dense, .table-dense tbody, .table-dense tr, .table-dense td {display: block; width: 100%;}*/
  .table-dense tr {margin-bottom: 12px; background: #fff; border-radius: 2px; box-shadow: var(--shadow-sm);}
  .table-dense td {
    border: none;
    padding: 10px 14px;
    position: relative;
  }
  .table-dense td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--color-muted);
    display: block;
    margin-bottom: 4px;
  }
}
/* —— RESERVATION LIST PAGE —— */
.reservation-wrap {
  position: relative;
  margin: 0 auto;
  padding: 24px;
  background: var(--color-card);
  border-radius: 2px;
}
/* titulli */
/* —— Reservation Filters —— */
.reservation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.reservation-filters {
  display: flex;
  align-items: end;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
}
.filter-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.filter-row input[type="text"] {
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 5px 10px;
  background: #fff;
  min-width: 220px;
  margin-bottom: 0;
  font-size: 14px;
}
.filter-row select {
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 5px 10px;
  background: #fff;
  color: var(--color-text);
  font-size: 14px;
  margin-bottom: 0;
}
.filter-row .btn-outline {
  background-color: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-row .btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}
/* Responsive */
@media (max-width: 700px) {
  .reservation-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .reservation-filters {
    width: 100%;
    justify-content: flex-start;
  }
  .filter-row {
    flex-wrap: wrap;
    width: 100%;
  }
  .filter-row input[type="text"] {
    flex: 1;
    min-width: 100%;
  }
  .filter-row select, .filter-row .btn-outline {
    width: 100%;
  }
}
.reservation-title {
  font-weight: 500;
  color: #fff;
  margin: 0;
  font-family: var(--text-font);
}
/* tabela */
.table-scroll {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: auto;
  background: var(--color-card);
  box-shadow: var(--shadow-sm);
}
.table-dense {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 620px;
}
.table-dense thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #e6e6e6;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-weight: 500;
  padding: 10px 12px;
  font-size: 16px;
  color: var(--color-text);
}
.table-dense tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}
.table-dense tbody tr:hover {
  background: #F9FAFB;
}
.click-row {
  cursor: pointer;
}
/* datat */
.date-tag {
  display: inline-block;
  background: #F1F5F9;
  border-radius: 10px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}
/* bosh */
.empty-cell {
  text-align: center;
  color: var(--color-muted);
  padding: 24px;
}
.reservation-wrap > .btn-dark{
  float: right;
  margin-bottom: 12px;
  margin-top:0;
}
/* që header të mos ngjitet rreth butonit */
.reservation-header{
  clear: both;
  margin-top: 4px;   /* opsional */
}
/* responsive */
@media (max-width: 700px) {
  /*.table-dense thead {display: none;}*/
  /*.table-dense, .table-dense tbody, .table-dense tr, .table-dense td {display: block; width: 100%;}*/
  .table-dense tr {margin-bottom: 12px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-sm);}
  .table-dense td {
    border: none;
    padding: 10px 14px;
    position: relative;
  }
  .table-dense td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--color-muted);
    display: block;
    margin-bottom: 4px;
  }
}
