﻿/* ============================================================
   DISCOVER LOCKHART – THEME UPDATE (Nov 2025)
   ------------------------------------------------------------
   Palette:
   - Primary Navy: #1F3D58
   - Accent Red:   #C14D3D
   - Gold Highlight: #E5B700
   - Cream BG:     #F9F7F3
   - Text Dark:    #0F2640
   - Muted Text:   #5A5A5A
   ============================================================ */

/* ===== Base ===== */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    background: #F9F7F3;
    color: #0F2640;
    font-family: 'Inter', 'Poppins', system-ui, sans-serif;
    line-height: 1.6;
}

    /* Disable text caret & selection on the entire page */
    body, body * {
        caret-color: transparent; /* hides text cursor */
        user-select: none; /* prevents highlight */
    }

/* Re-enable selection and caret where appropriate */
input, textarea, select, .search-input {
    caret-color: auto !important;
    user-select: text !important;
}

a {
    text-decoration: none;
    color: #1F3D58;
    transition: color .2s ease;
}

    a:hover {
        text-decoration: underline;
        color: #C14D3D;
    }

img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none; /* strongest protection */
}

.layout-root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== Navbar ===== */
.dlx-navbar {
    background: #1F3D58;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: #fff;
}

.brand-top {
    font-weight: 800;
    font-size: .9rem;
    letter-spacing: .6px;
}

.brand-bottom {
    font-weight: 700;
    font-size: .82rem;
    opacity: .85;
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    color: #fff;
    opacity: .9;
    font-weight: 600;
    transition: opacity .2s ease;
}

    .nav-link:hover {
        opacity: 1;
        color: #E5B700;
    }

.nav-btn {
    border-radius: 8px;
    padding: .45rem .9rem;
    font-weight: 600;
    transition: all .2s ease;
}

    .nav-btn.primary {
        background: #E5B700;
        color: #1F3D58;
    }

        .nav-btn.primary:hover {
            transform: scale(1.05);
        }

    .nav-btn.outline {
        border: 1.5px solid #fff;
        color: #fff;
    }

        .nav-btn.outline:hover {
            background: rgba(255, 255, 255, .1);
        }

/* ===== Hero ===== */

.hero,
.hero * {
    cursor: default !important;
}

.hero {
    position: relative;
    background: linear-gradient(rgba(31,61,88,0.7), rgba(31,61,88,0.7)), url('/images/lockharttx.jpeg') center 35% / cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 250px 0 100px;
    overflow: hidden;
}

    .hero.slim {
        padding: 100px 0 80px;
    }

    .hero h1 {
        font-size: 3.25rem;
        font-weight: 800;
        margin-bottom: 12px;
        text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }

    .hero h1,
    .hero h2,
    .hero p {
        cursor: default !important;
        user-select: none;
    }

    .hero p.sub {
        font-size: 1.25rem;
        opacity: .95;
        margin: 0 0 20px;
        text-shadow: 0 2px 6px rgba(0,0,0,0.3);
    }

.hero-inner p{
    color: #fff;
}

.hero:focus,
.hero *:focus {
    outline: none !important;
    box-shadow: none !important;
}


/* Animation */
.fade-in {
    animation: fadein .8s ease forwards;
}

.fade-in-delay {
    animation: fadein 1s .2s ease forwards;
}

.fade-in-delay2 {
    animation: fadein 1s .4s ease forwards;
}

@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ===== Search ===== */
.search-wrap {
    position: relative;
    display: inline-block;
    width: min(560px, 90%);
    margin-top: 8px;
}

.search-input {
    width: 100%;
    height: 52px;
    border-radius: 999px;
    border: none;
    padding: 0 52px 0 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
    outline: none;
    font-size: 1rem;
    transition: box-shadow .2s ease;
}

    .search-input:focus {
        box-shadow: 0 0 0 3px rgba(193,77,61,0.35);
    }

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #C14D3D;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.bold-icon i {
    font-weight: 900;
    -webkit-text-stroke: 1px currentColor; /* makes it appear bold */
}

/* ===== Sections ===== */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #1F3D58;
}

.mt-lg {
    margin-top: 40px;
}

/* ===== Cards ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.event-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
    transition: all .25s ease;
    position: relative;
}

    .event-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
    }

.event-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
    background-color: #f0f0f0; /* soft gray backdrop for empty space */
    padding: 10px; /* gives breathing room for odd-shaped logos */
    border-radius: 6px; /* optional, but matches your card style */
}

    .event-img.placeholder {
        height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--event-placeholder-gradient, linear-gradient(135deg,#C14D3D,#E5B700));
        border-radius: 16px;
        color: rgba(255,255,255,0.95);
        font-size: 20px;
        font-weight: 700;
        letter-spacing: .5px;
    }

.card-body {
    padding: 16px;
}

    .card-body .title {
        font-weight: 800;
        color: #0F2640;
        margin-bottom: 6px;
        font-size: 1rem;
    }

    .card-body .meta {
        font-size: .92rem;
        color: #5A5A5A;
    }

.date-pill {
    position: absolute;
    left: 14px;
    top: 14px;
    background: #C14D3D;
    color: #fff;
    border-radius: 8px;
    padding: 4px 8px;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .3px;
    box-shadow: 0 6px 14px rgba(193,77,61,.35);
}

/* ===== Buttons ===== */
.btn-outline {
    border: 2px solid #1F3D58;
    color: #1F3D58;
    padding: .6rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    background: #fff;
    transition: all .15s ease;
}

    .btn-outline:hover {
        background: #1F3D58;
        color: #fff;
    }

.btn-primary {
    background: #E5B700;
    color: #1F3D58;
    border: none;
    padding: .65rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform .15s ease;
}

    .btn-primary:hover {
        transform: translateY(-1px);
        background: #d4a500;
    }

.btn-secondary {
    background: #C14D3D;
    color: #fff;
    border: none;
    padding: .65rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
}

/* ===== Empty ===== */
.empty {
    color: #94A3B8;
    text-align: center;
    padding: 40px 0;
}

/* ===== Footer ===== */
.dlx-footer {
    background: #1F3D58;
    color: #fff;
    text-align: center;
    padding: 28px 0;
    font-size: .95rem;
    margin-top: 60px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    align-items: center;
}

.dlx-footer a {
    color: #E5B700;
    font-weight: 600;
    transition: color .2s ease;
}

    .dlx-footer a:hover {
        color: #fff;
    }
/* ============================================================
   EVENT DETAILS PAGE – Discover Lockhart Theme (Responsive)
   ============================================================ */

/* ===== Container & Layout ===== */
.section.details {
    background: #F9F7F3;
    padding: 80px 0;
}

.details-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 10px;
    flex-wrap: wrap; /* ensures mobile stacking */
}

.badge-date {
    flex-shrink: 0;
    background: linear-gradient(135deg, #C14D3D, #E5B700);
    color: #fff;
    border-radius: 8px;
    text-align: center;
    padding: 6px 10px;
    width: 58px;
    box-shadow: 0 4px 10px rgba(193,77,61,0.25);
}

    .badge-date .m {
        display: block;
        font-size: .8rem;
        font-weight: 800;
        letter-spacing: .4px;
    }

    .badge-date .d {
        display: block;
        font-size: 1.2rem;
        font-weight: 900;
        line-height: 1;
        margin-top: -2px;
    }

.details-title {
    flex: 1;
}

    .details-title h1 {
        margin: 0;
        font-size: 1.8rem;
        font-weight: 800;
        color: #1F3D58;
        line-height: 1.25;
    }

    .details-title .sub {
        font-size: 1rem;
        color: #5A5A5A;
        margin-top: 2px;
    }

/* ===== Body Layout ===== */
.details-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.left {
    display: flex;
    flex-direction: column;
}

.right {
    display: flex;
    flex-direction: column;
}

/* ===== Image Section ===== */
.details-img {
    width: 100%;
    max-height: 380px;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    background-color: #f5f5f5;
    padding: 20px; /* prevents crowding */
}

    .details-img.placeholder {
        height: 380px;
        width: 100%;
        border-radius: 16px;
        background: var(--event-placeholder-gradient, linear-gradient(135deg,#C14D3D,#E5B700));
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,0.95);
        text-align: center;
        padding: 20px;
        position: relative;
        overflow: hidden;
    }

        /* Soft vignette for a hero-image effect */
        .details-img.placeholder::after {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at center, rgba(0,0,0,0.15), rgba(0,0,0,0.4));
            pointer-events: none;
        }

        /* Hero icon/text styling */
        .details-img.placeholder .placeholder-inner i {
            font-size: 64px;
            opacity: 0.9;
        }

        .details-img.placeholder .placeholder-inner span {
            font-size: 20px;
            font-weight: 600;
            margin-top: 10px;
            text-shadow: 0 2px 6px rgba(0,0,0,0.4);
        }

.placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    text-align: center;
}

    .placeholder-inner i {
        font-size: 42px;
        opacity: .9;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }

    .placeholder-inner span {
        font-size: 1rem;
        letter-spacing: .8px;
    }

/* ===== About Section ===== */
h3.mt {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1F3D58;
    margin-top: 1.75rem;
    margin-bottom: .75rem;
}

p {
    color: #0F2640;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ===== Info Card (Right Panel) ===== */
.info-card {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

    .info-card div {
        margin-bottom: 6px;
        color: #0F2640;
        font-size: .97rem;
    }

    .info-card strong {
        color: #1F3D58;
        font-weight: 700;
    }

    .info-card .btn-row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 14px;
    }

.btn-row a {
    text-decoration: none;
}

/* ===== Buttons ===== */
.btn-primary {
    background: #E5B700;
    color: #1F3D58;
    border: none;
    padding: .6rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform .15s ease, background .15s ease;
    text-align: center;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        background: #d4a500;
    }

.btn-secondary {
    background: #C14D3D;
    color: #fff;
    border: none;
    padding: .6rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform .15s ease, background .15s ease;
    text-align: center;
}

    .btn-secondary:hover {
        transform: translateY(-2px);
        background: #a53d31;
    }

/* ===== Delete Button ===== */
.btn-outline.danger {
    border: 2px solid #C14D3D;
    color: #C14D3D;
    padding: .6rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    background: #fff;
    transition: all .2s ease;
    width: fit-content;
}

    .btn-outline.danger:hover {
        background: #C14D3D;
        color: #fff;
    }

/* ===== Empty State ===== */
.empty {
    color: #94A3B8;
    text-align: center;
    padding: 60px 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===== Dialog Overlay Alignment ===== */
.e-dialog .confirm-delete {
    text-align: center;
    padding: 1.5rem 1rem;
}

    .e-dialog .confirm-delete p {
        color: #C14D3D;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .e-dialog .confirm-delete .btn-row {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }

/* ===== Animation ===== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* --- Tablet (≤1024px) --- */
@media (max-width: 1024px) {
    .details-body {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .info-card {
        position: static;
        order: 3;
        margin-top: 20px;
    }

    .details-title h1 {
        font-size: 1.75rem;
    }

    .details-img,
    .details-img.placeholder {
        height: 320px;
    }
}

/* ============================================================
   MOBILE LAYOUT REFINEMENT (≤768px)
   ============================================================ */
@media (max-width: 768px) {

    /* Section */
    .section.details {
        background: #F9F7F3;
        padding: 60px 0;
    }

    /* Header */
    .details-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        padding: 0 12px;
    }

    .badge-date {
        width: 54px;
        padding: 5px 8px;
    }

    .details-title h1 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .details-title .sub {
        font-size: .9rem;
    }

    /* Image */
    .details-img,
    .details-img.placeholder {
        height: 240px;
        border-radius: 12px;
        border: 1px solid #E5E7EB;
        box-shadow: 0 4px 14px rgba(0,0,0,0.05);
        margin-bottom: 8px;
    }

    .placeholder-inner {
        gap: 5px;
        font-size: .9rem;
    }

    .btn-outline.danger {
        width: 92%;
        border: 2px solid #C14D3D;
        color: #C14D3D;
        border-radius: 999px;
        padding: .75rem 1rem;
        font-weight: 700;
        text-align: center;
        background: #fff;
        transition: all .25s ease;
    }

        .btn-outline.danger:hover {
            background: #C14D3D;
            color: #fff;
        }

    /* Info Card */
    .info-card {
        background: #fff;
        border: 1px solid #E5E7EB;
        border-radius: 16px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.06);
        padding: 22px;
        margin-top: 12px;
    }

        .info-card div {
            font-size: .96rem;
            color: #0F2640;
            margin-bottom: 8px;
        }

        .info-card strong {
            color: #1F3D58;
            font-weight: 700;
        }

        .info-card .btn-row {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 20px;
        }

    .btn-primary,
    .btn-secondary {
        display: block;
        width: 100%;
        border-radius: 999px;
        padding: .8rem 1rem;
        font-weight: 700;
        text-align: center;
        transition: all .2s ease;
    }

    .btn-primary {
        background: #E5B700;
        color: #1F3D58;
    }

        .btn-primary:hover {
            background: #d4a500;
        }

    .btn-secondary {
        background: #C14D3D;
        color: #fff;
    }

        .btn-secondary:hover {
            background: #a53d31;
        }

    /* About Section */
    h3.mt {
        font-size: 1.1rem;
        font-weight: 800;
        color: #1F3D58;
        margin-top: 1.5rem;
        margin-bottom: .6rem;
    }

    p {
        font-size: .95rem;
        color: #0F2640;
        line-height: 1.65;
        margin-bottom: 1rem;
    }

    /* Empty state */
    .empty {
        color: #94A3B8;
        text-align: center;
        padding: 2rem 0;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .dlx-footer {
        font-size: .9rem;
        padding: 24px 0;
    }

    .footer-inner {
        text-align: center;
        gap: .3rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .details-title h1 {
        font-size: 1.2rem;
    }

    .badge-date {
        width: 52px;
        padding: 5px 8px;
    }

    .details-img,
    .details-img.placeholder {
        height: 200px;
    }

    .info-card {
        padding: 18px;
    }

    .btn-primary,
    .btn-secondary {
        font-size: .9rem;
    }
}

.success-banner {
    background: #d1f0d1;
    color: #0a4f0a;
    padding: 14px 20px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 900px;
    font-weight: 600;
    text-align: center;
    border: 1px solid #9cd89c;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
}

    .modal-buttons button {
        flex: 1 1 0;
    }

@media (max-width: 480px) {
    .modal-buttons {
        flex-direction: column;
        width: 100%;
    }

        .modal-buttons button {
            width: 100%;
        }
}

/* === Sort Buttons Row === */
.sort-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.sort-btn {
    background: #E5B700;
    color: #fff;
    border: none;
    padding: .45rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    font-size: .9rem;
    white-space: nowrap;
    transition: background .2s ease;
}

    .sort-btn:hover {
        background: #1F3D58;
    }

    .sort-btn.clear {
        background: #ddd;
        color: #1F3D58;
    }

        .sort-btn.clear:hover {
            background: #bbb;
        }

/* === Date Range Inputs === */
.date-range {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Small, Clean Date Inputs */
.date-input {
    width: 225px; /* <<< MAKE THEM SMALL */
    padding: 6px 10px;
    font-size: .9rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
}

/* Apply Button */
.apply-btn {
    padding: 6px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .9rem;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    .sort-buttons {
        gap: 8px;
    }

    .sort-btn {
        padding: .4rem .9rem;
        font-size: .85rem;
    }

    .date-range {
        flex-direction: column;
        gap: 8px;
    }

    .date-input {
        width: 85%;
    }

    .apply-btn {
        width: 85%;
    }
}

/* ===============================
   ENTERPRISE CONTACT PAGE
   =============================== */

.contact-enterprise {
    display: flex;
    justify-content: center;
}

.contact-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 36px 40px;
    width: 100%;
    max-width: 720px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border: 1px solid #E5E7EB;
}

.contact-header {
    text-align: center;
    margin-bottom: 28px;
}

    .contact-header h2 {
        font-size: 1.6rem;
        font-weight: 800;
        color: #1F3D58;
        margin-bottom: 6px;
    }

    .contact-header p {
        color: #5A5A5A;
        font-size: 1rem;
    }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

    .form-group label {
        font-weight: 700;
        font-size: .9rem;
        color: #1F3D58;
        margin-bottom: 6px;
    }

    .form-group .optional {
        font-weight: 500;
        font-size: .8rem;
        color: #94A3B8;
    }

.form-control {
    border-radius: 10px;
    padding: .7rem .9rem;
    border: 1px solid #D1D5DB;
    font-size: .95rem;
    transition: border .2s ease, box-shadow .2s ease;
}

    .form-control:focus {
        outline: none;
        border-color: #C14D3D;
        box-shadow: 0 0 0 3px rgba(193,77,61,.25);
    }

.textarea {
    min-height: 120px;
    resize: vertical;
}

.form-actions {
    margin-top: 22px;
    text-align: center;
}

/* Success State */
.success-message {
    text-align: center;
    padding: 30px 10px;
}

.success-icon {
    font-size: 48px;
    color: #22C55E;
    margin-bottom: 12px;
}

.success-message h3 {
    font-weight: 800;
    margin-bottom: 6px;
}

.success-message p {
    color: #5A5A5A;
}

/* Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 28px 22px;
    }
}

/* ===============================
   DISCOVER LOCKHART – LOGIN PAGE
   =============================== */

.login-enterprise {
    display: flex;
    justify-content: center;
}

.login-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 34px 38px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border: 1px solid #E5E7EB;
}

.login-header {
    text-align: center;
    margin-bottom: 22px;
}

    .login-header h2 {
        font-size: 1.6rem;
        font-weight: 800;
        color: #1F3D58;
        margin-bottom: 6px;
    }

    .login-header p {
        color: #5A5A5A;
        font-size: 1rem;
        margin: 0;
    }

.login-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

    .login-form-group label {
        font-weight: 700;
        font-size: .9rem;
        color: #1F3D58;
        margin-bottom: 6px;
    }

.login-actions {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5A5A5A;
    font-size: .95rem;
}

    .login-remember input {
        width: 16px;
        height: 16px;
    }

.login-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    font-size: .95rem;
}

    .login-links a {
        color: #1F3D58;
        font-weight: 600;
        text-decoration: none;
        border-bottom: 1px solid rgba(31,61,88,0.25);
    }

        .login-links a:hover {
            color: #C14D3D;
            border-bottom-color: rgba(193,77,61,0.45);
        }

.login-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    color: #5A5A5A;
    font-size: .9rem;
}

    .login-divider::before,
    .login-divider::after {
        content: "";
        height: 1px;
        flex: 1;
        background: #E5E7EB;
    }

.validation-summary {
    background: #fff4f2;
    border: 1px solid rgba(193,77,61,0.35);
    color: #7a241c;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 600;
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .login-card {
        padding: 28px 22px;
    }

    .login-links {
        flex-direction: column;
        align-items: center;
    }
}

/* ===============================
   DISCOVER LOCKHART – PORTAL LAYOUT
   =============================== */

.portal-shell {
    min-height: 100vh;
    background: #F9F7F3;
}

.portal-topbar {
    background: #1F3D58;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.portal-topbar-inner {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.portal-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: #fff;
}

    .portal-brand .top {
        font-weight: 900;
        font-size: .9rem;
        letter-spacing: .6px;
    }

    .portal-brand .bottom {
        font-weight: 700;
        font-size: .82rem;
        opacity: .85;
    }

.portal-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    opacity: .95;
}

.portal-pill {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .9rem;
}

.portal-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 18px;
    padding: 18px 0 26px;
}

.portal-sidebar {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    padding: 12px;
    position: sticky;
    top: 84px; /* below topbar */
    height: calc(100vh - 100px);
    overflow: auto;
}

.portal-side-title {
    font-weight: 900;
    color: #1F3D58;
    font-size: .9rem;
    letter-spacing: .4px;
    margin: 6px 8px 10px;
    text-transform: uppercase;
}

.portal-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.portal-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: #0F2640;
    font-weight: 800;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease, color .15s ease;
}

    .portal-link i {
        color: #1F3D58;
        font-size: 1.05rem;
    }

    .portal-link:hover {
        background: rgba(31,61,88,0.06);
        transform: translateY(-1px);
        color: #1F3D58;
    }

    .portal-link.active {
        background: rgba(229,183,0,0.18);
        border: 1px solid rgba(229,183,0,0.35);
        color: #1F3D58;
    }

        .portal-link.active i {
            color: #C14D3D;
        }

.portal-content {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    padding: 22px;
}

    .portal-content h1 {
        margin-top: 0;
        color: #1F3D58;
        font-weight: 900;
    }

.portal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.10);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}

    .portal-icon-btn:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,0.16);
    }

/* Mobile drawer */
.portal-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 38, 64, 0.45);
    z-index: 1400;
}

.portal-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 86%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 1500;
    box-shadow: 0 20px 55px rgba(0,0,0,0.18);
    padding: 14px;
}

.portal-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.portal-drawer-close {
    border: 1px solid #E5E7EB;
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 800;
    color: #1F3D58;
}

/* Responsive */
@media (max-width: 992px) {
    .portal-layout {
        grid-template-columns: 1fr;
    }

    .portal-sidebar {
        display: none;
    }

    .portal-content {
        padding: 18px;
    }
}

/* ============================================================
   DLX PORTAL THEME (Admin)
   ============================================================ */

.portal-shell {
    background: #F9F7F3;
    color: #0F2640;
}

.page-title {
    font-weight: 800;
    color: #1F3D58;
    margin: 10px 0 18px;
}

/* Card */
.portal-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    overflow: hidden;
}

.portal-card-header {
    background: #1F3D58;
    color: #fff;
    padding: 14px 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .portal-card-header .sub {
        opacity: .85;
        font-weight: 600;
        font-size: .85rem;
    }

.portal-card-body {
    padding: 16px;
}

/* Table tweaks */
.portal-table thead {
    color: #5A5A5A;
    font-size: .85rem;
}

.portal-table td, .portal-table th {
    padding: 10px 12px;
    vertical-align: middle;
}

/* Buttons */
.portal-btn-primary {
    background: #E5B700;
    color: #1F3D58;
    border: none;
    padding: .65rem 1.2rem;
    border-radius: 999px;
    font-weight: 800;
}

    .portal-btn-primary:hover {
        background: #d4a500;
    }

.portal-btn-outline {
    border: 2px solid #1F3D58;
    background: #fff;
    color: #1F3D58;
    padding: .65rem 1.2rem;
    border-radius: 999px;
    font-weight: 800;
}

    .portal-btn-outline:hover {
        background: #1F3D58;
        color: #fff;
    }

/* KPI cards */
.stat-card {
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.stat-title {
    font-weight: 800;
    margin: 0;
    color: #1F3D58;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 900;
    margin: 2px 0 0;
    color: #0F2640;
}

/* ===============================
   PORTAL LAYOUT (TOP NAV)
   =============================== */

.portal-max {
    width: min(1400px, calc(100% - 32px));
    margin: 0 auto;
}

.portal-topbar {
    background: #1F3D58;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.portal-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}

.portal-topnav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-toplink {
    color: #fff;
    opacity: .9;
    font-weight: 700;
    font-size: .95rem;
    padding: .45rem .75rem;
    border-radius: 10px;
    transition: all .15s ease;
}

    .portal-toplink:hover {
        opacity: 1;
        color: #E5B700;
        background: rgba(255,255,255,.08);
        text-decoration: none;
    }

    .portal-toplink.active {
        opacity: 1;
        background: rgba(229,183,0,.18);
        color: #E5B700;
    }

.portal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.06);
    color: #fff;
    display: grid;
    place-items: center;
    transition: all .15s ease;
}

    .portal-icon-btn:hover {
        background: rgba(255,255,255,.12);
        transform: translateY(-1px);
    }

.portal-main {
    background: #F9F7F3;
    padding: 22px 0 60px;
}

.portal-content-wrap {
    /* gives your dashboard breathing room and matches "card canvas" feel */
}

/* Optional: tighten the dashboard cards a bit on very wide screens */
@media (min-width: 1400px) {
    .portal-content-wrap {
        padding-left: 6px;
        padding-right: 6px;
    }
}

/* ===========================
   Portal Events - Mobile Cards
   =========================== */

/* Mobile event card: image across top */
.dlx-event-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.dlx-event-img-top {
    width: 100%;
    height: 160px;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #E5E7EB;
}

    /* Default for most images (photos): fill nicely */
    .dlx-event-img-top img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transform-origin: center center;
    }

        /* If you want to "scale down" like 0.5, you MUST use contain */
        .dlx-event-img-top img.is-contained {
            object-fit: contain;
            transform: scale(0.75);
        }

.dlx-event-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,#C14D3D,#E5B700);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 28px;
}

.dlx-event-body {
    padding: 14px 14px 12px 14px;
}

.dlx-event-title {
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.2;
    color: #0F2D3A;
    margin-bottom: 8px;
}

.dlx-event-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.dlx-event-meta {
    color: #4B5563;
    font-weight: 600;
    font-size: .86rem;
    margin-top: 6px;
}

.dlx-event-desc {
    margin-top: 10px;
    color: #374151;
    font-size: .9rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dlx-event-actions {
    display: flex;
    gap: 0.75rem;
    /*margin-top: 12px;*/
}

    .dlx-event-actions .btn {
        flex: 1;
    }

/* ===========================
   Portal Events - Grid helpers
   =========================== */

.dlx-grid-img {
    width: 76px;
    height: 76px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    background: #f5f5f5;
    display: flex;
    place-items: center;
    margin: 0 auto;
}

    .dlx-grid-img.has-image {
        width: 150px;
        height: 64px;
        border-radius: 10px;
    }

        /* base for any real image */
        .dlx-grid-img.has-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            pointer-events: none;
            transform-origin: center center;
        }

        /* square-ish or tall images: gentle */
        .dlx-grid-img.has-image.is-square img {
            transform: scale(0.90);            
        }

        /* wide logos: scale out more */
        .dlx-grid-img.has-image.is-wide img {
            transform: scale(0.90);
        }

.dlx-grid-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,#C14D3D,#E5B700);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
}

.dlx-grid-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Full-bleed image inside event thumbnail */
.evt-thumb.has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* scale image out slightly */
    transform: scale(1.15);
    transform-origin: center center;

    /* smooth visual quality */
    transition: transform 0.25s ease, filter 0.25s ease;
}

/* Optional subtle polish on hover (desktop only) */
@media (hover: hover) {
    .evt-thumb.has-image:hover img {
        transform: scale(1.22);
        filter: contrast(1.05) saturate(1.05);
    }
}

.dlx-edit-img {
    width: 100%;
    max-width: 420px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
}

    .dlx-edit-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.dlx-edit-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #9CA3AF;
}

/* --- Edit Event mobile layout improvements --- */

.dlx-edit-upload {
    display: grid;
    gap: 12px;
}

.dlx-edit-actions {
    display: grid;
    gap: 10px;
}

    .dlx-edit-actions .btn {
        width: 100%;
    }

/* Make Syncfusion inputs fill width consistently */
.e-control,
.e-input-group,
.e-dropdownlist,
.e-datetimepicker,
.e-textbox,
.e-textarea {
    width: 100% !important;
}

/* Desktop: return to horizontal button layout */
@media (min-width: 768px) {
    .dlx-edit-upload {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .dlx-edit-actions {
        display: flex;
        gap: 10px;
        justify-content: flex-start;
    }

        .dlx-edit-actions .btn {
            width: auto;
            min-width: 180px;
        }
}

.form-check-label code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.85em;
}

/* Force the DateTimePicker popups to behave */
#StartDtp_popup,
#EndDtp_popup {
    width: min(245px, calc(100vw - 24px)) !important; /* stays within screen */
    max-width: calc(100vw - 24px) !important;
}

/* Keep time list from going full-screen tall */
#StartDtp_timepopup,
#EndDtp_timepopup {
    width: min(245px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: 320px !important;
    overflow: auto !important;
}

/* Make Title behave like a wrapped textbox */
.dlx-title-area textarea.e-textarea {
    resize: vertical; /* allow drag taller */
    min-height: 48px;
    line-height: 1.25rem;
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: pre-wrap; /* wrap */
    overflow-wrap: anywhere; /* long strings/URLs */
}

.dlx-title-area textarea.e-textarea {
    resize: none;
}
