
body {
  background: linear-gradient(
    153deg,
    black 0%,
    #00346b 25%,
    #004e9f 48%,
    #01366d 64%,
    #020202 100%
  );
  background-attachment: fixed; 
}

.notifications-page-wrapper {
  padding-top: 20px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px; 
  padding-bottom: 50px; 
  color: white;
  font-family: Unbounded, sans-serif;
  overflow-x: hidden; 
}

.notifications-content-container {
  display: flex;
  justify-content: center; 
  align-items: flex-start; 
  gap: 30px; 
  width: 100%;
  max-width: 1280px; 
  padding: 0 20px; 
  box-sizing: border-box;
}

.notifications-promo-card {
  width: 540px;
  height: 521px;
  position: relative;
  background-color: black;
  background-image: url("../images/mainimg_notification.4e15ac392cad.png");
  background-size: cover; 
  background-position: center;
  box-shadow: 6px 6px 10px rgb(0 0 0 / 25%);
  overflow: hidden;
  border-radius: 20px;
  flex-shrink: 0;

  
  transition:
    top 0.3s ease-out,
    width 0.3s ease-out,
    height 0.3s ease-out,
    left 0.3s ease-out;
}

.notifications-promo-card.sticky-promo {
  position: fixed;
  top: 20px; 

  
  width: 180px; 
  height: 174px; 
  z-index: 999; 

  

  

  

  
}

.promo-card-background-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden; 
}

.promo-bg-blur-circle-1 {
  width: 453px;
  height: 453px;
  left: -126px;
  top: -265px;
  position: absolute;
  background: #004e9f;
  box-shadow: 0 0 250px 250px #004e9f; 
  border-radius: 9999px;

  
}

.promo-bg-blur-circle-2 {
  width: 411px;
  height: 411px;
  left: 250px; 
  top: 134px;
  position: absolute;
  background: rgb(97 165 255 / 45%);
  box-shadow: 0 0 250px 250px rgb(97 165 255 / 45%);
  border-radius: 9999px;

  
}

.promo-card-text-content {
  position: relative; 
  z-index: 2;
  text-align: center;
  margin-bottom: 150px; 
}

.promo-title-main {
  color: white;
  font-size: 55px;
  font-family:
    'Blippo Local', sans-serif; 
  font-weight: 400; 
  line-height: 1.2; 
  word-wrap: break-word;
}

.promo-title-accent {
  color: #ffef2b; 
  font-size: 55px;
  font-family:
    'Blippo Local', sans-serif; 
  font-weight: 400; 
  line-height: 1.2; 
  word-wrap: break-word;
}


.promo-img-1,
.promo-img-2,
.promo-img-3,
.promo-img-4,
.promo-img-5 {
  position: absolute;
  z-index: 1; 
}
.promo-img-1 {
  width: 112px;
  height: 81px;
  left: 11px;
  top: 336px;
}
.promo-img-2 {
  width: 158.19px;
  height: 97.66px;
  left: 390px;
  top: 405.83px;
  transform: rotate(169deg);
} 
.promo-img-3 {
  width: 108px;
  height: 105px;
  left: 349px;
  top: 283px;
}
.promo-img-4 {
  width: 125px;
  height: 125px;
  left: 88px;
  top: 283px;
}
.promo-img-5 {
  width: 261.11px;
  height: 238px;
  left: 139.45px;
  top: 197px;
}

.promo-card-gradient-overlay {
  width: 100%; 
  height: 255px; 
  left: 0; 
  top: 266px; 
  position: absolute;
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 0%) 0%,
    black 100%
  ); 
  z-index: 3; 

  

  

  

  
}

.notifications-promo-card .promo-action-button.btn {
  
  position: absolute;
  top: 438px;
  left: 186px;
  width: 168px;
  height: 40px;
  z-index: 4;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    #ffef2b 0%,
    #f9f7d6 100%
  ) !important; 
  box-shadow: 2px 2px 4px 0 rgb(0 0 0 / 25%);
  border-radius: 10px;
  color: black !important; 
  font-size: 16px;
  font-family: Unbounded, sans-serif;
  font-weight: 400;
  line-height: 16px;
  text-decoration: none;
  border: none; 

  
  transition:
    width 0.3s ease-out,
    height 0.3s ease-out,
    top 0.3s ease-out,
    left 0.3s ease-out,
    font-size 0.3s ease-out,
    line-height 0.3s ease-out;
}

.notifications-promo-card .promo-action-button.btn:hover {
  
  background: linear-gradient(
    180deg,
    #f2e00a 0%,
    #e9e7c3 100%
  ) !important; 
  color: black !important; 
}


.notifications-promo-card.sticky-promo .promo-action-button.btn {
  width: 140px; 
  height: 36px;
  font-size: 14px;
  line-height: 14px; 

  
  top: calc(50% - 18px); 
  left: calc(50% - 70px); 
}

.notifications-list-section {
  
  width: 724px; 
  padding: 41px 70px; 
  background: rgb(255 255 255 / 10%); 
  border-radius: 20px; 
  display: flex; 
  gap: 10px; 
  box-sizing: border-box;
  height: 521px; 
  flex-shrink: 0;
  overflow: hidden; 
  transition: margin-left 0.3s ease-out; 
}

.notifications-list-items {
  
  flex-grow: 1; 
  display: flex;
  flex-direction: column;
  gap: 40px; 
  overflow-y: auto; 
  padding-right: 15px; 
}


.notifications-list-items::-webkit-scrollbar {
  width: 8px; 
}

.notifications-list-items::-webkit-scrollbar-track {
  background: transparent; 
}

.notifications-list-items::-webkit-scrollbar-thumb {
  background-color: rgb(
    0 0 0 / 30%
  ); 
  border-radius: 6px; 
  border: 2px solid transparent; 
  background-clip: content-box;
}

.notification-item {
  
  display: flex; 
  align-items: center; 
  gap: 20px; 
  width: 100%; 
}

.notification-item-meta {
  
  width: 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.notification-date,
.notification-time {
  color: white;
  font-size: 8px;
  font-family: Unbounded, sans-serif;
  font-weight: 300;
  line-height: 1.2; 
  word-wrap: break-word;
  text-align: right;
}

.notification-item-bubble {
  
  flex-grow: 1; 
  height: auto; 
  padding: 8px 24px; 
  background: rgb(255 255 255 / 16%); 
  border-radius: 99px; 
  display: flex; 
  justify-content: flex-start; 
  align-items: center;
}

.notification-item-bubble p {
  margin: 0;
  color: white;
  font-size: 14px;
  font-family: Unbounded, sans-serif;
  font-weight: 300;
  line-height: 18px; 
  word-wrap: break-word;
}


.notifications-list-section .notification-item-bubble {
  cursor: pointer;
}

.notifications-list-section .notification-item-bubble:hover {
  background: rgb(255 255 255 / 22%); 
}

.notifications-section-title {
  align-self: flex-start; 
  padding-left: calc(
    (100% - 1280px) / 2 + 20px
  ); 
  color: #ffef2b; 
  font-size: 55px; 
  font-family:
    'Blippo Local', sans-serif; 
  font-weight: 400; 
  line-height: 1.2; 
  word-wrap: break-word;
  margin-top: 20px; 
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-right: 20px;
}

@media (width <= 1320px) {
  
  .notifications-section-title {
    padding-left: 40px; 
    padding-right: 40px;
  }
}

.notifications-related-startups {
  width: 100%;
  max-width: 1280px; 
  padding: 0 20px; 
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; 
  align-items: flex-start; 
  gap: 20px; 
}

.related-startup-card {
  padding: 15px; 
  background: white;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 8px; 
  width: 155px; 
  box-sizing: border-box;
  position: relative; 
}

.related-startup-card img {
  width: 100px; 
  height: 90px;
  object-fit: cover;
  border-radius: 5px; 
}

.related-startup-name {
  align-self: stretch;
  text-align: center;
  color: black;
  font-size: 16px; 
  font-family: Unbounded, sans-serif;
  font-weight: 400;
  line-height: 1.3; 
  word-wrap: break-word;
}

.related-startup-badge {
  width: 28px; 
  height: 28px; 
  background: #f00;
  border-radius: 50%; 
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 16px; 
  font-family: Unbounded, sans-serif;
  font-weight: 400; 
  line-height: 1; 
  position: absolute; 
  top: -10px; 
  right: -10px; 
  box-shadow: 0 1px 3px rgb(0 0 0 / 30%); 
  border: 2px solid white; 
}

.related-startup-badge span {
  line-height: 1;
}


.related-startup-card-empty-spacer,
.related-startup-badge-empty-spacer {
  width: 155px; 
  height: 0; 
  padding: 0;
  margin: 0;
  visibility: hidden; 
}












.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 50%); 
  display: none; 
  justify-content: center;
  align-items: center;
  z-index: 1000;
  font-family: Unbounded, sans-serif;
  padding: 20px;
  box-sizing: border-box;

  
  backdrop-filter: blur(10px); 
  backdrop-filter: blur(10px);
}

.modal-popup {
  color: white;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgb(0 0 0 / 50%);
  width: auto;
  height: auto;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: row;
  padding: 55px;
  background: transparent;
  gap: 39px;
}


#notification-modal-popup > #notification-modal-close.modal-close-button {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  background: rgb(255 255 255 / 10%);
  border: none;
  cursor: pointer;
  z-index: 1010;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;

  
  overflow: visible;
}

.modal-close-button:hover {
  background: rgb(255 255 255 / 20%);
}

.modal-close-button img {
  width: 18px;
  height: 18px;
  display: block; 
}



.modal-promo-card {
  
  width: 540px;
  height: 521px; 
  min-width: 540px; 
  background-color: #0e163d; 
  background-image: url("/static/accounts/images/backgrounds/unsplash_bg.700730ad57f6.jpg"); 
  background-size: cover; 
  background-position: center; 
  position: relative;

  

  

  

  

  
  box-sizing: border-box;
  overflow: hidden;

  
  border-radius: 20px; 
  flex-shrink: 0;
}


.modal-promo-bg-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 0; 
}

.modal-promo-blur-1 {
  width: 400px;
  height: 400px;
  left: -150px;
  top: -100px;
  position: absolute;
  background: #004e9f;
  box-shadow: 0 0 150px 150px #004e9f;
  border-radius: 50%;
  opacity: 0.5; 
}

.modal-promo-blur-2 {
  width: 350px;
  height: 350px;
  right: -120px;
  bottom: -80px;
  position: absolute;
  background: rgb(97 165 255 / 35%);
  box-shadow: 0 0 120px 120px rgb(97 165 255 / 25%);
  border-radius: 50%;
  opacity: 0.5; 
}





.modal-notification-details {
  
  flex-grow: 1;
  min-width: 400px;
  max-width: 700px;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: rgb(
    50 50 50 / 75%
  ); 
  border-radius: 12px;
  backdrop-filter: blur(12px); 
  backdrop-filter: blur(12px);
  height: 521px;
}

.modal-notification-list-title {
  display: none; 
}

.modal-notification-list {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-y: auto;
  padding-right: 10px;
  margin-right: -10px; 
}


.modal-notification-list::-webkit-scrollbar {
  width: 6px;
}
.modal-notification-list::-webkit-scrollbar-track {
  background: rgb(255 255 255 / 5%);
  border-radius: 3px;
}
.modal-notification-list::-webkit-scrollbar-thumb {
  background-color: rgb(255 255 255 / 30%);
  border-radius: 3px;
}
.modal-notification-list::-webkit-scrollbar-thumb:hover {
  background-color: rgb(255 255 255 / 40%);
}


.modal-notification-details .notification-item {
  background-color: transparent; 
  padding: 10px 0; 
  border-radius: 0; 
  display: flex;
  align-items: center; 
  gap: 15px;
}

.modal-notification-details .notification-item-meta {
  flex-shrink: 0;
  width: auto; 
  text-align: left; 
}

.modal-notification-details .notification-item-meta .notification-date,
.modal-notification-details .notification-item-meta .notification-time {
  font-size: 11px;
  color: rgb(255 255 255 / 70%);
  display: block; 
  line-height: 1.3;
}

.modal-notification-details .notification-item-meta .notification-time {
  color: rgb(255 255 255 / 50%);
}

.modal-notification-details .notification-item-bubble {
  background: rgb(255 255 255 / 10%);
  padding: 10px 18px;
  border-radius: 12px; 
  flex-grow: 1;
  cursor: default; 
}

.modal-notification-details .notification-item-bubble:hover {
  background: rgb(255 255 255 / 15%); 
}

.modal-notification-details .notification-item-bubble p {
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}


@media (width <= 1100px) {
  
  .modal-popup {
    flex-direction: column; 
    padding: 30px; 
    max-height: calc(100vh - 20px); 
    overflow-y: auto; 
    gap: 20px;
  }

  .modal-promo-card {
    width: 100%;
    height: auto; 
    min-height: 300px; 
    max-width: 540px; 
    margin: 0 auto; 
  }

  .modal-notification-details {
    width: 100%;
    max-width: 600px; 
    height: auto; 
    min-height: 300px;
    margin: 0 auto; 
  }

  .modal-promo-title {
    font-size: 40px;
  }

  .modal-promo-main-img {
    max-width: 200px;
  }
}

@media (width <= 768px) {
  .modal-popup {
    padding: 20px;
  }

  .modal-promo-title {
    font-size: 32px;
  }

  .modal-promo-subtitle {
    font-size: 16px;
  }

  .modal-promo-main-img {
    max-width: 160px;
  }

  .modal-promo-action.btn {
    padding: 12px 30px;
    font-size: 16px;
  }

  .modal-notification-list-title {
    font-size: 16px;
  }

  .modal-notification-details .notification-item-bubble p {
    font-size: 13px;
  }

  .modal-notification-details .notification-item-meta .notification-date,
  .modal-notification-details .notification-item-meta .notification-time {
    font-size: 10px;
  }
}




.messages-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.alert-message {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 400px;
  min-width: 300px;
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  animation: notificationSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  font-family: Unbounded, Arial, sans-serif;
  display: flex;
  align-items: center;
  padding-right: 40px;
}

.alert-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #007AFF, #5856D6);
  border-radius: 12px 12px 0 0;
}

.alert-message.alert-success::before {
  background: linear-gradient(90deg, #34C759, #30D158);
}

.alert-message.alert-error::before {
  background: linear-gradient(90deg, #FF3B30, #FF453A);
}

.alert-message.alert-warning::before {
  background: linear-gradient(90deg, #FF9500, #FF9F0A);
}

.alert-message.alert-info::before {
  background: linear-gradient(90deg, #007AFF, #5856D6);
}

@keyframes notificationSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes notificationSlideOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
}

.alert-message.removing {
  animation: notificationSlideOut 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}






.notification-close-btn {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #8e8e93;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.notification-close-btn:hover {
  background: rgba(0,0,0,0.15);
  color: #1d1d1f;
  transform: translateY(-50%) scale(1.1);
}

.notification-close-btn:active {
  background: rgba(0,0,0,0.2);
  transform: translateY(-50%) scale(0.95);
}


@media (max-width: 768px) {
  .messages-container {
    top: 10px;
    left: 10px;
    right: 10px;
    transform: none;
  }
  
  .alert-message {
    max-width: none;
    min-width: auto;
    width: 100%;
    font-size: 13px;
    padding: 14px 16px;
  }
}
