/* Import Custom Font */
@font-face {
  font-family: "REM";
  src: url("./Fonts/REM/REM-VariableFont_wght.ttf");
}

/* General Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  height: 100%;
  font-family: "REM", sans-serif;
}
/* body {
  font-family: "REM", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
} */

/* row of screen is 100%*/
/* Banner Background */
#banner {
  display: flex;
  justify-content: center;
  align-items: center; /* <-- This centers content vertically */
  height: 100vh;
  position: relative;
  background: url(./images/94eb986d291fe17f77bd5fe8c591655858850055.jpg)
    no-repeat center center/cover;
}

/* Logo top-right */
.logoimg {
  position: absolute;
  top: 33px;
  left: 1078px;
  width: 273px;
  height: 100px;
  z-index: 10;
}

/* Main content wrapper */
.container.main1 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Content box */
.main2 {
  padding: 40px 30px;
  border-radius: 16px;
  width: 100%;
  max-width: 1005.98px;
  height: 387px;
}

.image-card{
    width: 25% !important;;
  }

/* Left-aligned content */
.main {
  margin-top: 80px;
  text-align: left;
}

.main h1 {
  color: #ffeaf3;
  font-size: 60px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0%;
  text-shadow: 0px 4px 4px #2a0011; /* Drop shadow from Figma */
}

.main p {
  color: #ffeaf3;
  font-size: 20px;
  font-weight: 400;
  margin-top: 30px;
  line-height: 100%;
  letter-spacing: 0%;
  text-shadow: 0px 4px 4px #2a0011; /* Drop shadow from Figma */
}

.main input[type="password"] {
  margin-top: 30px;
  padding: 12px 15px;
  width: 100%;
  height: 55px;
  border-radius: 10px;
  border: 1px solid #c30e59;
  background: rgba(255, 202, 219, 0.4);
  color: #ffeaf3;
  outline: none;
  font-size: 16px;
}

.main input::placeholder {
  color: #ffeaf3;
  opacity: 0.8;
}

/* Login button */
.btun {
  margin-top: 30px;
  background-color: #C30E59;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 400;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.btun:hover {
  background-color: #C30E59;
}

.btun a {
  color: white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .logoimg {
    top: 20px;
    left: auto;
    right: 20px;
    width: 150px;
    height: auto;
  }

  .main2 {
    padding: 30px 20px;
    height: auto;
  }

  .main {
    margin-top: 40px;
    text-align: left;
    padding: 0 20px;
  }

  .main h1 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .main p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 360px;
    margin-bottom: 16px;
    color: #fff;
    padding-right: 0;
    word-wrap: break-word;
  }

  .main input[type="password"] {
    height: 45px;
    margin-top: 15px;
    font-size: 14px;
    width: 100%;
  }

  .btun {
    font-size: 14px;
    margin-top: 20px;
    padding: 10px 20px;
    width: 100%;
  }
}

@media(min-width:768px)and (max-width:1199px){
  .image-card{
    width: 50% !important;;
  }
}
@media (max-width: 480px) {
  .logoimg {
    top: 15px;
    left: auto;
    right: 15px;
    width: 120px;
    height: auto;
  }

  .main2 {
    padding: 25px 15px;
    height: auto;
  }

  .main {
    margin-top: 30px;
    text-align: left;
    padding: 0 15px;
  }

  .main h1 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .main p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 15px;
    color: #fff;
    padding-right: 0;
    word-wrap: break-word;
  }

  .main input[type="password"] {
    height: 40px;
    font-size: 13px;
    width: 100%;
  }

  .btun {
    font-size: 13px;
    padding: 10px 16px;
    width: 100%;
    margin-top: 10px;
  }
}

/* home.html css */
#backToHome {
  padding: 6px 20px;
  /* border-radius: 5px; */
  display: none;
  margin-top: 0px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0 !important;;
  border: 1px solid rgb(195, 14, 89);
}

#backToHome:hover{
    background: rgb(195, 14, 89);

}
#backToHome:hover img{

  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);

}
#backToHome img{
    height:24px;
    width:auto;
    filter: invert(16%) sepia(98%) saturate(2092%) hue-rotate(322deg) brightness(88%) contrast(95%);

}

#backToHome:hover {
  /* background-color: #dc3545; filled red */
  color: #ffffff; /* white text */
}

.theme-btn {
  background-color: #C30E59; /* Custom theme color */
  color: white;
  border: none;
}

.theme-btn:hover {
  background-color: #C30E59;
}

/* Custom Alert Modal Theme */
#alertModal .modal-header {
  background-color: #C30E59 !important;
  color: white;
}

#alertModal .btn-close {
  filter: brightness(0) invert(1); /* makes close button white */
}

#alertModal .btn {
  background-color: #C30E59;
  color: white;
  border: none;
}

#alertModal .btn:hover {
  background-color: #C30E59;
}

/* icon color change  */

/* Default icon styling */
.folder-icon img,
.toggle-icon img {
  transition: filter 0.3s, transform 0.3s;
  filter: brightness(100%); /* Normal */
}

/* When active (clicked), make icon white */
.folder-icon.active img,
.toggle-icon.active img {
  filter: brightness(0) invert(1); /* Make image look white */
  transform: scale(1.1); /* Optional: slight zoom effect */
  cursor: pointer;
}

/* make the zoom-modal folder-icon light up exactly like your thumbnail */
.custom-lightbox-button-wrapper img.selected-folder {
  /* same filter & transform you use for .folder-icon.active img */
  filter: brightness(0) invert(1);
  transform: scale(1.1);
  transition: filter 0.3s, transform 0.3s;
}

/* ..............home............. */
#home {
  background-image: linear-gradient(rgba(53, 0, 0, 0.25), rgba(53, 0, 0, 0.25)),
    url(./images/5fb80d346234450fc5a4f1ea1b6c68d0.jpg);
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 575px;
  background-attachment: fixed;
}

.text-white1 {
  color: #ffeaf3;
  font-size: 60px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0%;
  text-shadow: 0px 4px 4px #2a0011; /* Drop shadow from Figma */
  text-align: center;
}
.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
  color: #c30e59;
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0%;
}

.info {
  padding-top: 20px;
}

.firstbuttons button img {
  height: 20px;
  margin-right: 6px;
}

.firstbuttons button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px; /* Space between icon and text */
  padding: 8px 12px;
  font-size: 18px;
  font-weight: 400;
  border: 1px solid #c30e59;
  background: white;
  color: #c30e59;
  cursor: pointer;
  transition: 0.3s ease;
  height: 40px; /* Ensure all buttons have the same height */
  border-radius: 0%;
}
.firstbuttons button:hover{
  background:#C30E59;
}
/* Ensure icons and images inside buttons match text color */
.btn-outline-danger i,
.btn-outline-danger img {
  transition: 0.3s ease;
  fill: currentColor; /* Ensures icons take the text color */
}

/* When button is clicked or hovered, change color */
.btn-outline-danger.active,
.btn-outline-danger:active {
  background-color: #c30e59;
  color: white;
}

/* Ensure icons and images change color when button is active */
.btn-outline-danger.active i,
.btn-outline-danger:active i {
  color: white;
  fill: white; /* Ensures Bootstrap icons turn white */
}

/* Fix for images (if used instead of <i>) */
.btn-outline-danger.active img,
.btn-outline-danger:active img {
  filter: brightness(0) invert(1); /* Turns the image white */
}

.card img {
  height: 280px;
  width: 100%;
  border-radius: 5px;
  margin-right: 20px;
  object-fit: cover;
}
.card {
  position: relative;
  overflow: hidden;
  z-index: 2;
  border: var(--bs-card-border-width) solid #c30e59 !important;
}
/* .card::after {
  content: "";
  width: 220px;
  height: 50px;
  background: #2a0011cc;
  position: absolute;
  bottom: 0px;
  right: 20px;
  transition: var(--transition);
  text-align: center;
  border-radius: 20px 20px 0px 0px;
  border: 1px solid #c30e59;
} */
.icons {
    position: absolute;
    z-index: 2;
    background: #2a0011cc;
    bottom: 0px;
    transition: var(--transition);
    text-align: center;
    border-radius: 20px 20px 0px 0px;
    border: 1px solid #c30e59;
    width: 70%;
    padding: 10px 10px 10px 10px;
    left: 50%;
    transform: translateX(-50%);
}
.icons img {
  height: 24px;
  width: 24px;
  transition: transform 0.3s ease;
}
.icons img:hover {
  transform: scale(1.2);
  cursor: pointer; 
}

.icons .tooltip-text {
  visibility: hidden;
  width: 100px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 8px;
  border-radius: 6px;
  
  position: absolute;
  z-index: 1;
  bottom: 125%; /* position above */
  left: 50%;
  margin-left: -50px;
  
  opacity: 0;
  transition: opacity 0.3s;
}

.icons:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}


#selectionMessage {
  display: none; 
  margin-bottom: 12px;
  padding: 8px 14px;
  background: rgba(255, 235, 235);
  color: #C30E59;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  text-align: center;
  font-family:REM;
}
#approve {
  justify-content: end;
  margin-top: 15px;
  gap: 1rem;
}
#approve button {
  width: 174px;
  height: 40px;
  border: 1px solid #c30e59;
  text-align: center;
  color: #c30e59;
  font-family: "REM" serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 22.5px;
  border-radius: 0;
}

#approve p {
  font-family: "REM" serif;
  font-weight: 400px;
  font-size: 18px;
  line-height: 100%;
  margin-top: 10px;
}

.image-layout {
  margin: 50px 0px;
}

.disabled-icon {
  pointer-events: none !important;
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

/* pagination */

.pagination-container{
  display: flex;
  justify-content: space-between; /*Align pagination numbers left and dropdown right*/
  align-items: center;
  width: 100%;
  /*padding: 10px 20px;
  margin: 50px 0px;*/
  padding: 20px;
  margin: 40px 0;
  flex-wrap: wrap;


}

.pagination-numbers {
  flex: 1;
  display: flex;
  gap: 0px;
  flex-wrap: wrap;
  justify-content: center;
  

}

.pagination-btn {
 padding: 0px 0px;
  border: 1px solid #C30E59;
  background-color: white;
  color: #C30E59;
  font-family: REM;
  font-size: 30px;
  font-weight: 400;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.pagination-btn:hover {
  background-color: #C30E59;
  color: white;
}

.pagination-btn.active {
  background-color: #C30E59;
  color: white;
  box-shadow: 0 2px 4px rgba(195, 14, 89, 0.2);
}


.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background-color: #f1f1f1;
  color: #888;
}


.items-per-page {
  padding: 5px 10px;
  border-radius: 0px;
  border: 1px solid #C30E59;
  background: white;
  color: #C30E59;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
  height: 40px;
  font-weight: 600;
  font-size: 18px;
}

.items-per-page:hover {
  background: #C30E59;
  color: white;
}

/* current date */
#currentDate {
  font-family: "REM", sans-serif;
  font-weight: 400;
  font-size: 18px;
}
#imageCount {
  font-family: "REM", sans-serif;
  font-weight: 400;
  font-size: 18px;
}

/* Approve Album Modal Styles */
/* Match Add to Album modal style to Approve modal */
/* Shared Modal Base Style */
.custom-add-to-album-modal,
.custom-approval-modal {
  background-color: #2b0016; /* Dark Maroon */
  border-radius: 15px;
  padding: 20px;
  border: none;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* Modal Body Text */
.custom-add-to-album-modal .modal-body h5,
.custom-approval-modal .modal-body h5 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: bold;
}

.custom-add-to-album-modal .modal-body p,
.custom-approval-modal .modal-body p {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.custom-add-to-album-modal .modal-body small {
  color: #ccc;
  font-size: 0.75rem;
}

/* Buttons */
.theme-btn,
.theme-btn-outline {
    padding: 8px 18px;
    font-size: 0.95rem 15.2px;
    border-radius: 0px;
    border: 1px solid #e0005c;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

/* Confirm Button */
.theme-btn {
  background-color: #e0005c;
  color: #fff;
}

.theme-btn:hover {
  background-color: #c1004f;
  border-color: #c1004f;
}

/* Cancel Button */
.theme-btn-outline {
  background-color: #fff;
  color: #e0005c;
}

.theme-btn-outline:hover {
  background-color: #f2f2f2;
  border-color: #e0005c;
  color: #c1004f;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  color: var(--bs-modal-color);
  pointer-events: auto;
  background-color: #2a0011cc !important;
  background-clip: padding-box;
  border: var(--bs-modal-border-width) solid #b30059;
  border-radius: var(--bs-modal-border-radius);
  outline: 0;
}

.icon-purple {
  color: #c30e59; /* dark purple color */
  margin-right: 5px; /* little gap from text */
  font-size: 1.2em; /* bigger icon size */
  font-weight: bold; /* bolder icon */
  filter: brightness(0) saturate(100%) invert(17%) sepia(91%) saturate(5260%)
    hue-rotate(316deg) brightness(86%) contrast(92%);
  vertical-align: middle; /* align nicely with text */
}
/* Applies to all outline-danger buttons with icons inside */
.btn-outline-danger:hover img {
  filter: brightness(0) invert(1);
  transition: filter 0.2s ease;
}

/* lightbox */
/* Style for the wrapper that holds the custom buttons */
/* .custom-lightbox-button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px; 
  padding-bottom: 40px;
  padding-left: 20px !important;
  padding-right: 12px;
  gap: 12px; 
} */

.scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border: none;
  outline: none;
  background-color: #C30E59;
  color: white;
  cursor: pointer;
  border-radius: 6px;
  font-size: 30px;
  display: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scrollTopBtn:hover {
  transform: scale(1.1);
}
@keyframes bounce {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}
.custom-icon-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* .custom-icon img,
.custom-icon {
  width: 24px;
  height: 24px;
  filter: invert(1); 
} */
.text-modal {
  
  color: white !important;
}
.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 10px;
  padding-top: 20px;
  padding-left: 0;
  font-size: 20px;
  color: #999;
  text-align: right; 
  font-weight: 400;
}

.lb-caption {
  display: none !important;
}

.custom-lightbox-button-wrapper {
  position: relative;
    bottom: 50px !important;
    display: flex;
    z-index: 1001;
    margin: auto;

}
.w-70{
  width: 70% !important;
}
.w-30{
  width: 30% !important;
}

.custom-lightbox-button {
  padding: 0px;
  margin: 0px;
  border: none;
  display: inline-block;
  line-height: 0; /* removes spacing between inline elements */
  border: 1px solid #e0006c !important;

}

.custom-lightbox-button img {
  /* border: 1px solid #e0006c; */
  background-color: transparent;
  padding: 6px; /* This adds space inside the icon border */
  width: 40px !important;
  height: 40px !important;
  box-sizing: border-box;
  display: block;
}
.custom-lightbox-button:nth-child(2){
border-left: 0 !important;
border-right:0 !important;
}

.lb-data .lb-close,
.lb-data .lb-closeContainer {
  display: none !important;
}



/* Icon sizing */
.custom-icon img,
.custom-icon {
  width: 28px;
  height: 28px;
}

.lb-data .lb-details{
  width: 100% !important;
}
.folder-icon.disabled,
.checkmark-icon.disabled {
  pointer-events: none;
  opacity: 0.5; /* or some visual cue */
}


.image-card{
    position: relative;
}
.footer {
  font-family:REM;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  color: #000;
  background-color: rgba(255, 235, 235);
  border-top: 1px solid #ddd;
  margin-top: 40px;
  line-height: 1.6; 
  font-weight: 400;
}
.footer .highlight {
  color: #C30E59; /* or any color you want */
  font-weight: 400;
}

.custom-lightbox-button-wrapper {
    bottom: 50px !important;
    /* left:570px !important; */
    /* overflow: hidden; */
}



/* Optional: Center modal text and buttons on small screens */
@media (max-width: 576px) {
  .modal-body {
    text-align: center;
  }
  .modal-body .d-flex {
    flex-direction: column;
    gap: 10px;
  }
  .custom-lightbox-button-wrapper {
  /* top:380px !important; */
    /* left:300px !important; */
}
.lb-dataContainer {
    /* margin-left: 55px !important; */
    padding-top: 3px;
}
.w-70{
  width: 100% !important;
}
.w-30{
  width: 100% !important;
}

}
/* Responsive Design */
@media (max-width: 768px) {
  .row {
    gap: 15px; /* Reduce gap on smaller screens */
  }

  .col-md-3 {
    flex: 0 0 48%; /* Adjust width for smaller screens */
  }

    /* .custom-lightbox-button-wrapper {
  top:380px !important;
    left:320px !important;
}*/
.pagination-container,.pagination-numbers,.items-per-page {
margin: 0 !important;
}
.pagination-container{
  margin-top: 1rem !important; 
  flex-direction: column;
  gap: 1rem;
}

}

@media (max-width: 480px) {
  .col-md-3 {
    flex: 0 0 100%; /* Full width on very small screens */
  }
    /* .custom-lightbox-button-wrapper {
  top:380px !important;
    left:400px !important;
} */
}

/* album.html */
@media (max-width: 768px) {
  .card img {
    height: 350px;
    width: 337px;
  }
      /* .custom-lightbox-button-wrapper {
  top:790px !important;
    left:488px !important;
} */
.lb-dataContainer {
    /* margin-left: 170px !important; */
    padding-top: 3px;
}



  /* .card::after {
    content: "";
    width: 250px;
    height: 50px;
    background: #2a0011cc;
    position: absolute;
    bottom: 0px;
    right: 45px;
    transition: var(--transition);
    text-align: center;
    border-radius: 20px 20px 0px 0px;
    border: 1px solid #c30e59;
  } */
  .icons {
    /* margin-left: 75px; */
  }

  .pagination-btn{
    padding: 0px 0px;
    border: 1px solid #C30E59;
    background-color: white;
    color: #C30E59;
    font-family: REM;
    font-size: 20px;
    font-weight: 400;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
  }
  .pagination-container{
    padding: 0;
  }
  .items-per-page
 {
    padding: 1px 10px;
    border-radius: 0px;
    border: 1px solid #C30E59;
    background: white;
    color: #C30E59;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    height: auto;
    font-weight: 600;
    font-size: 18px;
 }
}

/* home.html */
@media (max-width: 768px) {

  .image-card{
    width: 50% !important;;
  }
  .text-white1 {
    font-size: 50px;
  }
  /* Make each image card take full width on small screens */
  #albumContainer .image-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 1rem;


  }

  /* Ensure the inner card fits well */
  .image-card .card {
    width: 100%;
  }

  /* Stack and center icons with spacing */
  .image-card .icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    /* margin-left: 100px !important; */
  }

  .card::after {
    right: 60px !important;
  }

  /* Resize icons if needed */
  .image-card .icons a img {
    width: 24px;
    height: 24px;
    /* margin-top: -90px; */
  }

  /* Optional: Make image fit well inside card */
  .image-card .card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* .custom-lightbox-button-wrapper {
    position: absolute;
    bottom: 40px !important;
    left: 50%;
    transform: translateX(-320%) !important;
    display: flex;
    justify-content: center;
    z-index: 50;
    /* Removed padding and gap to eliminate border spacing 
  } */

  .custom-icon {
    padding: 0;
    margin: 0;
    border: none;
    line-height: 0;
    display: inline-block;
  }

  .custom-icon img {
    width: 32px;
    height: 32px;
    border: 1px solid #e0006c;
    padding: 4px;
    box-sizing: border-box;
    background-color: transparent;
    display: block;
  }
  
}
.pagination-container{
      margin-left:5rem;
}
.pagination-numbers{
  margin-left: 103px;
}
.items-per-page{
      margin-right: 4rem;
}

.pagination-btn{
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .modal-body .d-flex {
        flex-direction: row;
        gap: 10px;
    }
}
@media (max-width: 920px) {
        /* .custom-lightbox-button-wrapper {
  top:900px !important;
    left:268px !important;
} */
.lb-dataContainer {
    /* margin-left: 250px !important; */
    padding-top: 3px;
}

}

@media (max-width: 1024px) {
        /* .custom-lightbox-button-wrapper {
  top:780px !important;
    left:318px !important;
} */
.lb-dataContainer {
    /* margin-left: 280px !important; */
    padding-top: 3px;
}

}