/* =========================================
   ARNOREX SHARED COMPONENT SYSTEM
   Global Reusable UI Engine
========================================= */

/* =========================================
   GLASS EFFECT
========================================= */

.glass {
  background:
    rgba(255,255,255,0.06);

  border:
    1px solid rgba(255,255,255,0.08);

  backdrop-filter:
    blur(18px);

  -webkit-backdrop-filter:
    blur(18px);

  box-shadow:
    0 10px 40px rgba(0,0,0,0.24);
}

/* =========================================
   PREMIUM BORDER
========================================= */

.border-premium {
  position: relative;
}

.border-premium::before {
  content: '';

  position: absolute;

  inset: 0;

  padding: 1px;

  border-radius: inherit;

  background:
    linear-gradient(
      135deg,
      rgba(255,184,0,0.4),
      rgba(196,0,0,0.18),
      rgba(0,31,122,0.22)
    );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

  -webkit-mask-composite:
    xor;

  mask-composite:
    exclude;

  pointer-events: none;
}

/* =========================================
   HOVER LIFT
========================================= */

.hover-lift {
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.hover-lift:hover {
  transform:
    translateY(-6px);

  box-shadow:
    0 20px 50px rgba(0,0,0,0.35);
}

/* =========================================
   HOVER GLOW
========================================= */

.hover-glow {
  transition:
    box-shadow var(--transition-normal),
    border var(--transition-normal);
}

.hover-glow:hover {
  box-shadow:
    0 0 35px rgba(255,184,0,0.18);

  border:
    1px solid rgba(255,184,0,0.24);
}

/* =========================================
   GOLD TEXT
========================================= */

.text-gold {
  color:
    var(--color-gold-primary);
}

/* =========================================
   GRADIENT GOLD TEXT
========================================= */

.text-gold-gradient {
  background:
    linear-gradient(
      135deg,
      #ffd86f,
      #ffb800,
      #fff2c7
    );

  -webkit-background-clip:
    text;

  -webkit-text-fill-color:
    transparent;

  background-clip:
    text;
}

/* =========================================
   RED TEXT
========================================= */

.text-red {
  color:
    var(--color-red-primary);
}

/* =========================================
   BLUE TEXT
========================================= */

.text-blue {
  color:
    var(--color-blue-primary);
}

/* =========================================
   PREMIUM CARD
========================================= */

.premium-card {
  position: relative;

  overflow: hidden;

  border-radius:
    var(--radius-2xl);

  padding:
    28px;

  background:
    rgba(255,255,255,0.04);

  border:
    1px solid rgba(255,255,255,0.08);

  backdrop-filter:
    blur(18px);

  -webkit-backdrop-filter:
    blur(18px);

  transition:
    transform var(--transition-normal),
    border var(--transition-normal),
    box-shadow var(--transition-normal);
}

.premium-card:hover {
  transform:
    translateY(-8px);

  border:
    1px solid rgba(255,184,0,0.18);

  box-shadow:
    0 25px 60px rgba(0,0,0,0.32);
}

/* =========================================
   PREMIUM SHINE
========================================= */

.premium-card::after {
  content: '';

  position: absolute;

  top: -150%;
  left: -50%;

  width: 60%;
  height: 300%;

  transform:
    rotate(25deg);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.12),
      transparent
    );

  transition:
    left 1s ease;
}

.premium-card:hover::after {
  left: 140%;
}

/* =========================================
   BADGE
========================================= */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  padding:
    8px 14px;

  border-radius:
    var(--radius-pill);

  font-size: 0.78rem;
  font-weight: 700;

  letter-spacing: 0.05em;

  text-transform: uppercase;
}

.badge-gold {
  background:
    rgba(255,184,0,0.14);

  color:
    var(--color-gold-primary);

  border:
    1px solid rgba(255,184,0,0.18);
}

.badge-red {
  background:
    rgba(196,0,0,0.14);

  color:
    #ff7b7b;

  border:
    1px solid rgba(196,0,0,0.18);
}

.badge-blue {
  background:
    rgba(0,31,122,0.16);

  color:
    #7aa7ff;

  border:
    1px solid rgba(0,31,122,0.24);
}

/* =========================================
   DIVIDER
========================================= */

.divider {
  width: 100%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.08),
      transparent
    );
}

/* =========================================
   STATUS DOT
========================================= */

.status-dot {
  width: 10px;
  height: 10px;

  border-radius:
    50%;
}

.status-online {
  background:
    #00d96d;

  box-shadow:
    0 0 15px rgba(0,217,109,0.7);
}

.status-warning {
  background:
    #ffb800;

  box-shadow:
    0 0 15px rgba(255,184,0,0.7);
}

.status-danger {
  background:
    #ff4b4b;

  box-shadow:
    0 0 15px rgba(255,75,75,0.7);
}

/* =========================================
   NOTIFICATION CONTAINER
========================================= */

.notification-container {
  position: fixed;

  top: 100px;
  right: 24px;

  z-index: 9999;

  display: flex;
  flex-direction: column;

  gap: 16px;

  width: min(380px, calc(100vw - 40px));
}

/* =========================================
   NOTIFICATION
========================================= */

.notification {
  position: relative;

  overflow: hidden;

  padding:
    18px 22px;

  border-radius:
    var(--radius-xl);

  background:
    rgba(15,15,15,0.92);

  border:
    1px solid rgba(255,255,255,0.08);

  backdrop-filter:
    blur(18px);

  -webkit-backdrop-filter:
    blur(18px);

  transform:
    translateX(120%);

  opacity: 0;

  transition:
    transform 0.45s var(--ease-premium),
    opacity 0.45s ease;

  box-shadow:
    0 18px 45px rgba(0,0,0,0.35);
}

.notification.show {
  transform:
    translateX(0);

  opacity: 1;
}

/* =========================================
   NOTIFICATION TYPES
========================================= */

.notification-success {
  border-left:
    4px solid #00d96d;
}

.notification-error {
  border-left:
    4px solid #ff4b4b;
}

.notification-warning {
  border-left:
    4px solid #ffb800;
}

.notification-info {
  border-left:
    4px solid #4d8dff;
}

/* =========================================
   NOTIFICATION CONTENT
========================================= */

.notification-content {
  display: flex;
  align-items: center;

  gap: 14px;

  color:
    var(--text-primary);

  font-size: 0.94rem;

  line-height: 1.6;
}

/* =========================================
   LOADER
========================================= */

.loader {
  width: 42px;
  height: 42px;

  border-radius:
    50%;

  border:
    3px solid rgba(255,255,255,0.08);

  border-top:
    3px solid var(--color-gold-primary);

  animation:
    spin 1s linear infinite;
}

/* =========================================
   SKELETON
========================================= */

.skeleton {
  position: relative;

  overflow: hidden;

  background:
    rgba(255,255,255,0.04);
}

.skeleton::before {
  content: '';

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.08),
      transparent
    );

  transform:
    translateX(-100%);

  animation:
    shimmer 1.8s infinite;
}

/* =========================================
   FLEX UTILITIES
========================================= */

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

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

/* =========================================
   GAP UTILITIES
========================================= */

.gap-sm {
  gap: 10px;
}

.gap-md {
  gap: 18px;
}

.gap-lg {
  gap: 28px;
}

/* =========================================
   SPACING UTILITIES
========================================= */

.mt-sm {
  margin-top: 12px;
}

.mt-md {
  margin-top: 24px;
}

.mt-lg {
  margin-top: 42px;
}

.mb-sm {
  margin-bottom: 12px;
}

.mb-md {
  margin-bottom: 24px;
}

.mb-lg {
  margin-bottom: 42px;
}

/* =========================================
   TEXT ALIGNMENT
========================================= */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px) {

  .notification-container {
    right: 18px;
    left: 18px;

    width: auto;
  }

  .premium-card {
    padding:
      22px;
  }

}

@media (max-width: 540px) {

  .notification {
    padding:
      16px 18px;
  }

  .premium-card {
    padding:
      18px;
  }

}