.dashboard {
  background: rgb(181, 248, 254);
  background: linear-gradient(
    180deg,
    rgba(216, 241, 244, 1) 30%,
    rgba(245, 245, 245, 1) 83%
  );
  height: 100%;
}

.user-area {
  min-height: 70vh;
}

.dashboard-cards {
  min-height: 50vh;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav_tiles a {
  text-align: center;
  padding: 2rem 0rem;
  color: #000;
}
a {
  text-decoration: none;
  cursor: pointer;
}

.nav_tiles a .card {
  width: 100px;
  height: 100px;
  margin: auto;
}
.nav_tiles h5 {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.dashboard-card-id,
.dashboard-card-image,
.dashboard-card-video,
.dashboard-card-face,
.dashboard-card-days {
  transition: background-color 0.3s ease-in-out, color 0.5s ease-in-out,
    border-color 0.1s ease-in-out;
  border: 1px solid transparent;
  color: #333;
  background-color: #fff;
}
.dashboard-card-id:hover {
  background-color: var(--pink);
  border-color: var(--pink);
  border: 0;
}

.dashboard-card-id:hover .fa,
.dashboard-card-id:hover.fa {
  color: white;
}

.tab-active-card {
  background-color: var(--card-id);
  color: white;
  border: 0 !important;
  font-size: 18px !important;
}
.tab-active-images {
  background-color: var(--card-images);
  color: white;
  border: 0 !important;
  font-size: 18px !important;
}
.tab-active-video {
  background-color: var(--card-videos);
  color: white;
  border: 0 !important;
  font-size: 18px !important;
}
.tab-active-face-school {
  background-color: var(--card-face) !important;
  color: white;
  border: 0 !important;
  font-size: 18px !important;
}
.tab-active-school-days {
  background-color: var(--card-days);
  color: white;
  border: 0 !important;
  font-size: 18px !important;
}

.dashboard-card-image:hover {
  background-color: var(--blue);
  border-color: var(--blue);
  border: 0;
}

.dashboard-card-image:hover .fa,
.dashboard-card-image:hover.fa {
  color: white;
}

.dashboard-card-video:hover {
  background-color: var(--yellow);
  border-color: var(--yellow);
  border: 0;
}

.dashboard-card-video:hover .fa,
.dashboard-card-video:hover.fa {
  color: white;
}

.dashboard-card-face:hover {
  background-color: var(--cyan-blue);
  border-color: var(--cyan-blue);
  border: 0;
}

.dashboard-card-face:hover .fa,
.dashboard-card-face:hover.fa {
  color: white;
}

.dashboard-card-days:hover {
  background-color: var(--light-green);
  border-color: var(--light-green);
  border: 0;
}

.dashboard-card-days:hover .fa,
.dashboard-card-days:hover.fa {
  color: white;
}

/* profile */

.profile-form-wrp .card-body {
  border: 1px solid rgba(0, 0, 0, 0.125);
}

.nav_tiles_profile > a:not(:last-child) {
  margin-right: 15px;
}

.nav_tiles_profile > a {
  color: #000;
  display: inline-block;
}

.idcard label {
  color: var(--blue);
  margin-bottom: 0.3rem;
}

.idcard .form-control {
  border: 1px solid rgb(201, 201, 201);
}
.idcard .form-control[disabled], .idcard .form-control[readonly]{
  border-width: 0px;
  pointer-events: none;
}

.idcard > * {
  margin-top: 10px;
}

.id-card {
  font-size: 1.2rem;
  line-height: 2rem;
}

/* id card preview */

.school-img {
  max-height: 70px;
}
@media (max-width:431px) {
  .school-img {
    max-height: 60px;
  }
  
}
/* .preview-cards {
  background: rgb(21, 74, 0);
} */
.submit-btn {
  width: 200px;
}

.submit-btn {
  padding: 15px 25px;
  border: unset;
  border-radius: 15px;
  color: #ffffff;
  z-index: 1;
  background: #000000;
  position: relative;
  font-weight: 1000;
  font-size: 17px;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  transition: all 250ms;
  overflow: hidden;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 15px;
  background-color: #212121;
  z-index: -1;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  transition: all 0.7s;
}

.submit-btn:hover {
  color: #e8e8e8;
}

.submit-btn:hover::before {
  width: 100%;
}

.Btn {
  width: 200px;
  border: none;
  border-radius: 15px;
  background-color: rgb(27, 27, 27);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition-duration: 0.3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.11);
}

.svgIcon {
  fill: rgb(214, 178, 255);
}

.Btn:hover .svgIcon {
  fill: rgb(255, 255, 255);
  animation: slide-in-top 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }

  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

.custom-select-wrapper {
  position: relative;
  display: inline-block;
  width: 50%;
}
@media (max-width: 431px) {
  .custom-select-wrapper {
 
    width: 100%;
  }
}
@media (max-width: 991px) {
  .custom-select-wrapper {
 
    width: 100%;
  }
}
.custom-select {
  appearance: none;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  padding-right: 30px;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
}
.custom-select::-ms-expand {
  display: none;
}

.custom-select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-top-color: #333;
  pointer-events: none;
}

/* Full-width wrapper — no Bootstrap container max-width */
.gallery-full-wrap {
  width: 100%;
  padding: 0 1rem;
}

.gallery-section1 {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 30vh;
}

.gallery-section1 ul.gallery-list {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 4;
  column-gap: 0.5rem;
}

.gallery-section1 ul.gallery-list li {
  cursor: pointer;
  transition: 0.3s;
  overflow: hidden;
  break-inside: avoid;
  margin-bottom: 0.5rem;
}

.gallery-section1 ul.gallery-list li:hover img {
  transform: scale(1.03);
}

.gallery-section1 ul.gallery-list li figure {
  margin: 0;
  display: flex;
}

.gallery-section1 ul.gallery-list li figure img {
  width: 100%;
  transition: 0.3s;
}
.page-height {
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  .gallery-section1 ul.gallery-list {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .gallery-section1 ul.gallery-list {
    column-count: 2;
  }
}
.gallery-section1 ul li {
  position: relative;
}

.gallery-section1 ul li .overlay {
  position: absolute;
  top: 10px;
  left: 20px;
  z-index: 199;
  font-size: 24px;
  color: red;
}
.gallery-item,
.face-gallery-item {
  position: relative;
  padding-bottom: 3px;
  break-inside: avoid;
}

/* Reserves space per card while its image loads so overlay buttons
   never stack together and the grid doesn't jump around */
.gallery-img-wrap {
  position: relative;
  overflow: hidden;
}
.gallery-img-wrap.img-loading {
  aspect-ratio: 3 / 4;
}
.gallery-img-wrap.img-loading img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.gallery-img-wrap img {
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.4s ease;
  transform: scale(1);
  display: block;
  width: 100%;
}

.gallery-img-wrap:hover img {
  transform: scale(1.1);
}
.img-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #e4e4e4 40%, #f3f3f3 50%, #e4e4e4 60%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease infinite;
}
@keyframes skeleton-shimmer {
  to {
    background-position: -200% 0;
  }
}
.gallery-item .overlay {
  position: absolute;
  top: 10px;
  left: 20px;
  z-index: 199;
  font-size: 24px;
  color: red;
}
.face-gallery-item .overlay {
  position: absolute;
  top: 10px;
  left: 20px;
}
.face-gallery-item .overlay button svg {
  /* display: none; */
  height: 0.7em !important;
}
.gallery-item .video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 199;
  font-size: 20px;
  color: rgb(255, 255, 255);
  transform: translate(-50%, -50%);
  transition: background-color 0.3s ease;
  background-color: #272525;
}

.gallery-item .video-overlay:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

.image-download {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background-color: rgb(27, 27, 27);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition-duration: 0.3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.11);
}
.sample-work {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background-color: var(--custom-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition-duration: 0.3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.11);
}

.svgIcon {
  fill: white;
}

.icon2 {
  width: 12px;
  height: 5px;
  border-bottom: 2px solid white;
  border-left: 2px solid white;
  border-right: 2px solid white;
}

.tooltip {
  position: absolute;
  right: -105px;
  opacity: 0;
  background-color: rgb(12, 12, 12);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition-duration: 0.2s;
  pointer-events: none;
  letter-spacing: 0.5px;
}

.tooltip::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  background-color: rgb(12, 12, 12);
  background-size: 1000%;
  background-position: center;
  transform: rotate(45deg);
  left: -5%;
  transition-duration: 0.3s;
}

.image-download:hover .tooltip {
  opacity: 1;
  transition-duration: 0.3s;
}

.image-download:hover {
  background-color: var(--pink);
  transition-duration: 0.3s;
}
.sample-work:hover {
  /* background-color: var(--pink); */
  transition-duration: 0.3s;
}

.image-download:hover .icon2 {
  border-bottom: 2px solid rgb(235, 235, 235);
  border-left: 2px solid rgb(235, 235, 235);
  border-right: 2px solid rgb(235, 235, 235);
}

.image-download:hover .svgIcon {
  fill: rgb(255, 255, 255);
  animation: slide-in-top 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.sample-work:hover .svgIcon {
  fill: rgb(255, 255, 255);
  animation: slide-in-top 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.sample-work-text {
  color: var(--custom-blue);
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }

  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

.myphotos {
  border: none;
  font-weight: bold;
  letter-spacing: 5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 1000ms;
  position: relative;
  overflow: hidden;
}

.myphotos:hover {
  transform: scale(1.03);
  outline: 2px solid #70bdca;
  box-shadow: 4px 5px 17px -4px #268391;
}
.myphotos:hover .nav-link.btn {
  color: white !important;
}
.myphotos::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #2c9caf;
  transform: skewX(45deg);
  z-index: -1;
  transition: width 1000ms;
}

.myphotos:hover::before {
  width: 250%;
}

.table.table-bordered {
  --bs-table-bg: transparent !important;
  border: var(--bs-border-color-translucent) !important;
  border-radius: var(--bs-border-radius) !important;
  box-shadow: var(--bs-box-shadow-sm) !important;
}

.sorting {
  background-color: transparent;
  color: rgb(0, 0, 0);
  font-weight: bold;
  letter-spacing: 0.2px;
}

.dropdown-menu {
  z-index: 200;
}
.sorting {
  position: relative;
  cursor: pointer;
  max-width: 130px;
}
.sorting#event-sorting {
  position: relative;
  cursor: pointer;
  max-width: 200px;
}

.sorting:hover .dropdown-menu {
  display: block;
  background-color: rgb(237, 237, 237);
}
.sorting .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.sorting .dropdown-item {
  padding: 0.5rem 1rem;
}
.sorting .dropdown-item {
  padding: 0.5rem 1rem;
  white-space: unset;
}

.title-name {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
@media (max-width: 645px) {
  .title-name::after {
    display: none;
  }
}
.title-name::after {
  content: attr(data-title);
  visibility: hidden;
  width: 100px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  white-space: nowrap;
  font-size: 12px;
}

.title-name::after::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.title-name:hover::after {
  visibility: visible;
  opacity: 1;
}
.contact-heading {
  color: var(--pink);
}
.contact_info_sec {
  background-color: var(--cyan-blue);

  color: white;
  padding: 40px 20px;
  border-radius: 25px 0 0 25px;
  height: 100%;
}
.contact_info_sec h4 {
  letter-spacing: 1px;
  padding-bottom: 15px;
}

.info_single {
  margin: 25px 0px;
}
.info_single i {
  margin-right: 15px;
}
.info_single span {
  font-size: 14px;
  letter-spacing: 1px;
}

button.contact_form_submit {
  background: linear-gradient(to top right, #1325e8 -5%, #8f10b7 100%);
  border: none;
  color: #fff;
  padding: 10px 15px;
  width: 100%;
  margin-top: 25px;
  border-radius: 35px;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 2px;
}
.socil_item_inner li {
  list-style: none;
}
.socil_item_inner li a {
  color: #fff;
  margin: 0px 15px;
  font-size: 14px;
}
.socil_item_inner {
  padding-bottom: 10px;
}

/* From Uiverse.io by mrhyddenn */
.spinner {
  font-size: 28px;
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
}

.spinner.center {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.spinner .spinner-blade {
  position: absolute;
  left: 0.4629em;
  bottom: 0;
  width: 0.074em;
  height: 0.2777em;
  border-radius: 0.0555em;
  background-color: transparent;
  -webkit-transform-origin: center -0.2222em;
  -ms-transform-origin: center -0.2222em;
  transform-origin: center -0.2222em;
  animation: spinner-fade9234 1s infinite linear;
}

.spinner .spinner-blade:nth-child(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}

.spinner .spinner-blade:nth-child(2) {
  -webkit-animation-delay: 0.083s;
  animation-delay: 0.083s;
  -webkit-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  transform: rotate(30deg);
}

.spinner .spinner-blade:nth-child(3) {
  -webkit-animation-delay: 0.166s;
  animation-delay: 0.166s;
  -webkit-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
  transform: rotate(60deg);
}

.spinner .spinner-blade:nth-child(4) {
  -webkit-animation-delay: 0.249s;
  animation-delay: 0.249s;
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.spinner .spinner-blade:nth-child(5) {
  -webkit-animation-delay: 0.332s;
  animation-delay: 0.332s;
  -webkit-transform: rotate(120deg);
  -ms-transform: rotate(120deg);
  transform: rotate(120deg);
}

.spinner .spinner-blade:nth-child(6) {
  -webkit-animation-delay: 0.415s;
  animation-delay: 0.415s;
  -webkit-transform: rotate(150deg);
  -ms-transform: rotate(150deg);
  transform: rotate(150deg);
}

.spinner .spinner-blade:nth-child(7) {
  -webkit-animation-delay: 0.498s;
  animation-delay: 0.498s;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.spinner .spinner-blade:nth-child(8) {
  -webkit-animation-delay: 0.581s;
  animation-delay: 0.581s;
  -webkit-transform: rotate(210deg);
  -ms-transform: rotate(210deg);
  transform: rotate(210deg);
}

.spinner .spinner-blade:nth-child(9) {
  -webkit-animation-delay: 0.664s;
  animation-delay: 0.664s;
  -webkit-transform: rotate(240deg);
  -ms-transform: rotate(240deg);
  transform: rotate(240deg);
}

.spinner .spinner-blade:nth-child(10) {
  -webkit-animation-delay: 0.747s;
  animation-delay: 0.747s;
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}

.spinner .spinner-blade:nth-child(11) {
  -webkit-animation-delay: 0.83s;
  animation-delay: 0.83s;
  -webkit-transform: rotate(300deg);
  -ms-transform: rotate(300deg);
  transform: rotate(300deg);
}

.spinner .spinner-blade:nth-child(12) {
  -webkit-animation-delay: 0.913s;
  animation-delay: 0.913s;
  -webkit-transform: rotate(330deg);
  -ms-transform: rotate(330deg);
  transform: rotate(330deg);
}

@keyframes spinner-fade9234 {
  0% {
    background-color: #69717d;
  }

  100% {
    background-color: transparent;
  }
}

#top-width {
  width: 75%;
}
@media (max-width: 768px) {
  #top-width {
    width: 100%;
  }
}

.mt-22 {
  margin-top: 2.3rem;
}

.height-adjust {
  min-height: 35vh;
}

.noData-height {
  width: 30%;
}

@media (max-width: 768px) {
  .noData-height {
    width: 50%;
  }
}
@media (max-width: 431px) {
  .noData-height {
    width: 80%;
  }
}

.my-photo-toast {
  min-width: 300px;
  width: 500px;
  top: 20%;
}
.sorting#event-sorting {
  outline: 0;
  border: 0;
}
.accordion-button:focus {
  outline: none;
  border: none !important;
}
.accordion-item {
  color: var(--bs-accordion-color);
  background-color: transparent !important;
  border: none !important;
}
.accordion-item:last-of-type > .accordion-collapse {
  background-color: none !important;
}

.imageForText {
  position: relative;
}
.onImgName {
  position: absolute;
  bottom: 0;
  z-index: 12;
  padding: 10px 20px 0 20px;
  font-weight: 500;
  width: 100%;
  color: white;
  background: rgba(0, 0, 0, 0.472);
  height: 70px;
}

.main-img-primary {
  position: relative;
  width: 100%;
  height: 300px;
}
@media (max-width: 768px) {
  .main-img-primary {
    position: relative;
    width: 100%;
    height: unset;
  }
}

.accordian-header {
  --bs-accordion-active-bg: var(--cyan-blue) !important;
}
.accordion-button {
  background-color: var(--cyan-blue);
}
.accordion-button:not(.collapsed) {
  background-color: var(--cyan-blue) !important;
}

.nodataimg {
  width: 25%;
}
@media (max-width: 1024px) {
  .nodataimg {
    width: 50%;
  }
}
@media (max-width: 768px) {
  .nodataimg {
    width: 75%;
  }
}

.me-9{
margin-right: 0.9rem;
}
.me-7{
margin-right: 0.7rem;
}
.me-8{
margin-right: 0.8rem;
}
.me-02{
  margin-right: 1.1rem;
}
.me-04{
  margin-right: 1.4rem;
}

.fs-09{
  font-size: 1.25;
}
@media (max-width: 431px) {
  .fs-09{
    font-size: 0.9rem;
  }

}

/* =============================================
   NEW DASHBOARD REDESIGN
   ============================================= */

.dashboard-page {
  background: #f4f6f9;
  min-height: 80vh;
  padding-bottom: 3rem;
}

/* --- Welcome Banner --- */
.db-welcome-banner {
  background: var(--primary);
  padding: 2rem 0 2.5rem;
  margin-bottom: 2rem;
}

.db-welcome-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.db-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  letter-spacing: 1px;
}

.db-welcome-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.db-welcome-meta {
  color: rgba(255, 255, 255, 0.85);
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
}

.db-meta-dot {
  margin: 0 0.4rem;
  opacity: 0.6;
}

/* --- Section Label --- */
.db-section {
  margin-bottom: 1.75rem;
}

.db-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 1.8px;
  margin-bottom: 0.85rem;
}

/* --- Feature Cards Grid --- */
.db-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

@media (max-width: 768px) {
  .db-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .db-feature-grid {
    grid-template-columns: 1fr;
  }
}

.db-feature-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0.9rem;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.db-feature-card::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.db-feature-card:hover {
  transform: translateY(-3px);
  color: #fff;
}

.db-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.db-card-body {
  flex: 1;
  min-width: 0;
}

.db-card-title {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.db-card-sub {
  font-size: 0.72rem;
  opacity: 0.82;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db-card-arrow {
  font-size: 0.7rem;
  opacity: 0.65;
  flex-shrink: 0;
}

/* --- Recent Notices on Dashboard --- */
.db-notices-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.db-view-all {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.db-view-all:hover {
  color: var(--pink);
}

.db-notices-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* --- Shared NotificationItem component --- */
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--primary);
  transition: box-shadow 0.2s;
}

.notif-item-unread {
  background: var(--primary-light);
}

.notif-item-unread:hover {
  box-shadow: 0 4px 16px rgba(15, 118, 236, 0.15);
}

.notif-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.notif-item-body {
  flex: 1;
  min-width: 0;
}

.notif-item-title {
  margin: 0 0 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.notif-item-text {
  margin: 0 0 0.3rem;
  font-size: 0.87rem;
  color: var(--text);
  line-height: 1.5;
}

.notif-item-footer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.notif-item-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.notif-item-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 0.1rem 0.4rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* =============================================
   NOTICES PAGE
   ============================================= */

.notices-page {
  background: #f4f6f9;
}

.notices-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.notices-page-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.notices-page-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--indigo);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.notices-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: #6b7280;
}

.notices-empty-icon {
  font-size: 3rem;
  opacity: 0.4;
}

.notices-full-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Unread badge on heading */
.notif-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 20px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  vertical-align: middle;
}

/* Mark all as read button */
.notif-mark-all-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border: none;
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.notif-mark-all-btn:hover:not(:disabled) {
  background: #d1e3fa;
}

.notif-mark-all-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}