/* ===========================================================
   Logout
   =========================================================== */

.logout-link {
    color: white;
    text-decoration: none;
    opacity: 0.75;
}

.logout-link:hover {
    opacity: 1;
}
.logout-icon i {
    font-size: 25px;   /* adjust to match image size */
    vertical-align: middle;
    transition: opacity 0.2s ease;
}

.logout-icon:hover i {
    opacity: 1;
}




/* ===========================================================
   Loading/Spinner
   =========================================================== */
loading-spinner {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.65);
}



.spinner-wrapper {
  text-align: center;
  color: #fff;
}

.spinner-loader {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 15px auto;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: #00aaff;
  border-right-color: #00aaff;
  animation: spin 1.8s linear infinite;
}


/* Smaller inner rings with staggered timing */
.ring2 {
  inset: 12px;
  border-width: 4px;
  border-top-color: #00ccff;
  border-right-color: #00ccff;
  animation-delay: 0.25s;
}

.ring3 {
  inset: 24px;
  border-width: 4px;
  border-top-color: #66e0ff;
  border-right-color: #66e0ff;
  animation-delay: 0.5s;
}

/* === Text === */
.spinner-text {
  font-size: 1.1rem;
  color: #ffffff;
  opacity: 0.9;
}


.loading-spinner-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    display: none;
    text-align: center;
}

.loading-spinner p {
    color: white;
}


.loading-spinner-image {
    width: 280px;
    height: auto;
    display: block;
}

/* === Fullscreen overlay === */

/* Hidden by default */
.d-none {
  display: none !important;
}

/* === Animation keyframes === */
@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* ===========================================================
   Form-specific & Utility Classes
   =========================================================== */
.custom-border {
    border: 2px solid #f8f9fa !important; /* Consolidated */
}

.phishing-alt-border {
    border: 1px solid #fafcfc !important;
}

.custom-hr,
.event-hr {
    border: none;
    height: 2px;
    background-color: gray;
    margin: 1rem 0;
}

.hidden,
.hidden-input {
    display: none !important; /* Consolidated hidden classes */
}

.flash-message {
    text-align: center;
    padding: 15px;
    margin: 10px auto;
    width: 100%;
    border: 4px solid #0093c9;
    border-radius: 8px;
    font-size: 1.5rem;
}

.beta-badge-top {
    font-size: 0.75rem;
    color: #f8f9fa;
    background: rgba(220, 53, 69, 0.75);
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 2px;
    display: inline-block;
}

.clickable {
  cursor: pointer;
}

/* Drag & Drop Area (Consolidated from three blocks) */
.drag-drop-area {
    position: relative;
    cursor: pointer;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #e9eef5;
    transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.drag-drop-area.drag-over,
.drag-drop-area.is-dragover {
    background: rgba(255, 255, 255, 0.15); /* Kept original for backward compatibility */
    background: #0e1722; /* From later block, slightly darker */
    border-color: #66b2ff !important;
    box-shadow: 0 0 0 0.15rem rgba(102,178,255,0.2);
    transition: 0.2s;
}

.drag-drop-area:focus-within {
    outline: 2px solid #66b2ff;
    outline-offset: 2px;
}

.drag-drop-area .btn.btn-light {
    background: #e9eef5;
    color: #0b0f14;
    border: none;
}

.dd-wide, .dd-title { max-width: 980px; width: 100%; }
.dd-instructions { margin-bottom: 0.5rem; }
.dd-filename { word-break: break-word; }


/* Form Controls */
.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    border-color: #66b2ff;
    box-shadow: 0 0 0 0.15rem rgba(102,178,255,0.25);
    outline: none;
}

.form-text.text-muted {
    color: #6c757d !important;
}

.badge { margin-bottom: .25rem; }
.badge + .badge { margin-left: .375rem; }


/* ===========================================================
   top bar - Fixed Scaling
   =========================================================== */

.top-bar {
    background-color: transparent;
    padding: 5px 20px; /* Reduced vertical padding for slimness */
    color: white;
    /* border-top: 1px solid #77b2f1;
    border-bottom: 1px solid #77b2f1; */
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping on desktop */
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 60px;
}

/* 1. Force Logo Sizing within Top Bar (Overrides the 350px global style) */
.top-bar .main-logo { 
    width: auto; 
    height: 60px; /* Control size by height for better scaling */
}

.top-bar .eu-logo { 
    width: auto; 
    height: 35px; 
}

.top-bar .banner-img { 
    height: 60px; 
    width: auto;
}

/* 2. Banner Text container (Keep it slim) */
.top-bar .banner-text {
    padding: 5px 15px;
    margin: 0;
    border: 1px solid white; /* Thinner border for desktop */
}

.top-bar .banner-tagline {
    font-size: 1.3rem; /* Slightly smaller for desktop bar */
}


/* ===========================================================
   user logos
   =========================================================== */

/* 3. User & Icons Alignment */
.logged-user {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
}

.right-icons-blur {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
    
    /* This adds the extra space on the far right of the top bar */
    padding-right: 40px; 
}

.core-logo-user {
    height: 40px;
    width: auto;
}

/* ===========================================================
   Responsive Adjustments (The Fix for Mobile)
   =========================================================== */

@media (max-width: 1100px) {
    .top-bar .banner-section {
        display: none !important; /* Hide center banner first to save space */
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-wrap: wrap; /* Allow wrapping only on mobile */
        justify-content: center;
        padding: 10px;
    }

    .logo-group, .right-icons-blur, .logged-user {
        justify-content: center;
        width: 100%; /* Stack on mobile */
    }
    
    .top-bar .main-logo { height: 35px; }
    .top-bar .eu-logo { height: 25px; }
}
/* Ensure images don't overflow their containers
.top-bar img {
    max-width: 100%;
    height: auto;
} */

/* Sizing for the logos */
.main-logo { height: 40px; }
.eu-logo { height: 30px; margin-left: 10px; }
.banner-img { height: 35px; }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .banner-section {
        display: none !important; /* Hide tagline/center banner on tablets/phones to save space */
    }
}

@media (max-width: 576px) {
    .top-bar {
        justify-content: center; /* Center everything on tiny screens */
        text-align: center;
    }
    
    .logo-group, .right-icons-blur, .logged-user {
        width: 100%; /* Force each section to its own line */
        justify-content: center;
        margin: 5px 0;
    }

    .username {
        font-size: 0.8rem; /* Shrink text slightly */
    }
}

/* ===========================================================
   Base Layout & Typography
   =========================================================== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #003378;
    color: white;
    line-height: 1.5;
    font-size: 15px;
    min-height: 100vh;
}

/* Links */
a {
    color: #66b2ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #ffffff;
}



/* ===========================================================
   General Containers & Shadows (Mixin properties)
   =========================================================== */
/* General Container */
.container {
    max-width: 55%;
    margin: 2rem auto;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

/* Re-used Panel Style (for incidents/dashboard) */
.panel,
.incidents-card {
    /* Base Panel Style */
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    height: 100%;
}

.incidents-card {
    /* Specific overrides for incidents-card */
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.panel.panel-dark {
    /* Specific style for panel-dark */
    background-color: rgba(33, 37, 41, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: .5rem;
    padding: 1rem;
    width: 100%;
}

/* Custom Containers */
.custom-container {
    border: 1px solid #004080;
    padding: 20px;
    margin-top: 3rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    background-color: #003d66;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Info Boxes */
.info-box {
    background-color: #003366; /* Consolidated background/border/color */
    border: 1px solid #f8f9fa; /* From the later definition, more specific */
    color: #dbe2ea; /* From the later definition, better contrast */
    padding: 0.85rem 1rem; /* Consolidated padding */
    border-radius: 0.5rem;
    margin-bottom: 1rem; /* Added margin for consistency */
}

.info-box-link,
.info-box .info-box-link {
    color: white; /* Keeping the initial white color */
    text-decoration: underline;
}

/* Disclaimer Section */
.disclaimer-section {
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #f1f1f1;
    font-size: 0.90rem;
    max-width: 80%;
    margin: 0 auto;
    border-radius: 0.5rem; /* Consolidated border-radius */
}

.disclaimer-text {
    margin: 0;
    line-height: 1.5;
}

/* Content Area */
.content {
    width: 95%;
    margin: 10px auto;
}

/* Background & Overlay (Fixed) */
.background-image,
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.background-image {
    background: url("../images/cybercores-bg.png") center center / cover no-repeat fixed;
}

.background-overlay {
    background-color: rgba(0, 0, 0, 0.4);
}



/* ===========================================================
   Banner
   =========================================================== */
.banner-section {
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    flex-wrap: wrap;
    text-align: left;
}

.banner-img {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
/*    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 0.3s; */
}


.banner-text {
    max-width: 100%;
    padding: 10px;
    border: 2px solid #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /*animation: fadeIn 1s ease-in-out;*/
    font-size: 0.95rem;
}

.banner-text-2,
.banner-text-3 {
    max-width: 95%;
    margin: 0 auto;
    padding: 10px;
    border: 2px solid #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.banner-text-2 {
    font-size: 1.5rem;
}

.banner-text-3 {
    font-size: .9rem;
}

.banner-tagline {
    font-size: 1.30rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 1px 1px 2px #000000;
    margin: 0;
}

/* ===========================================================
   Images, Icons & Logos (Consolidated and Cleaned)
   =========================================================== */
.logo-core,
.main-logo {
    width: 350px;
    height: auto;
}

.core-badge {
    width: 150px;
    height: auto;
    margin-right: 8px;
}

.eu-logo {
    width: 140px;
    height: auto;
}


.logo-group {
    gap: 12px;   /* controls space between the two logos */
}

.core-logo-sm {
    /* Consolidated all small core logo sizes into one set of properties */
    height: 35px;
    width: auto;
    vertical-align: middle;
    object-fit: contain;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
}
.smishing-screenshot {
    max-width: 300px;
    height: auto;
}

.ioc-screenshot {
    max-width: 500px;
    height: auto;
}

/* Chart wrappers/images */
.chart-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background-color: rgba(128, 128, 128, 0.15);
    height: 100%;
}

.chart-canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.chart-img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.chart-clickable {
    cursor: pointer;
}

.bottom-big {
    height: clamp(1850px, 230vh, 2500px);
}


/* ===========================================================
   Responsive Adjustments
   =========================================================== */
@media (min-width:1600px) {
    .container-wide {
        max-width: 1700px;
    }
}

@media (max-width: 1600px) {

    .container,
    .news-container {
        max-width: 95%;
        margin: 1rem auto;
        padding: 1rem;
    }

    .banner-container {
        flex-direction: column;
        text-align: center;
    }

    .banner-container h2 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .highlight-text {
        font-size: 1rem;
        padding: 1.5rem;
        border-radius: 25px;
        min-width: auto;
        width: 100%;
    }

    /* .top-bar {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    } */

    .btn-custom,
    .btn-blue,
    .custom-btn {
        width: 100%;
        font-size: 1rem;
        padding: 10px;
    }

    table {
        font-size: 12px;
    }

    .content {
        width: 100%;
    }
}


/* ===========================================================
   Buttons
   =========================================================== */
.btn-custom,
.btn-blue,
.custom-btn {
    background: transparent;      /* Removed blue gradient */
    color: white;
    padding: 10px 20px;
    border: 2px solid white;      /* Added white border */
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    
    /* Layout: Full width */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; 
    box-sizing: border-box;       /* Keeps border inside the 100% width */
    
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-custom:hover,
.btn-blue:hover,
.custom-btn:hover {
    background: rgba(255, 255, 255, 0.1); /* Subtle white tint on hover */
    border-color: white;
}


.menu-btn {
    display: flex;
    justify-content: center;
    width: 100%;
}

.menu-btn a {
    display: inline-block;
    width: 90%;
}

.btn-icon {
    height: 22px;
    width: 22px;
    margin-right: 5px;
}

/* Sharing pill buttons */
.share-choices {
    gap: 1rem;
}

.btn-check {
    display: none;
}

.btn-check+.btn {
    transition: all 0.2s ease-in-out;
    border-width: 2px;
}

#shareOrg.btn-check:checked+.btn {
    background-color: #ffbf00;
    color: #fff;
    border: 4px solid #fff;
}

#shareCommunity.btn-check:checked+.btn {
    background-color: #198754;
    color: #fff;
    border: 4px solid #fff;
}

/* Keyboard focus */
.btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

/* Dashboard buttons */
.actions-stack .btn {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 0.6rem 0.9rem;
    margin-bottom: 8px;
    font-size: 0.9rem;
    
    /* This overrides the bold setting from the general button styles */
    font-weight: normal; 
    text-transform: none; /* Optional: in case a parent is forcing uppercase */
}

/* Form button alignment */
.d-flex.gap-2 button,
.d-flex.gap-2 a {
    min-width: 120px;
    text-align: center;
}

/* Full-width button inside table */
.btn-block-100 {
    display: block;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
}

/* Prevent table buttons from wrapping or expanding columns */
.table .btn {
    white-space: nowrap;
    max-width: 80%;
    box-sizing: border-box;
}



/* ===========================================================
   icon menu
   =========================================================== */

   /* 1. Define standard icon sizes using variables */
:root {
    --icon-sm: 30px;
    --icon-md: 40px;
    --icon-lg: 50px;
    --icon-logo: 80px;
}

/* 2. Base Icon Styling (Applies to all) */
.right-icons-blur img, 
[class^="icon-"] {
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

/* 3. Categorized Widths */
.icon-35, .nav-icon-small { 
    width: var(--icon-sm); 
}

.icon-45, .misp-icon { 
    width: var(--icon-md); 
}

/* Fixed the naming logic here: icon-60 and feedback now match */
.icon-60, .feedback-icon, .mattermost-icon { 
    width: var(--icon-lg); 
}

/* 4. Specific Context Overrides */
div.right-icons-blur .core-logo {
    width: var(--icon-logo);
}




/* ===========================================================
   Tables
   =========================================================== */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: #003366;
    font-size: 13px;
    border-radius: 8px;
    overflow: hidden;
    color: white;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

thead {
    background-color: #004080;
    color: #ffffff;
}

th,
td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #004080;
}

tbody tr:nth-child(even) {
    background-color: #003d66;
}

tbody tr:hover {
    background-color: #0059b3;
}

.table-scroll-wrapper {
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 10px;
    border: 1px solid #446ab3;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.3);
    scrollbar-width: thin;
    scrollbar-color: #446ab3 rgba(255, 255, 255, 0.1);
}

/* WebKit scrollbar (Chrome/Safari) */
.table-scroll-wrapper::-webkit-scrollbar {
    width: 8px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb {
    background-color: #446ab3;
    border-radius: 4px;
}

.table-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

/* Incidents Table (Consolidated) */
.incidents-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 0.5rem; /* From second definition */
    background: rgba(0, 0, 0, 0.15); /* From second definition */
    font-size: 0.75rem; /* From second definition */
    color: #e7eef6; /* From second definition */
}

.incidents-table tbody tr:hover {
    background: linear-gradient(90deg, #2853D5 0%, #0093C9 100%);
}

.incidents-table thead th {
    text-align: left;
    padding: 12px 14px; /* From second definition */
    background: rgba(255, 255, 255, 0.06); /* From second definition */
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* From second definition */
}

.incidents-table tbody td {
    padding: 10px 14px; /* From second definition */
    border-bottom: 1px solid rgba(255, 255, 255, 0.06); /* From second definition */
}

.incidents-table tbody tr:last-child td {
    border-bottom: none;
}

.incidents-table tbody tr:nth-child(even) {
    background-color: #003a77;
}

.incidents-table tbody tr:hover {
    background-color: #1d4ed8;
}

.incidents-table a {
    color: #cfe4ff; /* From second definition */
    text-decoration: none;
    font-weight: 500;
}

.incidents-table a:hover {
    color: #a9c8ff;
    text-decoration: underline;
}

.incidents-wrap {
    display: flex;
    justify-content: center;
}

/* Fixed Table Layouts */
.table.table-fixed,
.iocs-table,
.ioc-table {
    table-layout: fixed;
    width: 100%;
}

.iocs-table th:nth-child(1), .ioc-table .col-ioc { width: 20%; }
.iocs-table th:nth-child(2), .ioc-table .col-type { width: 10%; }
.iocs-table th:nth-child(3), .ioc-table .col-value { width: 70%; }
.related-table th:nth-child(3) { width: 100px; }

/* Table cell content wrapping */
.iocs-table td:nth-child(3),
.ioc-table th,
.ioc-table td {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere; /* Modern wrapping */
    max-width: 400px;
}

.table-fixed th.col-id, .table-fixed td.col-id { width: 5.0rem; padding-left: .5rem; padding-right: .5rem; overflow: hidden; }
.table-fixed th.col-date, .table-fixed td.col-date { width: 6.0rem; padding-left: .5rem; padding-right: .5rem; }
.table-fixed th.col-core, .table-fixed td.col-core { width: 5.0rem; padding-left: .5rem; padding-right: .5rem; }
.table-fixed th.col-report, .table-fixed td.col-report { width: 10rem; padding-left: .5rem; padding-right: .5rem; }


/* ===========================================================
   News Page
   =========================================================== */
.news-container {
    max-width: 70%;
}

.news-column {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
}

.news-column h5 {
    margin-bottom: 20px;
}

.feed-entry {
    background-color: #003366;
    border-left: 4px solid #0d6efd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
}

.feed-entry a {
    color: #d5d8df;
    text-decoration: none;
    font-weight: bold;
}

.feed-entry a:hover {
    color: #e0dedd;
    text-decoration: underline;
}

.feed-date {
    font-size: 0.9rem;
    color: #ccc;
}



/* ===========================================================
   Recommend Landscape on mobile
   =========================================================== */
/* Hidden by default */
#orientation-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    color: white;
    text-align: center;
    
    /* Using your background image */
    background: url("../images/cybercores-bg.png") center center / cover no-repeat fixed;
}

/* Add a dark blur over the background image to make text readable */
#orientation-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 120, 0.85); /* Your blue theme with transparency */
    backdrop-filter: blur(8px); /* Modern blur effect */
    z-index: -1;
}

.overlay-content {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

.rotate-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    color: #66b2ff; /* Your theme light blue */
    display: block;
    animation: rotateHint 2.5s infinite ease-in-out;
}

@keyframes rotateHint {
    0% { transform: rotate(0deg); }
    70% { transform: rotate(-90deg); }
    100% { transform: rotate(0deg); }
}

/* Show ONLY on mobile portrait */
@media screen and (max-width: 300px) and (orientation: portrait) {
    #orientation-overlay {
        display: block;
    }
}

/* Styling for the logo inside the rotation overlay */
.overlay-logo {
    width: 180px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    animation: logoPulse 3s infinite ease-in-out;
}

@keyframes logoPulse {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.03); opacity: 1; }
    100% { transform: scale(1); opacity: 0.9; }
}

/* Ensure the overlay content stays centered and clear */
.overlay-content h2 {
    margin-top: 10px;
    font-size: 1.8rem;
    color: #ffffff;
}

.overlay-content p {
    font-size: 1.1rem;
    opacity: 0.8;
}


/* FOR FEEDBACK FORM - TEMP! */
/* ===========================================================
   Feedback banner
   =========================================================== */

.feedback-banner-wrap {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1100;
    width: auto;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.feedback-banner {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        rgba(0, 86, 179, 0.96),
        rgba(0, 123, 255, 0.96)
    );
    color: #ffffff;
    text-decoration: none;
    font-weight: 100;
    font-size: 1rem;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 10px 30px rgba(0, 57, 120, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
    opacity: 0.98;
    animation: feedbackBounceIn 2.0s ease-out;
}

.feedback-banner i {
    font-size: 1rem;
}

.feedback-banner:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 16px 38px rgba(0, 57, 120, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.feedback-banner:focus {
    color: #ffffff;
    text-decoration: none;
    outline: none;
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.2),
        0 16px 38px rgba(0, 57, 120, 0.42);
}

@keyframes feedbackBounceIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.92);
    }
    50% {
        opacity: 1;
        transform: translateY(-6px) scale(1.03);
    }
    70% {
        transform: translateY(3px) scale(0.99);
    }
    100% {
        opacity: 0.98;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .feedback-banner-wrap {
        right: 12px;
        bottom: 14px;
        width: auto;
    }

    .feedback-banner {
        width: auto;
        justify-content: center;
        padding: 11px 18px;
        font-size: 0.95rem;
    }
}

/* ===========================================================
   PoC Complete Page
   =========================================================== */
.poc-wrap {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.poc-card {
    width: 100%;
    max-width: 720px;
    padding: 3rem 3rem 2.5rem;
    text-align: center;
    color: #ffffff;
    background: rgba(0, 32, 64, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.poc-logo {
    max-width: 200px;
    width: 60%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.poc-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.75rem;
}

.poc-title {
    font-size: 1.85rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

.poc-divider {
    width: 64px;
    height: 3px;
    margin: 1.5rem auto;
    border: 0;
    border-radius: 2px;
    background: #4da3ff;
    opacity: 1;
}

.poc-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin: 0 auto;
}

.poc-stages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.poc-stage {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-align: left;
}

.poc-stage-dot {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.poc-stage.done .poc-stage-dot {
    background: #4da3ff;
    color: #002040;
}

.poc-stage.next .poc-stage-dot {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.8);
}

.poc-stage-label {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.poc-stage-status {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.poc-stage-line {
    flex: 0 1 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 576px) {
    .poc-card {
        padding: 2rem 1.25rem;
    }

    .poc-title {
        font-size: 1.4rem;
    }

    .poc-stages {
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .poc-stage-line {
        display: none;
    }
}
