* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-repeat: no-repeat;
    margin: 15px 15px 0px 15px;
    color: #ffffff;
    background-color: #101724;
    background-image:
        radial-gradient(at 47% 33%, #B72936, transparent 59%), 
        radial-gradient(at 82% 65%, hsl(218.00, 39%, 11%) 0, transparent 55%);
}

.d-flex {
    margin-top: 10px;
}

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar {
    width: 250px;
    margin-bottom: 25px;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.modal-content {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header,
.modal-footer {
    border-color: rgba(255, 255, 255, 0.1);
}

.form-control,
.form-select {
    color: white;
    backdrop-filter: blur(7px) saturate(200%);
    -webkit-backdrop-filter: blur(7px) saturate(200%);
    background-color: rgba(17, 25, 40, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.125);
}

.form-control::placeholder {
    color: white;
    opacity: 0.2;
}

.form-control:focus,
.form-select:focus {
    background-color: #0f0f0f;
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
}

a.navbar-brand.text-white {
    font-weight: 700;
    font-family: Audiowide;
    font-style: italic;
    font-size: 26px;
}




/* Create two equal columns that floats next to each other */
.column {
    float: left;
    width: 10%;
    padding: 10px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

.main-content .row {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.column img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.main-content.p-4 {
    width: 100%;
}

button.btn {
    color: white;
}

.modal-content.glass {
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(17, 25, 40, 0.75);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.125);
}

.column {
    display: inline-block;
    margin: 10px;
    cursor: pointer;
    position: relative;
}
.tooltip {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background-color: black;
    color: white;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    white-space: nowrap;
}

.column:hover .tooltip {
    visibility: visible;
}

.shine-overlay {
    position: relative;
    overflow: hidden;
    
    &:hover .shine {
      display: block;
    }
  }
  
  .shine {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    background: -webkit-gradient(linear,left top,right top,from(rgba(255,255,255,0)),color-stop(50%,rgba(255,255,255,.8)),to(rgba(255,255,255,0)));
    background: linear-gradient(to right,rgba(255,255,255,0) 0,rgba(255,255,255,.8) 50%,rgba(255,255,255,0) 100%);
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transform: skew(30deg);
    animation: shine 0.75s linear 1;
  }
  
  @keyframes shine {
    0% {
      left: -50%;
      opacity: 0;
    }
    50% {
      left: 25%;
      opacity: .5;
    }
    100% {
      left: 100%;
      opacity: 0;
    }
  }


a.navbar-brand.text-white {
    margin-left: 12px;
}

.shine-overlay {
    border: 1px solid #c7c7c7;
    border-radius: 20px;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 10px 20px 0 rgba(0, 0, 0, 0.19);
}

/* ------------------------------
   Login Page specific styling
-------------------------------*/
.login-page {
    margin: 0;                 /* remove page margins for full-bleed look */
    min-height: 100vh;
    color: #fff;
    background-color: #0e1420;
    background-image:
        radial-gradient(60rem 30rem at 50% 20%, rgba(183, 41, 54, 0.65), rgba(183, 41, 54, 0) 60%),
        radial-gradient(40rem 25rem at 85% 70%, rgba(20, 28, 44, 0.9), rgba(20, 28, 44, 0) 60%),
        radial-gradient(35rem 20rem at 15% 80%, rgba(20, 28, 44, 0.8), rgba(20, 28, 44, 0) 60%);
}

.login-card {
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    background: rgba(17, 25, 40, 0.65); /* a bit more opaque for readability */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}

.login-card .form-label {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.login-card .form-control {
    background-color: rgba(17, 25, 40, 0.9);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.login-card .form-control::placeholder {
    color: rgba(255,255,255,0.55);
}

.login-card .form-control:focus {
    background-color: rgba(17, 25, 40, 0.95);
    border-color: rgba(99, 179, 237, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(99, 179, 237, 0.15);
}

.btn-login.btn-primary {
    background: linear-gradient(180deg, #3d8bfd 0%, #1e6fff 100%);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 6px 14px rgba(30, 111, 255, 0.35);
}
.btn-login.btn-primary:hover {
    filter: brightness(1.05);
    box-shadow: 0 8px 18px rgba(30, 111, 255, 0.45);
}

.login-help {
    color: rgba(255,255,255,0.6) !important;
}

.login-brand .brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(183, 41, 54, 0.28);
    filter: drop-shadow(0 0 10px rgba(183, 41, 54, 0.18));
    animation: logo-glow 3.2s ease-in-out infinite;
}
.login-brand .brand-name {
    margin-top: 8px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 0.95rem;
}

@keyframes logo-glow {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(183, 41, 54, 0.28);
        filter: drop-shadow(0 0 8px rgba(183, 41, 54, 0.16));
    }
    50% {
        box-shadow: 0 6px 18px rgba(183, 41, 54, 0.40);
        filter: drop-shadow(0 0 16px rgba(183, 41, 54, 0.28));
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-brand .brand-logo {
        animation: none;
    }
}

.password-toggle {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.85);
}
.password-toggle:hover {
    background: rgba(255,255,255,0.12);
}

/* Shake animation on error */
@keyframes card-shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}
.login-card.shake {
    animation: card-shake 0.45s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 0 0 2px rgba(183, 41, 54, 0.35);
}