/* =========================================================
   PAGINI DE EROARE / FARA PERMISIUNE CA LA IPB
   ========================================================= */
.osky-err {
  display: flex;
  justify-content: center;
  margin: 50px 0 60px;
}

.osky-err-card {
  width: 100%;
  max-width: 560px;
  padding: 36px 34px 30px;
  border-radius: 20px;
  background: rgba(10, 20, 46, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.osky-err-ico img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  animation: oskyXIcon 2.4s ease-in-out infinite;
}

.osky-err-card h1 {
  margin: 14px 0 0;
  font-family: 'Permanent Marker', cursive !important;
  font-weight: 400;
  font-size: 28px;
  color: #ffffff;
  text-shadow: 2px 2px 0 #c4122f;
}

.osky-err-msg {
  margin-top: 14px;
  color: #c9d4ea;
  font-size: 15px;
  line-height: 1.6;
}

.osky-err-msg p {
  margin: 0 0 14px;
}

.osky-err-msg a:link,
.osky-err-msg a:visited {
  color: #2ee66b;
  font-weight: 600;
}

.osky-err-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.osky-err-btns a:link,
.osky-err-btns a:visited {
  padding: 12px 20px;
  border-radius: 12px;
  background: linear-gradient(90deg, #c4122f, #ff2e4d);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.osky-err-btns a.osky-err-ghost:link,
.osky-err-btns a.osky-err-ghost:visited {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* formular de login cand nu esti conectat */
form.osky-err-login {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 0;
  text-align: left;
}

form.osky-err-login input.textbox {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px !important;
  border-radius: 12px !important;
  background: rgba(5, 13, 34, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  font-size: 14px;
}

form.osky-err-login input.textbox:focus {
  outline: none;
  border-color: #2ee66b !important;
  box-shadow: 0 0 0 3px rgba(46, 230, 107, 0.18);
}

form.osky-err-login label.osky-np-check {
  align-self: flex-start;
}

form.osky-err-login input.osky-np-submit {
  width: 100%;
  padding: 14px !important;
  font-size: 15px !important;
}

.osky-err-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
}

.osky-err-links a:link,
.osky-err-links a:visited {
  color: #8fa0bf !important;
  font-weight: 400 !important;
  text-decoration: none;
}

.osky-err-links a b {
  color: #2ee66b;
}

/* cand e logat dar nu are acces */
ul.osky-err-why {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

ul.osky-err-why li {
  margin-bottom: 8px;
  padding: 10px 14px 10px 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  font-size: 13px;
}

ul.osky-err-why li::before {
  content: "\2022";
  position: absolute;
  left: 16px;
  color: #ff2e4d;
  font-weight: 700;
}

.osky-err-user {
  margin-top: 12px;
  color: #8fa0bf;
  font-size: 12px;
}

/* erori din formulare (ex: parola gresita, titlu prea scurt) */
.osky-err-inline {
  margin: 18px 0;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(196, 18, 47, 0.16);
  border: 1px solid rgba(255, 46, 77, 0.5);
  border-left: 4px solid #ff2e4d;
  color: #ffe3e8;
}

.osky-err-inline b {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 15px;
}

.osky-err-inline ul {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .osky-err {
    margin: 24px 0;
  }
  .osky-err-card {
    padding: 26px 18px;
  }
}