@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');*{margin:0;padding:0;box-sizing:border-box;font-family:'Poppins',sans-serif}
html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  background: #180802;
  color: #fff;
}

body::-webkit-scrollbar {
  position: relative;
  display: none;
}

.admin-gallery-wrapper {
    width: 100%;
}

.admin-gallery-section {
    margin-bottom: 40px;
}

.admin-gallery-heading {
    margin-bottom: 20px;
}

.admin-gallery-heading h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #f9f9f9;
    margin: 0;
    margin-top: 20px;
    padding: 0.3rem 0.8rem;
    background: #462919;
    border: none;
    border-radius: 12px;
    width: fit-content;
}

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.admin-gallery-item {
    position: relative;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 30px;
}

.admin-gallery-item img,
.admin-gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-delete-form {
    position: absolute;
    top: 0px;
    right: 0px;
    margin: 0;
    height: 100%;
    width: 100%;
    border-radius: 8px;
    border-top-right-radius: 30px;
    background: linear-gradient(180deg,#fdfdfd00,#00000044);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0.5rem;
}

.admin-delete-form-video{
    position: absolute;
    top: 0px;
    right: 0px;
    margin: 0;
    height: 70%;
    width: 100%;
    border-radius: 8px;
    border-top-right-radius: 30px;
    background: linear-gradient(0deg,#00000000,#000000cb);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0.5rem;
}

.admin-gallery-delete-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 4px 17px 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-top-right-radius: 30px;
}

.admin-gallery-delete-btn:hover {
    background-color: #c82333e8;
    animation: popop 0.3s ease;
}

@keyframes popop {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.admin-gallery-delete-btn:active {
    transform: scale(0.95);
}

.add-menu-item-btn,
.Upload-image-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    border-bottom-left-radius: 25px;
    border: none;
    gap: 12px;
    background: #462919;
    cursor: pointer;
}

.add-item-btn-wrapper{
    position: absolute;
    top: 80px;
    right: 30px;
    padding: 0.4rem 0.6rem 0.4rem 0.6rem;
    border: 1px solid #3c362b;
    border-radius: 8px;
    border-bottom-left-radius: 34px;
    background: #ffffff00;
    backdrop-filter: blur(10px);
}

.select-filter-container select{
  background: #3b2c2c;
  width: 200px;
  font-family: 'Poppins', Arial, sans-serif;
  border: none;
  color: #fff;
  font-size: 1rem;
}

/*-----------------------admin-panel-styling----------------------------*/

.login-bg-wrapper {
  height: 100vh;
  width: 100vw;
  background: black url('../images/beans bg forward.png') center center/cover no-repeat;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
}

.alert-box {
  position: fixed;
  right: 30px;
  top: 20px;
  color: white;
  background-color: #000000ad;
  backdrop-filter: blur(12px);
  border-radius: 11px;
  padding: 0.7rem 1rem;
  border: 1px solid #725757;
  font-size: 1.2rem;
  z-index: 999;
  display: none;
}

.admin-timer {
  position: absolute;
  border-radius: 11px;
  top: 0;
  left: 0;
  background: rgb(56 42 42);
  width: 100%;
  height: 100%;
  z-index: 1;
  animation: admin-timer 5s ease-in-out forwards;
}

@keyframes admin-timer {
  from {
    width: 100%;
  }

  to {
    width: 0;
  }
}

.alert-box h5 {
  position: relative;
  z-index: 2;
}

.login-glass-container {
  display: flex;
  gap: 48px;
  background: rgb(140 130 130 / 10%);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(106, 27, 154, 0.13);
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 100%;
  max-width: 464px;
  margin: 20px auto;
  flex-wrap: wrap;
}

.cred-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-form-section {
  flex: 2 1 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 260px;
  max-width: 480px;
}

.login-main-heading {
  font-size: 1.5rem;
  font-family: 'Poppins', serif;
  color: #fff;
  font-weight: 300;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.login-subheading {
  color: rgb(214, 190, 194);
  font-size: 1.1rem;
  margin-bottom: 1.3rem;
  font-family: 'Poppins', serif;
  font-weight: 300;
  letter-spacing: 1px;
  border-bottom: 0.5px solid #72585bf4;
  padding-bottom: 0.7rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group label {
  font-weight: 500;
  color: rgb(214, 190, 194);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-family: 'Poppins', Arial, sans-serif;
  text-align: left;
  background: linear-gradient(90deg, #473737, transparent);
  padding: 0.2rem 0.6rem;
  max-width: fit-content;
  border-radius: 8px;
}

.login-header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #473737, transparent);
  padding: 0.5rem;
  border-radius: 22px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #453535;
  font-size: 1rem;
  font-family: 'Poppins', Arial, sans-serif;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffffbe;
  transition: border 0.2s, background 0.2s;
  box-shadow: none;
  outline: none;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #725757;
}

.login-btn {

  background: #473737;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1.1rem;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(106, 27, 154, 0.09);
  width: 100%;
  transition: all 0.2s;
}

.login-btn:hover {
  scale: 1.02;
  animation: pebble 1s linear infinite;
}

.login-logo {
  width: 20%;
  min-width: 320px;
  max-width: 500px;
  height: auto;
  margin-bottom: 4px;
}

.login-logo-gui {
  width: 50px;
  height: 50px;
}

nav.admin-desktop-nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  height: 100%;
  width: 100%;
}

.desktop-nav-top a {
  text-decoration: none;
  color: white;
  font-size: 1.1rem;
  padding: 0.6rem 1rem;
  padding-left: 0;
  font-weight: 400;
  letter-spacing: 1px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.7rem;
}

.desktop-nav-top a:hover {
  border-left: 2px solid rgb(183, 178, 180);
  padding-left: 0.8rem;
  background: #3b2c2c;
  border-bottom-right-radius: 12px;
  border-top-right-radius: 12px;
  transition: all 0.2s ease-in-out;
}

.desktop-nav-top {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.6rem;
  color: white;
  width: 100%;
}

.desktop-nav-bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.6rem;
  color: white;
  width: 100%;
}

.desktop-nav-bottom a {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
  padding: 0.8rem;
  letter-spacing: 1.2px;
}

.admin-logout-btn {
  width: 100%;
  background: #3b2c2c;
  color: #fff;
  border: none;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(93, 72, 78, 0.434);
  transition: all 0.2s ease-in-out;
  padding: 1rem;
}


.header-logo {
  margin-bottom: 1.2rem;
}

.admin-header-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  padding-left: 0;
  color: #fff;
  font-size: 1.5rem;
}

.admin-header-logo img {
  width: auto;
  height: 30px;
}

.admin-dashboard-main {
  padding: 1rem;
  padding-left: 340px;
  width: 100%;
  max-width: 1700px;
  height: 100%;
  background: #000000 url('../images/admin bg.png') center center/cover no-repeat;
  position: relative;
}

.admin-header {
  background-color: rgba(53, 53, 53, 0.47);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 1.5rem;
  padding-top: 0.9rem;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1000;
  width: 300px;
  margin: 1rem;
  margin-right: 0;
  border-radius: 12px;
}

.admin-wrapper {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
}

.admin-active-page {
  border-left: 2px solid rgb(183, 178, 180);
  padding-left: 0.8rem !important;
  background: #3b2c2c;
  border-bottom-right-radius: 12px;
  border-top-right-radius: 12px;
}

.admin-body-container {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;  
}

.admin-body-container::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.admin-title-container {
  width: 100%;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-page-title-pill {
  font-weight: 500;
  font-size: 1.5rem;
  background: linear-gradient(90deg, #3b2c2c, transparent);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  letter-spacing: 1px;
}

.admin-data-table {
  max-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  background: linear-gradient(180deg, #3b2c2c, transparent);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
  position: relative;
  margin-top: 1rem;
}

.admin-data-table tbody {
  display: block;
  max-height: calc(100vh - 10rem);
  overflow: auto;
  width: 100%;
}

.admin-data-table tbody::-webkit-scrollbar {
  display: none;
}

.admin-data-table thead {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.admin-data-table tr {
  display: table;
  width: 100%;
  table-layout: fixed;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.admin-data-table th,
.admin-data-table td {
  box-sizing: border-box;
}

.admin-data-table th,
.admin-data-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  color: #fff;
  font-size: 1.08rem;
}

.admin-data-table th {
  background: linear-gradient(180deg, #2c2121, transparent);
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffffff;
  text-align: center;
  border-bottom: 1px solid #ffffff61;
}

.admin-data-table tr {
  transition: all 0.3s ease;
}

.admin-data-table td {
  border-bottom: 1px solid #5b5b5b;
  text-align: center;
}

.admin-data-table a {
  text-decoration: none;
  color: #fff;
  padding: 0.3rem 0.7rem;
  border: 1px solid #725d7e;
  background: #725757;
  border-radius: 12px;
  white-space: nowrap;
  transition: all 0.3s ease-in-out;
}

.manage-actions {
  display: flex;
  gap: 0.5rem;
}

.highlight-price {
  background: rgb(128, 101, 39);
  padding: 0.2rem 0.4rem;
  border-radius: 9px;
  white-space: nowrap;
}

.add-item-category-select {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #453535;
  font-size: 1rem;
  font-family: 'Poppins', Arial, sans-serif;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffffbe;
  transition: border 0.2s, background 0.2s;
  border-radius: 12px;
}

.add-item-category-select option {
  background-color: #332121;
  color: #fff;
}

.add-item-category-select option:hover {
  background-color: #473737;
}

.add-item-modal {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  backdrop-filter: blur(13px);
  z-index: 9999;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: rgba(0, 0, 0, 0.6);
}

.add-item-modal h2 {
  background: #473737;
  width: 33%;
  max-width: 350px;
  color: rgb(214, 190, 194);
  font-size: 1.3rem;
  font-family: 'Poppins', serif;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 0.4rem 1.4rem;
  border-radius: 0.5rem;
  border-bottom-right-radius: 1.9rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

.close-add-item-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #372e1e;
  padding: 1rem;
  border-radius: 12px;
  width: 45px;
  height: 45px;
  cursor: pointer;
  position: fixed;
  top: 30px;
  right: 30px;
}

.add-item-modal .login-form {
  width: 33%;
  max-width: 350px;
}

.edit-form-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 400px;
  margin-top: 1.5rem;
}

.view-user-messages-btn {
  background: #473737;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(106, 27, 154, 0.09);
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease-in-out;
  margin: auto;
}

.view-message-modal {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 50%;
  min-width: 400px;
  padding: 1.5rem;
  text-align: justify;
  min-height: fit-content;
  background: linear-gradient(180deg, #473737, transparent);
}

.admin-table-and-view-container {
  display: flex;
  gap: 1rem;
  width: 100%;
  padding-top: 1.5rem;
  height: fit-content;
}

.user-message-in-table {
  background: #725757;
  padding: 0.2rem 0.4rem;
  border-radius: 9px;
}

.admin-name {
  font-weight: bold;
}

.profile-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  gap: 0.7rem;
}

.profile-wrap i {
  color: #fff;
  font-size: 1.2rem;
  background: #3b2c2c;
  padding: 0.5rem;
  border-radius: 50%;
}

.user-sent-messages {
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #453535;
  padding: 0.7rem;
  border-radius: 12px;
  text-align: justify;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type="number"] {
  appearance: textfield;
}

.admin-delete-btn {
  text-decoration: none;
  color: #fff;
  padding: 0.3rem 0.7rem;
  border: 1px solid #725d7e;
  background: #725757;
  border-radius: 10px;
  white-space: nowrap;
  transition: all 0.3s ease-in-out;
  font-size: 1rem;
}

.admin-messages-page .admin-data-table,
.franchise-inquiry-page .admin-data-table{
    max-width: 1100px;
}