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

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

.logout-link:hover {
    opacity: 1;
}

.logout-icon i {
    font-size: 25px;
    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;
}

.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;
}

.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;
}

.d-none {
    display: none !important;
}

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

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

.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;
}

.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 {
    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);
    background: #0e1722;
    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-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;
    color: white;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 60px;
}

.top-bar .main-logo {
    width: auto;
    height: 80px;
}

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

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

.top-bar .banner-text {
    padding: 5px 15px;
    margin: 0;
    border: 1px solid white;
}

.top-bar .banner-tagline {
    font-size: 1.2rem;
}

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

.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;
    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;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px;
    }

    .logo-group,
    .right-icons-blur,
    .logged-user {
        justify-content: center;
        width: 100%;
        padding-right: 0;
    }

    .top-bar .main-logo {
        height: 35px;
    }

    .top-bar .eu-logo {
        height: 25px;
    }
}

.main-logo {
    height: 90px;
}

.eu-logo {
    height: 30px;
    margin-left: 10px;
}

.banner-img {
    height: 35px;
}

@media (max-width: 992px) {
    .banner-section {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .top-bar {
        justify-content: center;
        text-align: center;
    }

    .logo-group,
    .right-icons-blur,
    .logged-user {
        width: 100%;
        justify-content: center;
        margin: 5px 0;
        padding-right: 0;
    }

    .username {
        font-size: 0.8rem;
    }
}

/* ===========================================================
   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;
}

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

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

/* ===========================================================
   General Containers & Shadows
   =========================================================== */
.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;
}

.panel,
.incidents-card {
    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 {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.panel.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-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-box {
    background-color: #003366;
    border: 1px solid #f8f9fa;
    color: #dbe2ea;
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.info-box-link,
.info-box .info-box-link {
    color: white;
    text-decoration: underline;
}

.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;
}

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

.content {
    position: relative;
    z-index: 1;
    width: 95%;
    margin: 10px auto;
}

/* ===========================================================
   Background & Overlay
   =========================================================== */
.background-image,
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

.background-image {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: url("../images/cybercores-bg.png") center center / cover no-repeat fixed;
}

.background-overlay {
    z-index: -1;
    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: 90px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.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);
    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.40rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 1px 1px 2px #000000;
    margin: 0;
}

/* ===========================================================
   Images, Icons & Logos
   =========================================================== */
.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;
}

.core-logo-sm {
    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-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);
}

.circle-chart-container {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto;
}

.circle-chart-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #cfd7e6;
    font-weight: 700;
    font-size: 1.1rem;
}

.indicator-circle-wrap {
    flex: 1;
}

/* ===========================================================
   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%;
    }

    .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;
    color: white;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    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);
    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;
}

.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;
}

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

.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;
    font-weight: normal;
    text-transform: none;
}

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

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

.table .btn {
    white-space: nowrap;
    max-width: 80%;
    box-sizing: border-box;
}

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

:root {
    --icon-sm: 30px;
    --icon-md: 40px;
    --icon-lg: 50px;
    --icon-logo: 80px;
}

.right-icons-blur img,
[class^="icon-"] {
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

.icon-35,
.nav-icon-small {
    width: var(--icon-sm);
}

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

.icon-60,
.feedback-icon,
.mattermost-icon {
    width: var(--icon-lg);
}

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);
}

.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 {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 0.5rem;
    background: rgba(0, 0, 0, 0.15);
    font-size: 0.75rem;
    color: #e7eef6;
}

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

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

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

.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;
    text-decoration: none;
    font-weight: 500;
}

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

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

.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;
}

.iocs-table td:nth-child(3),
.ioc-table th,
.ioc-table td {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    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
   =========================================================== */
.landscape-suggestion {
    display: none;
    background-color: #003378;
    color: white;
    text-align: center;
    padding: 12px;
    border-bottom: 2px solid #66b2ff;
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.suggestion-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    padding-right: 30px;
}

.suggestion-content i {
    font-size: 1.2rem;
    color: #66b2ff;
}

.close-btn {
    background: transparent;
    border: none;
    color: #cfd7e6;
    font-size: 1.8rem;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.close-btn:hover {
    color: white;
}

@media screen and (max-width: 768px) and (orientation: portrait) {
    .landscape-suggestion {
        display: block;
    }
}

/* ===========================================================
   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;
    }
}

/* dev stage label */
.badge-full-width {
  display: block;
  width: 100%;
  text-align: center;
}

/* ==========================================
   Landing page
   ========================================== */

:root {
  --landing-bg-dark: #081426;
  --landing-panel-dark: rgba(10, 20, 40, 0.70);
  --landing-panel-soft: rgba(255, 255, 255, 0.06);
  --landing-text-main: #f3f7fb;
  --landing-text-soft: #cfd9e6;
  --landing-line-soft: rgba(255, 255, 255, 0.10);
  --landing-accent: #0093C9;
  --landing-accent-dark: #003378;
  --landing-warning: #f0b429;
}

html,
body.landing-page {
  min-height: 100%;
  margin: 0;
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
}

.landing-page-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-top-strip {
  padding: 1.25rem 1.5rem 0.5rem 1.5rem;
}

.landing-top-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.landing-top-logos img {
  display: block;
}

.landing-logo-left {
  max-height: 84px;
  width: auto;
}

.landing-logo-right {
  max-height: 46px;
  width: auto;
  opacity: 0.95;
}

.landing-hero-shell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 3rem 1rem;
}

.landing-hero-card {
  width: 100%;
  max-width: 1200px;
  background: var(--landing-panel-dark);
  border: 1px solid var(--landing-line-soft);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.landing-hero-row {
  display: flex;
  flex-wrap: wrap;
  min-height: 620px;
}

.landing-hero-visual {
  flex: 1 1 48%;
  min-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  background:
    radial-gradient(circle at top left, rgba(0, 147, 201, 0.22), transparent 45%),
    radial-gradient(circle at bottom right, rgba(0, 51, 120, 0.35), transparent 42%),
    linear-gradient(135deg, rgba(0, 51, 120, 0.35), rgba(0, 147, 201, 0.12));
  border-right: 1px solid var(--landing-line-soft);
}

.landing-hero-visual-inner {
  width: 100%;
  text-align: center;
}

.landing-hero-main-image {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  margin: 0 auto 1.5rem auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35));
}

.landing-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--landing-text-main);
  font-size: 0.95rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.landing-hero-content {
  flex: 1 1 52%;
  min-width: 320px;
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landing-eyebrow {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #8fd3ea;
  margin-bottom: 1rem;
  font-weight: 700;
}

.landing-hero-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.landing-hero-text {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--landing-text-soft);
  max-width: 660px;
  margin-bottom: 1.5rem;
}

.landing-info-panel {
  background: var(--landing-panel-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
}

.landing-info-panel-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.landing-info-panel p {
  margin: 0;
  color: var(--landing-text-soft);
  line-height: 1.65;
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.landing-feature-card {
  background: var(--landing-panel-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem;
  min-height: 120px;
}

.landing-feature-card i {
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
  color: #a7e1f3;
}

.landing-feature-card h5 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}

.landing-feature-card p {
  margin: 0;
  color: var(--landing-text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.landing-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.landing-btn-login-main {
  background: #ffffff;
  color: #0a1730;
  border: none;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 0.95rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.landing-btn-login-main:hover,
.landing-btn-login-main:focus {
  text-decoration: none;
  color: #0a1730;
  background: #eef4f9;
}

.landing-login-note {
  font-size: 0.95rem;
  color: var(--landing-text-soft);
}

.landing-warning-box {
  background: rgba(240, 180, 41, 0.10);
  color: #fff2c4;
  border: 1px solid rgba(240, 180, 41, 0.24);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  font-size: 0.96rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.landing-footer-note {
  text-align: center;
  color: #b7c6d8;
  font-size: 0.92rem;
  padding: 0 1rem 1.5rem 1rem;
}

@media (max-width: 991px) {
  .landing-hero-visual {
    border-right: none;
    border-bottom: 1px solid var(--landing-line-soft);
  }

  .landing-feature-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero-content {
    padding: 2rem 1.4rem;
  }

  .landing-hero-visual {
    padding: 2rem 1.25rem;
  }
}