

/* General styles for html */
html {
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    /* overscroll-behavior: none;  Prevent pull-to-refresh */

    scroll-padding-top: var(--navbar-height, 0px);
}

/* Body styles */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Ensures body stretches to full viewport height */
    overflow-x: hidden; /* Prevents horizontal scrolling */
    width: 100%;
    box-sizing: border-box;

    /* Background settings */
    background-color: #0062ff; /* Fallback solid color */
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iYmx1ZUdyYWRpZW50IiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjMGEwZjJjIiAvPjxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjMTczZjgyIiAvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzJhNTI5OCIgLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2JsdWVHcmFkaWVudCkiIC8+PC9zdmc+');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;

    color: #fff; /* White font color */

    display: flex;
    flex-direction: column;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.5;

}
 
#verification_response:empty {
    display: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 600;
  margin: 0;
  padding: 0;
}


.success_page_container {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #eee;

    min-height: 100vh;

    display: flex;
    flex-direction: column;  
    justify-content: center;
    align-items: center;

    text-align: center;
}

.success_page_container h2 {
    margin-bottom: 20px;
    max-width: 400px;
}

.success_page_container a {
    display: inline-block;
    margin-top: 10px;
}

#cinematicCarousel .carousel-control-prev,
#cinematicCarousel .carousel-control-next {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 8%;
}


/* new spinners start here */

.loader{
  opacity:0;
  visibility:hidden;
  transition:opacity .2s ease;
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;

  background:rgba(0,0,0,0.55); /* dark overlay */
  z-index:1000000;
  user-select:none;
}

.loader.show{
  opacity:1;
  visibility:visible;
}

/* clock body */
.clock{
  width:70px;
  height:70px;
  border:5px solid #ff4da6; /* neon pink ring */
  border-radius:50%;
  position:relative;
  box-shadow:0 0 20px rgba(255,77,166,.5); /* glow */
}

/* hands */
.clock::before,
.clock::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform-origin:bottom;
  background:#ff4da6;
}

.clock::before{
  width:4px;
  height:22px;
  animation:spinClock 6s linear infinite;
}

.clock::after{
  width:3px;
  height:28px;
  animation:spinClock 1s linear infinite;
}

@keyframes spinClock{
  from{transform:translate(-50%,-100%) rotate(0)}
  to{transform:translate(-50%,-100%) rotate(360deg)}
}



.write-spinner{
  width:80px;
  height:4px;
  background:rgba(255,77,166,0.2);
  position:relative;
  overflow:hidden;
}

.write-spinner::after{
  content:"";
  position:absolute;
  left:-40%;
  width:40%;
  height:100%;
  background:#ff4da6;
  box-shadow:0 0 12px rgba(255,77,166,.8);
  animation:write 1.2s linear infinite;
}

@keyframes write{
  from{ left:-40%; }
  to{ left:100%; }
}
/* new spinners end here */

p {
  margin: 0 0 0.8em 0;
  /* max-width: 65ch; */
}


button, input, textarea, select {
  font: inherit;
}

/* Content wrapper to ensure flexbox works properly */
.content {
    flex: 1; /* Ensures content takes up remaining space */
}



/* Additional rules for elements inside the body */
h1, h2, h3, p {
    margin: 0;
    padding: 0;
}


.jspanel {
  background-color: #ffffff;
  border: 2px solid #000000;
  border-radius: 0.5rem;
  color: #000000;
}

.jspanel-inner {
  padding: 1rem;
}

@media (min-width: 768px) {
  .jspanel-inner {
    padding: 1.5rem;
  }
}


.main-logo-style {
    display: flex;
    align-items: center;
    padding: 0; /* prevent navbar growth */
}

.navbar-logo {
    height: 48px;        /* adjust this value */
    width: auto;         /* preserve aspect ratio */
    display: block;
}

.text-box-red {
    border: 2px solid red; /* Helps identify overflow issues */
    width: 100% !important; /* Prevents it from exceeding parent */
    max-width: 100% !important; /* Ensures it stays within the container */
    word-wrap: break-word !important; /* Forces long words to break */
    overflow-wrap: break-word !important; /* Alternative for better browser support */
}


#entire_page {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;

    flex: 1;
}

*, *::before, *::after {

    box-sizing: border-box; /* inherit */
}

* {

}


.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto;
    margin-right: auto;
}

/* Allow navbar items to wrap if they don’t fit */
#custom_navbar .navbar-nav {
    flex-wrap: wrap;
}


.navbar-nav .nav-item {
    display: flex;                   /* ensure children are flexed */
    align-items: center;             /* vertical center */
}

.navbar-nav .nav-link {
    white-space: nowrap;
}

img {
    max-width: 100%;
    height: auto;
}


.enchanting-text {
    color: #00FF00; /* Bright green, contrasting with dark background */
    font-weight: bold; /* Bold text for extra emphasis */
}

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

    min-width: 2.1em;
    height: 2.1em;
    padding: 0 0.4em;

    background: radial-gradient(circle at top left, #ff4d4d, #b00000);
    color: #ffffff;

    font-weight: 500;
    font-size: 0.9em;
    line-height: 1;

    border-radius: 50%;

    /* crisp, non-mushy readability */
    text-shadow: 0 0 2px rgba(255,255,255,0.7);

    /* real outline where supported (Safari/iOS) */
    -webkit-text-stroke: 0.5px rgba(255,255,255,0.8);

    box-shadow:
        0 0 0 1.5px rgba(255,255,255,0.25),
        0 4px 10px rgba(0,0,0,0.6);

    margin-right: 0.5em;

    /* optional: keeps numbers nicely centered visually */
    font-variant-numeric: tabular-nums;
}

.dynamic-content-container {

    background-color: transparent;
    border: none;

    width: 100%;
    /* margin: 5px;  */
    /* padding: 5px; */

}


.spinner {
    display: none; /* Initially hidden */
    position: absolute;
    top: 1px;
    left: 1px;
    z-index: 1059;
 line-height: 1.1;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: transparent;

    background-image: linear-gradient(180deg, transparent, #40E0D0, transparent); 

    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: flame 2s linear infinite;
}
@keyframes flame {
    0% {
    background-position: 0% 0;
    }
    100% {
    background-position: 100% 0;
    }
}

  .glowing-button {
    background: linear-gradient(45deg, #ff6ec4, #7873f5);
    border: none;
    color: #fff;
    text-shadow:
    -1px -1px 1px #000,
     1px -1px 1px #000,
    -1px  1px 1px #000,
     1px  1px 1px #000;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(120, 115, 245, 0.7);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
  }
  .glowing-button:hover {
    box-shadow: 0 0 20px rgba(120, 115, 245, 1);
    transform: scale(1.02);
  }

.glowing-button-green {
  background: linear-gradient(45deg, #6effa0, #00c97f);
  color: #fff;
  text-shadow:
    -1px -1px 1px #000,
     1px -1px 1px #000,
    -1px  1px 1px #000,
     1px  1px 1px #000;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(0, 201, 127, 0.7);
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.glowing-button-green:hover {
  box-shadow: 0 0 20px rgba(0, 201, 127, 1);
  transform: scale(1.02);
}

.glowing-button-red {
  background: linear-gradient(45deg, #ff6e6e, #ff3c3c);
  border: none;
  color: #fff;
  text-shadow:
    -1px -1px 1px #000,
     1px -1px 1px #000,
    -1px  1px 1px #000,
     1px  1px 1px #000;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(255, 60, 60, 0.7);
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.glowing-button-red:hover {
  box-shadow: 0 0 20px rgba(255, 60, 60, 1);
  transform: scale(1.02);
}

.highlight_style {
      background-color: #F93A3C;  /* 1E90FFa; */
      border: 0;
      border-radius: 0.15rem; 
      padding: 0px 0px; /* Optional: Adds some spacing inside the highlight */
      
      box-shadow:
            inset 0 0 0 1px rgba(0, 0, 0, 0.35);

      animation: pulseBackground 3s infinite ease-in-out;
}


@keyframes pulseBackground {
    0% {
        background-color: #F93A3C;
    }
    50% {
        background-color: #1E90FF;
    }
    100% {
        background-color: #F93A3C; 
    }
}


.mainpage_highlight_style { 
    background-color: #D7281F; 
    color: #FFFFFF; 
    border-radius: 0.5rem; 
    padding: 0.15em 0.45em; /* Subtle depth instead of outline */ 
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); 
    white-space: nowrap; 
}

.mainpage_highlight_style_blue_white,
.mainpage_highlight_style_blue_white:link,
.mainpage_highlight_style_blue_white:visited,
.mainpage_highlight_style_blue_white:active,
.mainpage_highlight_style_blue_white:focus {
    background-color: #0d6efd;
    color: #ffffff;
    border-radius: 0.5rem;
    padding: 0.15em 0.45em;
    border: 1px solid rgba(0,0,0,0.15);
    white-space: nowrap;
    text-decoration: none;
}
.mainpage_highlight_style_blue_white:hover {
    text-decoration: underline;
    text-decoration-color: #ffffff;
    text-underline-offset: 2px;
}

.edit-profile-blue-shadow-text {
     color: black; /* Black text color */
     font-weight: bold; /* Bold font */
     text-shadow:
         0 0 10px rgba(0, 128, 0, 0.6), /* Green outer glow */
         0 0 20px rgba(0, 128, 0, 0.4), /* Slightly larger glow */
         0 0 30px rgba(0, 128, 0, 0.3); /* Soft diffusion */
}

.edit-profile-form-row {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.edit-profile-form-row:focus-within {
    box-shadow:
        inset 0 0 0 1px rgba(77, 238, 234, 0.8),
        0 0 18px rgba(77, 238, 234, 0.35);
    transform: translateY(-1px);
}

.edit-profile-input {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: none;
    border-radius: 0.5rem;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.18),
        0 4px 12px rgba(0, 0, 0, 0.25);

    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.edit-profile-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.edit-profile-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.07);

    box-shadow:
        inset 0 0 0 1px rgba(77, 238, 234, 0.9),
        0 0 18px rgba(77, 238, 234, 0.45);
}

.futuristic-panel .edit-profile-input,
.futuristic-panel .edit-profile-input:focus,
.futuristic-panel .edit-profile-input:active {
    color: #ffffff;
}

.futuristic-panel .edit-profile-input {
    caret-color: #4deeea; /* electric cyan cursor */
}


.futuristic-input {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.18),
        0 6px 16px rgba(0, 0, 0, 0.3);

    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.futuristic-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.07);

    box-shadow:
        inset 0 0 0 1px rgba(77, 238, 234, 0.9),
        0 0 20px rgba(77, 238, 234, 0.4);
}

.futuristic-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.futuristic-input {
    caret-color: #4deeea;
}

.futuristic-panel .form-label {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.futuristic-panel .form-text,
.futuristic-panel small,
.futuristic-panel #postCharCount {
    color: rgba(255, 255, 255, 0.7);
}


.futuristic-panel .futuristic-input,
.futuristic-panel .futuristic-input:focus,
.futuristic-panel .futuristic-input:active {
    color: #ffffff;
}


.futuristic-panel .futuristic-input {
    caret-color: #4deeea;
}

.futuristic-btn {
    border: none;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.3px;

  font-size: 0.875rem !important;
  padding: 0.375rem 0.75rem !important;

  line-height: 1.4;
  border-radius: 0.5rem;
  white-space: nowrap;


    /* Keep Bootstrap color, add depth */
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.25);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.15s ease;
}

.futuristic-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.12) saturate(1.1);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}


.futuristic-btn:active {
    transform: translateY(0);
    filter: brightness(0.95);

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.futuristic-btn.btn-info,
.futuristic-btn.btn-warning {
  color: #000;
}


.futuristic-radio-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Label wrapper */
.futuristic-radio {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #ffffff;
    font-weight: 500;
    user-select: none;
}

/* Hide native radio but keep it accessible */
.futuristic-radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 0.5rem;

    background: rgba(255, 255, 255, 0.05);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.4);

    position: relative;
    cursor: pointer;
    transition: box-shadow 0.15s ease, transform 0.1s ease;
}

/* Inner dot */
.futuristic-radio input[type="radio"]::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 0.5rem;
    background: transparent;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

/* Checked state */
.futuristic-radio input[type="radio"]:checked::before {
    background: #4deeea;
    box-shadow: 0 0 8px rgba(77, 238, 234, 0.8);
}

/* Hover */
.futuristic-radio:hover input[type="radio"] {
    box-shadow:
        inset 0 0 0 1px rgba(77, 238, 234, 0.7),
        0 4px 10px rgba(77, 238, 234, 0.3);
}

/* Focus (keyboard accessibility) */
.futuristic-radio input[type="radio"]:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(77, 238, 234, 0.5),
        inset 0 0 0 1px rgba(77, 238, 234, 0.9);
}


.futuristic-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    color: #ffffff;
    font-weight: 500;
    user-select: none;
}

/* Hide native checkbox visually */
.futuristic-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;

    width: 18px;
    height: 18px;
    border-radius: 0.5rem;

    background: rgba(255, 255, 255, 0.05);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.4);

    position: relative;
    cursor: pointer;
    transition: box-shadow 0.15s ease, transform 0.1s ease;
}

/* Checkmark */
.futuristic-checkbox input[type="checkbox"]::before {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 0.5rem;
    background: transparent;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

/* Checked state */
.futuristic-checkbox input[type="checkbox"]:checked::before {
    background: #4deeea;
    box-shadow: 0 0 8px rgba(77, 238, 234, 0.8);
}

/* Hover */
.futuristic-checkbox:hover input[type="checkbox"] {
    box-shadow:
        inset 0 0 0 1px rgba(77, 238, 234, 0.7),
        0 4px 10px rgba(77, 238, 234, 0.3);
}

/* Focus (keyboard users) */
.futuristic-checkbox input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(77, 238, 234, 0.5),
        inset 0 0 0 1px rgba(77, 238, 234, 0.9);
}


.action-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.futuristic-panel .btn-primary {
    box-shadow: 0 0 14px rgba(77, 238, 234, 0.35);
}


.futuristic-panel h2 {
    color: #ffffff;
    letter-spacing: 0.3px;
}

.futuristic-panel p {
    color: rgba(255, 255, 255, 0.85);
}


.edit-profile-form-row .btn {
    border: none;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.25);
}

.edit-profile-form-row .btn:hover {
    box-shadow:
        inset 0 0 0 1px rgba(77, 238, 234, 0.9),
        0 0 16px rgba(77, 238, 234, 0.35);
}

.text-gold {
  color: #d4af37; /* a more metallic-looking gold */
}

.text-cartoonish {
    color: #ffcc00; /* Bright yellow text */
    text-shadow: 2px 2px 4px #ff00ff, -2px -2px 4px #00ffff; /* Fun, colorful shadow */
}

.edit-profile-centered-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.edit-profile-form-container {
    display: flex;
    flex-direction: column;
}

.edit-profile-form-row {
    color: #00FF00;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem; /* Adjust spacing between rows */
}

.edit-profile-form-row label {
    flex: 0 0 100%; /* Label takes full width on mobile */
    color: #000;
    text-align: left;
    margin-bottom: 0.5rem;
}

.edit-profile-form-row input {
    flex: 1;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem; /* Adjust spacing below input */
}

.edit-profile-form-row button {
    flex: 0 0 auto;
    margin-bottom: 0.5rem; /* Adjust spacing below button */
}

.edit-profile-form-row .error-message {
    flex: 1;
    margin-top: 0.5rem;
}


.pop-art-image {
  width: 360px;
  height: 360px;
  border-radius: 0.5rem;
  object-fit: cover;
  display: block;
  margin: 16px auto;

  /* Elegant depth instead of a border */
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);

  background-color: #000; /* prevents edge artifacts */
}
@media (max-width: 576px) {
  .pop-art-image {
    width: 280px;
    height: 280px;
  }
}

@media (min-width: 577px) {
  .pop-art-image {
    width: 360px;
    height: 360px;
  }
}


.btn.ribbon {
    position: relative; /* Make sure the button is a reference point */
}

.btn.ribbon::after {
    content: "\2705"; /* ✅ Unicode check mark */
    position: absolute;
    top: 0; /* Align with the top of the button */
    right: 0; /* Align with the right of the button */
    transform: translate(50%, -50%); /* Move it outward so its midpoint is exactly at the top-right corner */
    color: green; /* Check mark color */
    font-size: 11px;
    font-weight: bold;
    z-index: 20; /* Ensure it appears above other elements */
}



.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}


#profile_header { 
    padding-top: 1.5rem;
    scroll-margin-top: 0;
}


/* Profile heading styling */
.profile-heading {
    color: #ff69b4; /* Explosive pink color */
    font-size: 24px; /* Increase the font size for better visibility */
    font-weight: bold; /* Make the text bold */
    text-shadow: 2px 2px 4px rgba(255, 20, 147, 0.8); /* Add a pink shadow for a radiant effect */
    /* margin-top: 0.5rem; */ 
    margin-bottom: 0.5rem; /* Add some space below the heading */
    text-align: center;
}

.profile-label {
    color: #1188FF;
    text-align: center;
}



#menu_row .btn {
    margin-bottom: 0.5rem;
}


.profile-container {
    background-color: #222;
    border: 1px solid #444;
    padding: 0.5rem;

    margin-top: 0.5rem;
    display: none;
}

.profile-container p {
    color: #fff;
}


.user_profile_styling {
    background-color: #222222;
    color: #ffffff;
    padding: 0px 5px 5px 5px;
    position: relative;
    margin: 0;
    box-sizing: border-box;

    box-shadow:
        inset 0 0 0 1px rgba(160, 110, 110, 0.45),
        inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}


/* Media query for responsive design */
@media (max-width: 768px) {
    .user_profile_styling {
        margin: 0px; /* Reduce margin for smaller screens */
    }
}

@media (max-width: 768px) {
    .col-md-6 {
        width: 100% !important; /* Forces full width on small screens */
        max-width: 100% !important;
    }
}


.followers-following-container {
    display: flex;
    justify-content: space-between;
}


.scrollable-container {
    max-height: 200px;
    overflow-y: auto;
    padding: 8px;
    flex-grow: 1;
    margin-right: 10px;
    white-space: nowrap;

    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);

    scrollbar-width: thin;
    scrollbar-color: rgba(120, 180, 255, 0.6) transparent;

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

}

.scrollable-container:last-child {
    margin-right: 0; /* Remove margin from the last container */
}

.user_profile_styling .scrollable-container div {
    margin-bottom: 5px; /* Optional: Space between each link */
}

.scrollable-container::-webkit-scrollbar {
    width: 8px;
}

.scrollable-container::-webkit-scrollbar-track {
    background: transparent;
}

.scrollable-container::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        rgba(120, 180, 255, 0.6),
        rgba(80, 120, 200, 0.6)
    );
    border-radius: 8px;
}

.scrollable-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        rgba(140, 200, 255, 0.85),
        rgba(100, 150, 230, 0.85)
    );
}






.close-btn {
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 5px;
}


#paginationButtons {
  padding: 0.75rem 1.25rem;
  margin: 0.5rem auto;

  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;

  border: none;
  border-radius: 0.5rem;
  width: 100%;

  text-align: center;

  /* surface depth instead of border */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 6px 18px rgba(0, 0, 0, 0.4);

  display: none;
}


.info-links {
    background-color: #000;
    color: #fff;
    margin: 20px 0 0 0;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.85em;
}

.info-links a {
    color: #fff !important;
    text-decoration: none;
}

.info-links a:hover {
    text-decoration: underline;
}

.footer-section {
    margin-top: 10px;
    background-color: #111; /* Slight contrast to distinguish section */
    padding: 10px;
    border-radius: 0.5rem;
}

.copyright {
    margin-top: 10px;
    text-align: center;
}


.highlighted {
    position: relative;
    /* background-color: #003d80; */
    color: #fff;
}

.highlighted::after {
    content: "✓";
    position: absolute;
    top: -6px;
    right: -6px;

    background: #ffcc00;
    color: #000;
    font-size: 11px;
    font-weight: 600;

    padding: 2px 6px;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    pointer-events: none;
}


/* CSS to highlight dropdown items on hover */
.dropdown-item:hover {
    background-color: #007bff; /* Add your desired highlight color */
    color: #fff; /* Add your desired text color */
}

.solid-border {
    border: 2px solid #343a40; /* Adjust border thickness and color as needed */
}



#loggedInAs {
    display: block;                  /* match nav-link */
    padding: 0 0.4rem;         /* vertical + horizontal padding */
    line-height: 1.5;                /* same as nav-links */
    border-radius: 0.5rem;
    background-color: #D7281F; 
    color: #FFFFFF;  
    margin-left: 0;                  /* remove extra margin */
    height: auto;
}



#userNotification {
    visibility: hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; /* Adjust maximum width as needed */
    max-height: 100%; /* Adjust maximum height as needed */
    overflow: auto; /* Enable scrolling if content exceeds dimensions */
    background-color: #343a40;
    color: #ffffff;
    border-radius: 0.5rem;
    padding: 30px; /* Adjust padding as needed */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Stronger shadow for more depth */
    z-index: 2000000;
    font-size: 24px; /* Adjust font size as needed */
    text-align: left; /* Align text content to the left */

    white-space: normal; /* Allow text to wrap */

    /* Updated border with teal color */
    border: 6px solid #00bcd4; /* Teal border */

    /* Turquoise glowing effect */
    animation: glowingBorder 1.5s infinite alternate;
}

/* Keyframe for glowing teal/turquoise border animation */
@keyframes glowingBorder {
    0% {
        box-shadow: 0 0 10px #00bcd4, 0 0 20px #00bcd4;
    }
    100% {
        box-shadow: 0 0 20px #00e5ff, 0 0 40px #00e5ff;
    }
}

.custom-search-input {
    flex: 1 1 auto;      /* grow naturally */
    min-width: 0;

    color: #ffffff;
    caret-color: #4deeea;
    -webkit-text-fill-color: #ffffff;

    transform: translateY(0);

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.18),
        0 6px 16px rgba(0, 0, 0, 0.3);
}

.custom-search-input-container {
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 0.5rem;
}

/* Search input flexes, buttons don't */
.custom-search-input {
    flex: 1 1 0;
    min-width: 0;

    color: #ffffff;
    caret-color: #4deeea;
    -webkit-text-fill-color: #ffffff;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.18),
        0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Buttons stay compact */
.custom-search-input-container .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* Mobile polish */
@media (max-width: 420px) {
    .custom-search-input-container {
        gap: 0.4rem;
    }

    .custom-search-input-container .btn {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        font-size: 0.9rem;
    }
}


/* Hard lock search input text color */
input[type="search"].custom-search-input,
input[type="search"].custom-search-input:focus,
input[type="search"].custom-search-input:active,
input[type="search"].custom-search-input:not(:placeholder-shown) {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    caret-color: #4deeea;
}

/* view posts styles end here*/

/* Button container and button styling */
.button-container {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap to the next line */
    justify-content: space-between; /* Space out buttons evenly */
}


.user_profile_anchor {
    /* padding: 10px; */
    box-sizing: border-box;
    scrollbar-gutter: stable;
}

.user_profile_styling button {
    flex: 1 1 45%; /* Take up 45% of the container width, grow and shrink as needed */
    margin: 5px; /* Add margin for spacing between buttons */
    padding: 10px;
    background-color: #555; /* Button background color */
    color: #fff; /* Button text color */
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    text-align: center;
}

.user_profile_styling button:hover {
    background-color: #777; /* Button background color on hover */
}



/* postausten ja vastausten tyylit alla */





/* ROW 1 – counter + send button */
.counter-wrapper {
    grid-column: 1 / -1; /* Full width row */
    display: flex;
    justify-content: flex-end; /* Align counter + send to the right */
    align-items: center;
}

.counter {
    color: white;
    border: 1px solid white;
    padding: 0.2rem 0.5rem;
    border-radius: 0.5rem;
    margin-right: 10px;
    width: 70px;
    min-width: 70px;
    max-width: 70px;
}


/* The send button stays inside counter-wrapper — no grid rules needed */
.reply-button {
    /* margin-left: 10px; */
    margin-left: 0 !important;
}

/* ROW 2 – view & hide buttons */
.view-replies-button {
    grid-column: 1;
}

.hide-replies-button {
    grid-column: 2;
}

/* info-label should span full width */
.info-label {
    grid-column: 1 / -1;
}

.flag-button {
  border: none;

  color: #fff;
  background-color: #ff0000;

  border-radius: 0.5rem;
  cursor: pointer;

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 4px 10px rgba(0, 0, 0, 0.35);

  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}


.flag-button:hover {
  background-color: #cc0000;

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 6px 16px rgba(0, 0, 0, 0.45);

  transform: translateY(-1px);
}


.flag-button:active {
  background-color: #aa0000;

  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);

  transform: translateY(0);
}



.flagged_class {
                  background-color: #BB0000;
              }


.reply-post {
  margin: 0 0 0 0 !important; 
  padding: 0 !important;

  border: none;
  border-radius: 0.5rem;

  background-color: rgba(255, 255, 255, 0.04);
  color: #ddd;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.25);
}



.ketju {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;

  background-color: rgba(255, 255, 255, 0.03);
}

.ketju--blue {
  box-shadow:
    inset 0 0 2px rgba(255, 255, 255, 0.2),
    inset 0 0 6px rgba(0, 255, 255, 0.35),
    0 0 10px rgba(0, 255, 255, 0.8),
    0 0 24px rgba(0, 170, 255, 0.6),
    0 0 56px rgba(0, 120, 255, 0.45);
}
.ketju--blue::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 0;
  bottom: 0;
  width: 2px;

  background: linear-gradient(
    to bottom,
    transparent,
    rgba(77, 238, 234, 0.25),
    transparent
  );
}

.ketju--green {
  box-shadow:
    inset 0 0 2px rgba(255, 255, 255, 0.18),
    inset 0 0 6px rgba(0, 255, 180, 0.35),
    0 0 10px rgba(0, 255, 180, 0.7),
    0 0 24px rgba(0, 200, 140, 0.55),
    0 0 56px rgba(0, 140, 90, 0.45);
}
.ketju--green::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 0;
  bottom: 0;
  width: 2px;

  background: linear-gradient(
    to bottom,
    transparent,
    rgba(120, 255, 200, 0.25),
    transparent
  );
}




.total-posts-class {
  background-color: #1E90FF;
  color: #fff;

  padding: 0.25rem 0.25rem;

  border: none;
  border-radius: 0.5rem;

  text-align: center;
  vertical-align: middle;

  /* surface depth instead of border */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.25);
}

.profile_search_result {
    margin: 5px;
    padding: 5px;
}

/* koko ketjun taustaväri */
.card {
  background-color: rgba(17, 17, 17, 0.9);

  border: none;
  border-radius: 0.5rem;

  margin: 5px;
  padding: 0.5rem;

  overflow: hidden;

  /* modern surface depth */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 6px 18px rgba(0, 0, 0, 0.3);
}


.aloitus_postaus {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;

  padding: 0;
  margin: 0;

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

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.35);
}








.reply-container {
  margin-top: 0.5rem;
  padding: 0.5rem;
  gap: 0.5rem;

  display: grid;
  grid-template-columns: 1fr 1fr;

  /* grid-auto-rows: auto;  */
  /* border: none;          */
  /* overflow: hidden;      */

  border-radius: 0.5rem;

  background:
    linear-gradient(
      0deg,
      rgba(8, 20, 32, 0.92),
      rgba(18, 48, 72, 0.85)
    );

  box-shadow:
    inset 0 1px 0 rgba(180, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 140, 255, 0.25),
    0 0 24px rgba(0, 160, 255, 0.25);
}

.profile-fields-container {
    text-align: left;
    max-width: 100%;
    padding: 0.5rem 0;

}

.otsikon-tyyli {
  display: flex;
  align-items: center;

  margin: 0;
  padding: 0.5rem 0.5rem; 

  /* border-radius: 0.5rem; */
  overflow: hidden;

  /* futuristic surface */
  background: rgba(255, 255, 255, 0.03);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.25);
}


.post-surface {
  /* border-radius: 0.5rem;*/
  overflow: hidden;

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

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.35);
}



.post-header {

  background:
    linear-gradient(
      0deg,
      rgba(8, 20, 32, 0.92),
      rgba(18, 48, 72, 0.85)
    );

  box-shadow:
    inset 0 1px 0 rgba(180, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 140, 255, 0.25),
    0 0 24px rgba(0, 160, 255, 0.25);


  color: #ffffff;
}




.post-body {
  padding: 1rem;
}

.post-controls {
  padding: 0.5rem 0.5rem;
  background: rgba(0, 0, 0, 0.9);
}



.card-header {
  position: relative;
  z-index: 1;

  margin: 0;

  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  /* overflow: hidden; */

  color: #ffffff;

  background: rgba(0, 0, 0, 0.78);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.28);
}

.postcontent-text {
  color: #e8ffff;

  background: none;
  padding: 0;
  margin: 0;

  display: inline;
  max-width: 100%;
  text-align: center;

  /* crisp contrast, no haze */
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45);

  -webkit-text-stroke: 0;
  text-stroke: 0;

  animation: none;

  font-size: 1.5rem;
  line-height: 1.6;
}

.post-title-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  text-align: left;
}

.post-title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.15rem, 2.5vw, 1.3rem);
}

.card-title a {
    color: #f0ad4e; /* Gold color for the title link */
    text-decoration: underline;
}

.card-title a:hover {
    color: #ff0000; /* Red color on hover */
}

.card-body {
  overflow: hidden;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.3);
}


.reply-body {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 4px 12px rgba(0, 0, 0, 0.25);
}


.image-post-body {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.85);

  box-shadow: none;
  border: none;
  outline: none;
}



.user-name {
    text-decoration: underline;
}


.post-footer {

  background:
    linear-gradient(
      0deg,
      rgba(8, 20, 32, 0.92),
      rgba(18, 48, 72, 0.85)
    );

  box-shadow:
    inset 0 1px 0 rgba(180, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 140, 255, 0.25),
    0 0 24px rgba(0, 160, 255, 0.25);


  color: #ffffff;

  /* border: none; */
  /* overflow: hidden; */

  /* IMPORTANT: do NOT define radius here */
  /* Radius belongs to the outer container (ketju / post-surface) */

  padding: 0.5rem 0.5rem;
}




/* -----------------------------------------
   MOBILE OPTIMIZATION FOR SMALL DEVICES
   (iPhone SE / 375px screens optimized)
   ----------------------------------------- */
@media (max-width: 420px) {

    /* Stack the two bottom buttons vertically */
    .view-replies-button,
    .hide-replies-button {
        grid-column: 1 / -1; /* Full width */
        width: 100%;
    }

    .view-replies-button {
        margin-bottom: 6px; /* Separation from hide button */
    }

    /* Counter + send still align nicely */
    .counter-wrapper {
        justify-content: flex-end;
        gap: 8px;
    }

    /* Slightly smaller counter for tiny screens */
    .counter {
        width: 55px;
        min-width: 55px;
        max-width: 55px;
    }
}

textarea.reply-textarea {
  caret-color: #4deeea;

  grid-column: 1 / -1;
  resize: none;
  width: 100%;
  margin: 0;
  font-size: 1rem;

  min-height: 2.2em;
  max-height: 8rem;
  overflow-y: hidden;

  background: linear-gradient(
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.08)
  );

  backdrop-filter: blur(12px);

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

  color: rgba(255, 255, 255, 0.95);

  padding: 0.75rem 1rem;
  border-radius: 0.6rem;

  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.25);

  transition: all 0.2s ease;
}

@media (max-width: 768px) {
  textarea.reply-textarea {
    min-height: 6.5rem;
    font-size: 1rem;
    line-height: 1.4;
  }
}

textarea.reply-textarea::placeholder {

  color: rgba(255, 255, 255, 0.55);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}

textarea.futuristic-input:focus {
  background: rgba(255, 255, 255, 0.07);

  box-shadow:
    inset 0 0 0 1px rgba(77, 238, 234, 0.9),
    0 0 20px rgba(77, 238, 234, 0.4);
}

textarea.futuristic-input:focus-visible {
  background: rgba(255, 255, 255, 0.07);

  box-shadow:
    inset 0 0 0 1px rgba(77, 238, 234, 0.9),
    0 0 20px rgba(77, 238, 234, 0.4);
}


.emoji-button.active {
    background-color: #32CD32;
    color: #FFFFFF;
}

.emoji-button.inactive {
    background-color: #1E90FF;  /* C64-inspired Blue */
    color: #FFFFFF;  /* White text */
}

.emoji-button {
    font-size: 24px; /* Adjust size as needed */
    line-height: 1.2; /* Adjust for proper spacing */
}

.emoji-count {
    font-size: 16px; /* Smaller size for counts if desired */
    margin-left: 4px; /* Space between emoji and count */
}

.thread-separator {
    display: block;
    text-align: center;
    font-size: 42px;
    line-height: 1;
    color: #e6e6e6;
    margin: 18px 0;
    user-select: none;

    /* pixel-perfect vertical alignment */
    /* transform: translateY(-2px);	*/

    /* subtle glow */
    text-shadow:
        0 0 4px rgba(255,255,255,0.6),
        0 0 10px rgba(255,255,255,0.25),
        0 0 18px rgba(255,105,180,0.25);
}

.rolling-text {
    font-family: "Courier New", Courier, monospace !important;
    font-weight: bold;
    transition: color 1s ease-in-out;
    display: block;
    /* display: inline-block; */
    text-align: center; /* Keeps text visually centered */
    /* Set a fixed width based on the longest text */
    width: 26ch; /* "Your Gateway to Insights." is 26 characters long */
    /* Prevent height changes */
    line-height: 1.2em;
    min-height: 1.2em;
    /* overflow: hidden; */
}


.row {
    flex-wrap: wrap !important; /* Ensures content can break onto new lines */
}



.col-md-6 p {
        width: 100% !important; /* Forces full width on small screens */
        max-width: 100% !important;
}

/* aloitussivun carousel-tyylit alla */

     
.pop-art-image {
  width: 300px;
  height: 300px;
  border-radius: 0.5rem;
  object-fit: cover;
  display: block;
  margin: 10px auto;
  padding: 0;
  border: none;

  /* glass-thin rim */
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.15);

  background-color: #000;
}



        /* INSTANT RESET POSITION (no slide animation) */
        .carousel-item {
          opacity: 0;
          transform: scale(0.95) translateY(5px);
          transition: opacity 0.12s ease-out,
                      transform 0.12s ease-out; /* << micro animation */
        }

        /* ACTIVE SLIDE POPS IN */
        .carousel-item.active {
          opacity: 1;
          transform: scale(1) translateY(0);
        }

        /* CAPTION ANIMATION */
        .carousel-caption {
          opacity: 0;
          transform: translateY(10px);
          transition: opacity 0.12s ease-out,
                      transform 0.12s ease-out;
          bottom: 0;
          top: 0;
        }

        .carousel-item.active .carousel-caption {
          opacity: 1;
          transform: translateY(0);
        }



.carousel-slogan-wrap {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;

  /* THIS is the fix */
  overflow: hidden;
}

.carousel-slogan {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;

  color: #f8f9fa;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.8);

  margin: 0;
  background: none;
  padding: 0;
}


        /* ARROWS */
        .carousel-control-prev-icon,
        .carousel-control-next-icon {
          background-color: rgba(0, 0, 0, 0.5);
          border-radius: 0.5rem;
          width: 50px;
          height: 50px;
          background-size: 50% 50%;
          background-repeat: no-repeat;
          background-position: center;
        }

        .carousel-control-prev:hover .carousel-control-prev-icon,
        .carousel-control-next:hover .carousel-control-next-icon {
          background-color: rgba(0, 0, 0, 0.8);
        }

        .carousel-control-prev {
          left: 15px;
        }
        .carousel-control-next {
          right: 15px;
        }

                        .carousel-control-prev { left: 35px; }
                        .carousel-control-next { right: 35px; }
        



/* aloitussivun carousel-tyylien määrittelyt loppuvat */

    .site-footer {
        background: #f5f5f5;
        border-top: 1px solid #ddd;
        padding: 20px 10px;
        text-align: center;
        /* font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', sans-serif; */
        font-size: 0.85em;
        color: #555;
    }

    .site-footer .affiliate-disclosure {
        margin-bottom: 15px;
        color: #666;
        font-size: 0.8em;
    }

    .footer-ads {
        margin-top: 10px;
    }

    .ad-banners img {
        max-width: 100%;
        height: auto;
    }

    .ad-banners a {
        display: inline-block;
        margin: 0 5px;
    }

.futuristic-panel {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: transparent;
    color: #FFFFFF;
}

.futuristic-panel .form-label,
.futuristic-panel .form-text,
.futuristic-panel h2,
.futuristic-panel h5,
.futuristic-panel h6 {
    color: #fff;
}

.futuristic-panel input[type="search"],
.futuristic-panel input[type="search"]:focus,
.futuristic-panel input[type="search"]:active {
    color: #ffffff;
    caret-color: #4deeea;
    -webkit-text-fill-color: #ffffff;
}

.futuristic-panel input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.futuristic-panel input[type="search"]:-webkit-autofill,
.futuristic-panel input[type="search"]:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    box-shadow: 0 0 0px 1000px rgba(20, 30, 40, 0.95) inset;
}


.futuristic-panel .input-group .btn-outline-secondary:hover {
    background-color: transparent;
}

.futuristic-panel .input-group .btn:hover i::before {
    color: #0d6efd;
}

.futuristic-panel a {
    color: #4deeea;          /* electric cyan */
    text-decoration: none;
    transition: color 0.15s ease, text-shadow 0.15s ease;
}

.futuristic-panel a:hover,
.futuristic-panel a:focus {
    color: #7df9ff;          /* brighter cyan */
    text-shadow: 0 0 6px rgba(77, 238, 234, 0.8);
}

.futuristic-link {
    color: #4deeea;
    text-decoration: none;
}

.futuristic-link:hover {
    color: #7df9ff;
    text-shadow: 0 0 6px rgba(77, 238, 234, 0.8);
}


    /* Login - Ready */
    .fade-in {
      opacity: 0;
      animation: fadeIn 0.6s ease-in-out forwards;
    }

    @keyframes fadeIn {
      to { opacity: 1; }
    }

.menu-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, auto);
  gap: 0.5rem;
  justify-content: center;
}

/* Wide screens: 6 bricks in one row */
@media (min-width: 992px) {
    .menu-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Tablets: 3 × 2 */
@media (max-width: 991px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Small phones: 2 × 3 (optional, but very nice) */
@media (max-width: 480px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.menu-grid .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}


.menu-grid .btn {
    min-height: 44px;
}

.ui-block-spacing {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.ui-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}


.full-width {
    width: 100%;
    box-sizing: border-box;

}



