*,
*::before,
*::after {
  box-sizing: border-box; /* Makes padding/border included in width/height */
}
img {
  max-width: 100%; /*very necessary makes image stay in parent div*/
  height: auto;
}
.form-control {
  display: block;
  width: 100%;
  height: 35px;
  margin: 0 auto 5px auto;
  border-radius: 6px;
  border: 1.5px solid black;
  margin-bottom: 5px;
  box-sizing: border-box;
  padding: 0 8px;
}
.form-group {
  margin-left: 5%;
}
/*post*/
.parentformpostdiv {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  gap: 30px;
}

.formpostdiv {
  flex: 0 0 170px; /* lock width, no grow/shrink */
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding: 10px;
  height: fit-content;
  box-sizing: border-box;
  margin-left: 40px;
}

.adminnav,
.usernavhome,
.userpostnav {
  background-color: brown;
  text-align: center;
  height: 50px;
  border-radius: 10px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.linkstylefirstpost {
  color: white;
  text-decoration: none;
  width: 100%;
  display: block;
  text-align: center;
}

.userformpost {
  flex: 1;
  min-width: 0;
  padding: 10px 160px 10px 5px;

  box-sizing: border-box;
}
.formpostdivedit {
  width: 40%;
  margin-left: 25%;
}

@media (max-width: 768px) {
  .parentformpostdiv {
    flex-direction: column;
  }

  .formpostdiv {
    flex: none;
    width: 150px;
    min-width: 150px;
    height: fit-content;
    margin-left: 0;
    align-self: flex-start;
  }

  .adminnav,
  .usernavhome,
  .userpostnav {
    background-color: brown;
    text-align: center;
    height: 30px;
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .formpostdivedit {
    width: 70%;
    margin-left: 25%;
  }
  .userformpost {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    min-width: 400px;
  }
}
.phone-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 5px;
}

.phone-prefix {
  padding: 10px;
  border: 1.5px solid black;
  border-radius: 6px;
  border-right: 1px solid #ccc;
  white-space: nowrap;
  background: #f5f5f5;
  box-sizing: border-box;
}

.phone-input {
  flex: 1;
  min-width: 0;
  padding: 8px;
  border: 1.5px solid black;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
}

.phone-prefix .flag {
  width: 28px;
  height: 20px;
  border-radius: 3px;
}

.phone-prefix .code {
  font-weight: 600;
  font-size: 14px;
  color: #000;
}
textarea.form-control {
  height: 100px; /* adjust to your preference */
  resize: vertical; /* lets user resize it too */
  padding: 8px;
}

/* Error styling */
.phone-wrapper.has-error .phone-input {
  border-color: #dc3545;
}

.form-control.is-invalid {
  border-color: #dc3545;
}

.form-control.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25);
}
select.form-control {
  width: 100%;
}
.form-error {
  color: #dc3545;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

select option.placeholder-error {
  color: #dc3545;
}

.phone-wrapper.has-error .phone-input {
  border-color: #dc3545;
}
.form-inner {
  width: 85%;
  max-width: 400px;
  margin: 0 auto;
}
/*navtemplate*/
#topdivnavreg {
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border: 2px solid brown;
  display: flex;
  flex-direction: row;
}
.back-to-top {
  position: fixed; /* stays visible while scrolling */
  bottom: 100px;
  right: 30px;
  opacity: 0.7; /* dim when not active */
  background: #555;
  transition: opacity 0.3s ease;
  color: white;
  padding: 10px 15px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  border: 2px solid brown;
}

.back-to-top:hover {
  background: #555;
  opacity: 1; /* full brightness on hover */
  border: 2px solid brown;
}
.figurenavreg {
  font-size: 20px;
  padding-left: 5px;
  font-weight: lighter;
  font-family:
    "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", "Geneva", "Verdana, sans-serif";
  border-radius: 10px;
  color: white;
  position: relative;
  text-decoration: none;
}
.nav {
  width: 20%;
  min-width: 200px;
  position: relative;
  margin-top: 10px;
  margin-left: 10px;
}
#nav1 {
  background-color: brown;
  position: absolute;
  width: 100%;
  margin-top: 60px;
  overflow: hidden;
  height: 30px;
  border-radius: 10px;
  text-align: center;
}
#nav2 {
  background-color: brown;
  position: absolute;
  width: 100%;
  overflow: hidden;
  text-align: center;
  height: 30px;
  margin-top: 130px;
  border-radius: 10px;
}
.containerfsdpnavreg {
  display: flex; /* Makes children side by side */
  gap: 50px; /* Optional space between them */
  padding: 20px;
}
.news-section {
  margin-top: 110px;
  flex: 2;
}
.eachpost {
  flex: 8;
  margin-top: 2%; /* Below topdivhome */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.postsformobie {
  display: none;
}
.signup {
  color: white;
  text-decoration: none;
  font-size: 20px;
}

.login {
  color: white;
  text-decoration: none;
  font-size: 20px;
}

@media (max-width: 768px) {
  /* Hide nav buttons and form, keep nothing since nav is now separate */
  .nav {
    display: none;
  }
  .postsformobie {
    display: flex;
    gap: 20px;
    flex-direction: column;
    margin-top: 20px;
    width: 30%;
    background: 5px solid red;
    margin-left: 5%;
  }
  #nav1formobile {
    background-color: brown;
    flex: 3;
    overflow: hidden;
    height: 30px;
    border-radius: 10px;
    text-align: center;
  }
  .mobileform {
    flex: 3;
  }
  .containerfsdpnavreg {
    flex-direction: column;
    gap: 0; /* 👈 remove gap */
    padding: 0; /* 👈 remove padding */
    width: 100%;
  }

  #nav2formobile {
    background-color: brown;
    flex: 3;
    overflow: hidden;
    text-align: center;
    height: 30px;
    border-radius: 10px;
  }
  /* Show mobile buttons at top */

  .slider-container {
    order: 1;
    width: 100%;
    margin: 0;
  }

  .news-section {
    order: 2;
    width: 100%;
    margin-top: 20px !important;
  }
  .clr {
    margin-top: 20px;
  }
  .news-scroll-container {
    max-height: 200px !important; /* Adjust height as needed */
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px; /* Space for scrollbar */
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
  }
  .swiper-slide {
    height: 350px !important;
  }
  .my-swiper {
    width: 100%;
    height: 350px !important; /* Adjust height as needed */
  }
}
/**/
.news-section {
  margin-top: 150px;
  position: relative;
}

.news-section h2 {
  color: black;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 20px;
  font-size: 20px;
}

/* Scrollable container */
.news-scroll-container {
  max-height: 360px; /* Adjust height as needed */
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px; /* Space for scrollbar */
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
}

/* Vertical list layout */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 15px;
}

/* Each news card */
.news-item {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.news-item-inner {
  width: 100%;
}

.image-link {
  flex-shrink: 0;
  width: 220px; /* Fixed width for image */
  height: 120px;
  overflow: hidden;
  display: block;
}

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

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

.no-image-placeholder {
  width: 220px;
  height: 150px;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-style: italic;
  flex-shrink: 0;
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-content h3 {
  margin: 0 0 10px 0;
  font-size: 19px;
}

.news-content h3 a {
  color: blanchedalmond;
  text-decoration: none;
}

.news-content h3 a:hover {
  color: azure;
}

.news-content .summary {
  color: #ddd;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.news-content .source {
  margin: 0;
  font-size: 14px;
  color: azure;
  text-align: right;
}

/* Custom scrollbar */
.news-scroll-container::-webkit-scrollbar {
  width: 10px;
}

.news-scroll-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.news-scroll-container::-webkit-scrollbar-thumb {
  background: brown;
  border-radius: 10px;
}

.news-scroll-container::-webkit-scrollbar-thumb:hover {
  background: brown;
}

/* Mobile friendly */
@media (max-width: 900px) {
  .news-item-inner {
    flex-direction: column;
  }
  .image-link,
  .no-image-placeholder {
    width: 100%;
    height: 200px;
  }
}
/*signup*/

.form-signup {
  height: 30px;
  border-radius: 10px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
.signupdiv {
  background-color: rgba(220, 220, 220);
  width: 300px;
  margin-left: 35%;
  border-radius: 10px;
  padding: 10px;
  justify-content: center; /* Centers horizontally */
  margin-top: 100px;
}

.linkstylefirstpost {
  color: white;
  text-decoration: none;
  font-size: 20px;
}

#nav1 {
  background-color: brown;
  position: absolute;
  width: 90%;
  margin-top: 60px;
  overflow: hidden;
  height: 30px;
  border-radius: 10px;
  text-align: center;
  margin-left: 8px;
}
#nav2 {
  background-color: brown;
  position: absolute;
  width: 90%;
  overflow: hidden;
  text-align: center;
  height: 30px;
  margin-top: 130px;
  border-radius: 10px;
  margin-left: 8px;
}
.selects {
  width: 100%;
  border: 4px solid brown;
  text-align: center;
}
.eachpost {
  flex: 6;
  margin-top: 20px;
}

/* 1. The Parent Container */
.imagediv {
  display: flex;
  gap: 4px;
  width: 100%;
  height: 35vw; /* Standardized height for your feed */
  min-height: 200px; /* never gets too small */
  max-height: 350px; /* never gets too tall */
  overflow: hidden;
  margin-top: 10px;
  background-color: #1a1a1a;
}

/* 2. Image Behavior (Applied to all) */
.imagediv img {
  flex: 1;
  width: 100%;
  height: 100%;
  object-fit: contain; /* This makes it look professional/not stretched */
  display: block;
}

/* 3. The "Multi" Specific Logic */
/* We force the images to split 50/50 only when this class is present */

.gallery-multi img,
.gallery-multi .image-overlay-container {
  flex: 1;
  width: 50%; /* Each slot takes half of the .imagediv */
}

/* 4. The Overlay (Only active in multi-mode) */
.image-overlay-container {
  position: relative;
}
.gallery-multi > img,
.gallery-multi > .image-overlay-container {
  flex: 1;
  width: 50%;
  height: 100%;
}
/* 2. The image INSIDE the overlay container */
/* This image needs to fill its container completely */
.image-overlay-container img {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
}
/* This targets the 2-image gallery specifically */
.gallery-2 {
  display: flex;
  gap: 4px; /* The gap between them */
}

.gallery-2 img {
  /* This is the magic combo for perfect 50/50 */
  flex: 1 1 0;
  width: 50%;

  /* This ensures the image doesn't distort */
  object-fit: cover;
  height: 100%;
}
.overlay-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* The dark tint */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  font-family: sans-serif;
}
.category-posted {
  padding-top: 20px;
  border-top: 2px solid grey;
}

.numcolor {
  margin-left: 0%;
  margin-top: 50%;
  color: white;
}
.simple-footer {
  background: rgba(
    0,
    0,
    0,
    0.7
  ); /* Matches your semi-transparent black header */
  color: azure; /* Light text like your header */
  text-align: center;
  padding: 25px 20px;
  font-size: 16px;
  margin-top: 8%; /* Good spacing from content above */
  width: 100%;
  font-family:
    "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", sans-serif;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap; /* Stacks nicely on mobile */
}

.simple-footer p {
  margin: 0;
  opacity: 0.9;
}

.separator {
  color: blanchedalmond;
  opacity: 0.6;
}

/*Userpost*/
.parentdivuserpost {
  display: flex;
  gap: 20px;
}
.sidebaruserpost {
  flex: 2;
  margin-top: 50px;
  position: sticky;
  top: 50px;
  height: fit-content;
}
.userposts {
  flex: 7;
  margin-right: 20%;
}
.posthomeuserpost {
  margin-left: 20px;
  text-decoration: none;
}
.deletealluserpost {
  margin-top: 20px;
  margin-left: 20px;
  text-decoration: none;
}
.postpostuserpost {
  margin-top: 20px;
  margin-left: 20px;
  text-decoration: none;
}

.postlogoutuserpost {
  margin-top: 20px;
  margin-left: 20px;
  text-decoration: none;
}
.upddel {
  background: rgba(0, 0, 0, 0.336);
  height: 30px;
  display: flex;
  flex-direction: row;
  gap: 30px;
}
.update {
  margin-left: 1%;
  width: 20%;
  float: left;
}
.disabled-card {
  margin-left: 2%;
  width: 20%;
  float: left;
}
.Btnactivate {
  background-color: black;
  color: white;
  border: none;
  flex: 1;
  cursor: pointer;
  padding: 5px 13px;
  margin-top: 3px;
  margin-bottom: 10px;
}
.Btndel {
  background-color: #e53935;
  color: white;
  border: none;
  flex: 1;
  cursor: pointer;
  padding: 5px 13px;
  margin-top: 3px;
  margin-bottom: 10px;
}

.Btndel:hover {
  background-color: #b71c1c;
}

.Btndel:disabled {
  background-color: #ef9a9a; /* light red when deleting... */
  cursor: not-allowed;
}
.BtnUpdate {
  background-color: #1e88e5;
  color: white;
  border: none;
  flex: 1;
  padding: 5px 13px;
  cursor: pointer;
  margin-top: 3px;
  margin-bottom: 10px;
}

.BtnUpdate:hover {
  background-color: #1565c0;
}

.BtnUpdate:disabled {
  background-color: #90caf9; /* light green when updating... */
  cursor: not-allowed;
}
.Btndelall {
  background-color: black;
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
}

.Btndelall:hover {
  background-color: black;
}

.Btndelall:disabled {
  background-color: black; /* light green when updating... */
  cursor: not-allowed;
}
#userdataimg {
  width: 100%;
  margin-left: 2%;
  border-radius: 5px;
  padding-bottom: 8px;
}
#deleteuserpost {
  border-bottom: 5px solid rgba(211, 211, 211);
  margin-bottom: 5px;
  margin-left: 10px;
}
/*Admin*/

.parentdivadmin {
  display: flex;
}
.sidebaradmin {
  position: sticky;
  top: 50px; /*to make it stick use top keyword, A child cant use overflow ,scroll */
  flex: 3;
  margin-top: 10%;
  margin-left: 5%;
  box-sizing: border-box;
  height: fit-content;
}
.userpostsadmin {
  flex: 5;
  margin-right: 25%;
  box-sizing: border-box;
}
/**/
/*sv images*/
.details {
  flex: 5;
  overflow: hidden;
  border: 2px solid red;
  height: 400px;
}
.dvforcomsv {
  flex: 5;
  overflow: hidden;
  border: 2px solid red;
}
.svvcomm {
  display: flex;
  gap: 5px;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .details {
    order: 2;
    border: 2px solid red;
    height: 300px;
    overflow: hidden;
    width: 90%;
    margin-left: 5%;
  }
  .dvforcomsv {
    order: 1;
    border: 2px solid red;
    width: 90%;
    overflow: hidden;
    margin-left: 5%;
  }
  .svvcomm {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 20px;
  }
}
/**/
#divpic {
  color: aquamarine;
  width: 315px;
  height: 420px;
  padding-left: 10px;
  padding-bottom: 20px;
}

#spicsdiv {
  background: black;
  height: 700 auto;
  position: relative;
}
#svimgs {
  width: 100%;
}

/*details page*/
.details {
  flex: 5;
  overflow: hidden;
  height: 400px;
}

.listing-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 0.5px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.9rem 1.25rem;
  background: #f9f9f9;
  border-bottom: 0.5px solid #e0e0e0;
  flex-shrink: 0;
}
/*password*/
.password-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px; /* stops text going under the eye */
}

.toggle-eye {
  position: absolute;
  right: 10px;
  top: 40%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  font-size: 18px;
}
/**/
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dbeafe;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  flex-shrink: 0;
}

.avatar-name {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}
.avatar-sub {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

.card-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem 1.25rem;
}

.meta-grid {
  display: flex;
  flex-direction: column;
}

.meta-item {
  padding: 10px 0;
  border-bottom: 0.5px solid #e0e0e0;
}
.meta-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: brown;
  font-weight: 500;
  margin-bottom: 2px;
}

.meta-value {
  font-size: 13px;
  color: #111;
}

.contact-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  text-decoration: none;
}

.icon-btn.phone {
  background: #dbeafe;
}
.icon-btn.whatsapp {
  background: #f0fdf4;
}

.description-block {
  padding-top: 10px;
}

.inform {
  margin: 4px 0 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/**/
.numcolorvmsv {
  margin-left: 50%;
  margin-top: 50%;
  color: white;
}

.numvmsv {
  position: absolute;

  margin-left: 52%;
  width: 45%;
  height: 420px;
  font-size: 50px;
  background: black;
  opacity: 0.5;
}

.svvmpost {
  width: 60%;
  margin-top: 2%;
  height: auto;
  position: relative;
  margin-left: 20%;
  border: 2px solid red;
}
.postimgvm21 {
  width: 50%;
  height: 420px;
  position: absolute;
}
.postimgvm22 {
  width: 49%;
  height: 420px;
  margin-left: 51%;
}
.postimgvm1 {
  width: 100%;
  height: 420px;
}
.postimgvm22s {
  width: 48%;
  height: 420px;
  margin-left: 52%;
}
.postimgvm21s {
  width: 50%;
  height: 420px;
  position: absolute;
}
.postudimg21 {
  height: 420px;
  width: 50%;
  margin-left: 1%;
  position: absolute;
}
.postudimg22 {
  width: 48%;
  height: 420px;
  margin-left: 52%;
}

.postudimg22s {
  width: 48%;
  height: 420px;
  margin-left: 52%;
}
.postudimg21s {
  width: 50%;
  height: 420px;
  position: absolute;
}

.postudimg1 {
  width: 100%;
  height: 420px;
}

.approve {
  margin-left: 1%;
  width: 20%;
  float: left;
}
.BtndelAdmin {
  background-color: #e53935;
  color: white;
  border: none;
  padding: 5px 13px;
  cursor: pointer;
  margin-top: 3px;
  margin-bottom: 10px;
}

.BtndelAdmin:hover {
  background-color: #b71c1c;
}

.BtndelAdmin:disabled {
  background-color: #ef9a9a; /* light red when deleting... */
  cursor: not-allowed;
}
.BtnApproveAdmin {
  background-color: #1e88e5;
  color: white;
  border: none;
  padding: 5px 13px;
  cursor: pointer;
  margin-top: 3px;
  margin-bottom: 10px;
}

.BtnApproveAdmin:hover {
  background-color: #1565c0;
}

.BtnApproveAdmin:disabled {
  background-color: #90caf9; /* light green when updating... */
  cursor: not-allowed;
}
.BtndelallAdmin {
  background-color: black;
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
}

.BtndelallAdmin:hover {
  background-color: black;
}

.BtndelallAdmin:disabled {
  background-color: black; /* light green when updating... */
  cursor: not-allowed;
}
/**/
.userdataname {
  border-top: 2px solid grey;
  margin-top: 70px;
}
/*login*/
.formdiv {
  background-color: rgba(220, 220, 220);
  margin: 5% auto;
  width: 300px;
  border-radius: 10px;
  padding: 20px;
}
.form-input {
  display: block;
  height: 30px;
  border-radius: 10px;
  width: 100%;
  margin: 0 auto 10px auto;
  box-sizing: border-box;
}
.reset {
  margin-top: 20px;
}
/**/
#resetdiv {
  background-color: rgba(220, 220, 220);
  margin-left: 34%;
  width: 20%;
  padding-left: 60px;
  height: 300px;
}
.postsucc {
  text-decoration: none;
  color: green;
  background-color: rgb(217, 243, 217);
  margin-left: 28%;
  width: 30%;
  margin-bottom: 5%;
  font-size: 20px;
  padding-top: 5px;
  text-align: center;
  list-style: none;
  border: 2px solid green;
}

.ifderror {
  text-decoration: none;
  color: rgb(128, 26, 26);
  background-color: rgb(243, 193, 193);
  margin-left: 36%;
  width: 20%;
  margin-bottom: 1%;
  font-size: 17px;
  padding-top: 5px;
  border-radius: 5px;
  text-align: center;
  list-style: none;
  border: 2px solid red;
  margin-top: 10%;
}
.ifd {
  text-decoration: none;
  color: green;
  background-color: rgb(217, 243, 217);
  margin-left: 36%;
  width: 20%;
  margin-bottom: 1%;
  font-size: 17px;
  padding-top: 5px;
  border-radius: 5px;
  text-align: center;
  list-style: none;
  border: 2px solid green;
  margin-top: 10%;
}
.success {
  list-style: none;
  color: #14532d;
  background-color: #f0fdf4;
  margin: 5% auto 10px auto;
  width: fit-content;
  min-width: 280px;
  max-width: 480px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  border-left: 5px solid #16a34a;
  border-top: 1px solid #86efac;
  border-right: 1px solid #86efac;
  border-bottom: 1px solid #86efac;
  padding: 12px 16px;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.1);
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.failure {
  list-style: none;
  color: #5c1a1a;
  background-color: #fef2f2;
  margin: 5% auto 10px auto;
  width: fit-content;
  min-width: 280px;
  max-width: 480px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  border-left: 5px solid #dc2626;
  border-top: 1px solid #fca5a5;
  border-right: 1px solid #fca5a5;
  border-bottom: 1px solid #fca5a5;
  padding: 12px 16px;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.1);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.noinp {
  list-style: none;
  color: rgb(128, 26, 26);
  background-color: rgb(243, 193, 193);
  margin-left: 35%;
  width: 200px;
  font-size: 17px;
  padding-top: 5px;
  text-align: center;
  border-radius: 3px;
  border: 2px solid red;
  margin-top: 40px;
}

.alert {
  margin-top: 10px;
  margin-left: 35%;
  margin-right: 20%;
  padding-left: 20px;
  width: 20%;
  list-style: none;
  color: rgb(128, 26, 26);
  background-color: rgb(243, 193, 193);
  border: 2px solid red;
}

#email {
  width: 20px;
  height: 30px;
}

.forrent {
  color: white;
  font-size: x-large;
  text-decoration: none;
  margin-left: 5%;
  position: absolute;
  top: 6px;
}

#class {
  width: 18%;
  height: 400px;
  position: fixed;
}
.home-link {
  font-size: 20px;
  text-decoration: none;
  padding-left: 20px;
}
.image-error {
  margin-left: 32.3%;
  margin-bottom: 10px;
}
.pagination {
  text-align: center;
  border: 2px solid red;
  height: 100px;
  margin-top: 20px;
  text-decoration: none;
  padding-left: 20%;
}

.pagination a {
  padding: 8px;
  text-decoration: none;
  color: white;
  background-color: brown;
  margin: 5px;
}
.pagination ul {
  display: flex;
  list-style: none;
  gap: 5px;
}
.pagination a:hover,
.pagination a:active,
.pagination a.active {
  background: grey;
  color: white;
}
.pagination .ellipsis {
  display: inline-block;
  padding: 6px 10px;
  font-weight: bold; /* makes it bold */
  color: #333; /* same as other links */
  /* optional, like buttons */
  /* optional, match links */
}

.form-reset {
  border-radius: 10px;
  margin-top: 20px;
  padding-left: 10px;
  height: 40px;
  width: 70%;
}

#vdiv {
  background-color: black;
  opacity: 0.5;
  height: 40px;

  width: 100%;
  padding-top: 10px;
}

#vseconddiv {
  position: absolute;
  height: 40px;

  margin-top: 1%;
}
.vfigure {
  font-size: 20px;
  text-align: center;

  font-style: bold;
  font-family: sans-serif;
  border-radius: 10px;
  color: blanchedalmond;
}
#svimgsdiv {
  width: 90%;
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 0em;
  position: absolute;
  border: 2px solid red;
  top: 0;
  color: green;
  font-size: 50px;
  margin-top: 5px;
}
.beta-banner {
  background: #fff8e1;
  border-bottom: 1px solid #f0c040;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  color: #7a5c00;
}
