/* =========================================================
   NOTIFICARI CA LA IPB (alerts.php)
   ========================================================= */
.osky-al-wrap {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin: 24px 0;
}

.osky-al-side,
.osky-al-main {
  border-radius: 16px;
  background: rgba(10, 20, 46, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.osky-al-side {
  padding: 16px 12px;
}

.osky-al-label {
  margin: 10px 10px 8px;
  color: #ff2e4d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.osky-al-label:first-child {
  margin-top: 0;
}

.osky-al-side a:link,
.osky-al-side a:visited {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #eef4ff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease;
}

.osky-al-side a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.osky-al-side a.active {
  background: rgba(46, 230, 107, 0.12);
  box-shadow: inset 3px 0 0 #2ee66b;
  color: #ffffff;
}

.osky-al-side a i {
  margin-left: auto;
  font-style: normal;
}

.osky-al-side a i:not(:empty) {
  min-width: 20px;
  padding: 1px 7px;
  border-radius: 10px;
  background: #ff2e4d;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.osky-al-side a.osky-al-danger:hover {
  background: rgba(255, 46, 77, 0.14);
  color: #ff8a9b;
}

.osky-al-main {
  overflow: hidden;
}

.osky-al-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.10) 0 14px, transparent 14px 28px),
    linear-gradient(180deg, #e01b3a, #a50e25);
}

.osky-al-head h2 {
  flex: 1;
  margin: 0;
  font-family: 'Permanent Marker', cursive !important;
  font-weight: 400;
  font-size: 24px;
  color: #ffffff;
  text-shadow: 2px 2px 0 #5a0612;
}

a.osky-al-btn:link,
a.osky-al-btn:visited {
  padding: 9px 16px;
  border-radius: 10px;
  background: #ffffff;
  color: #c4122f !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

a.osky-al-btn.osky-al-ghost:link,
a.osky-al-btn.osky-al-ghost:visited {
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  font-size: 15px;
}

table.osky-al-table {
  width: 100%;
  border: 0 !important;
  background: transparent !important;
  border-collapse: collapse;
}

table.osky-al-table tr.alert > td.osky-al-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: transparent !important;
  transition: background 0.15s ease;
}

table.osky-al-table tr.alert > td.osky-al-row:hover {
  background: rgba(255, 255, 255, 0.03) !important;
}

table.osky-al-table tr.alert--unread > td.osky-al-row {
  background: rgba(46, 230, 107, 0.06) !important;
  box-shadow: inset 3px 0 0 #2ee66b;
}

/* avatarul cu iconita tipului */
a.osky-al-av {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
}

a.osky-al-av img {
  display: block;
  width: 46px !important;
  height: 46px !important;
  object-fit: cover;
  border-radius: 14px;
}

.osky-al-ico {
  position: absolute;
  right: -6px;
  bottom: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1a2a52;
  border: 2px solid #0b1632;
  font-size: 11px;
  line-height: 1;
}

.osky-al-ico::after { content: "\1F514"; }
tr.alert--post_threadauthor .osky-al-ico,
tr.alert--subscribed_thread .osky-al-ico { background: #12814a; }
tr.alert--post_threadauthor .osky-al-ico::after,
tr.alert--subscribed_thread .osky-al-ico::after { content: "\1F4AC"; }
tr.alert--quoted .osky-al-ico,
tr.alert--mention .osky-al-ico { background: #5a4bd1; }
tr.alert--quoted .osky-al-ico::after,
tr.alert--mention .osky-al-ico::after { content: "\275D"; color: #ffffff; font-size: 13px; }
tr.alert--rep .osky-al-ico,
tr.alert--rated_threadauthor .osky-al-ico { background: #b8860b; }
tr.alert--rep .osky-al-ico::after,
tr.alert--rated_threadauthor .osky-al-ico::after { content: "\2B50"; }
tr.alert--voted_threadauthor .osky-al-ico::after { content: "\1F4CA"; }
tr.alert--pm .osky-al-ico { background: #c4122f; }
tr.alert--pm .osky-al-ico::after { content: "\2709"; color: #ffffff; font-size: 12px; }
tr.alert--buddylist .osky-al-ico::after { content: "\1F465"; }

/* textul notificarii */
a.osky-al-msg:link,
a.osky-al-msg:visited {
  flex: 1;
  min-width: 0;
  color: #c9d4ea;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

a.osky-al-msg span,
a.osky-al-msg b {
  color: #ffffff;
  font-weight: 700;
}

a.osky-al-msg strong {
  color: #2ee66b;
  font-weight: 600;
}

a.osky-al-msg br {
  display: none;
}

a.osky-al-msg:hover strong {
  text-decoration: underline;
}

/* dreapta: ora, Nou, butoane */
.osky-al-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex: 0 0 auto;
  text-align: right;
}

.osky-al-time {
  color: #8fa0bf;
  font-size: 12px;
  white-space: nowrap;
}

.osky-al-new {
  display: none;
  padding: 1px 8px;
  border-radius: 6px;
  background: #ff2e4d;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

tr.alert--unread .osky-al-new {
  display: inline-block;
}

.osky-al-act {
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

tr.alert:hover .osky-al-act {
  opacity: 1;
}

.osky-al-act a:link,
.osky-al-act a:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #eef4ff;
  font-size: 13px;
  text-decoration: none;
}

.osky-al-act a:hover {
  background: rgba(46, 230, 107, 0.2);
}

.osky-al-act a.deleteAlertButton:hover {
  background: rgba(255, 46, 77, 0.3);
}

.osky-al-act .hidden {
  display: none !important;
}

/* gol */
.osky-al-none,
table.osky-al-table td.osky-al-none {
  padding: 50px 20px !important;
  border: 0 !important;
  background: transparent !important;
  color: #8fa0bf;
  font-size: 15px;
  line-height: 2.2;
  text-align: center;
}

.osky-al-pages:not(:empty) {
  padding: 14px 20px;
  text-align: right;
}

@media (max-width: 800px) {
  .osky-al-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .osky-al-act {
    opacity: 1;
  }
  .osky-al-head h2 {
    font-size: 20px;
  }
}