/* ==========================================================
   en.css - English Universal Meeting Template
   Supplement styles specific to the universal template.
   Overrides or extends general.css / headfoot.css.
   ========================================================== */

/* ----------------------------------------------------------
   Header
   ---------------------------------------------------------- */
.topbar .top-right .top-link {
    display: none;
}
.top-info {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #fff;
    flex: 1;
    min-width: 0;
}
.top-info:hover {
    color: #fff;
    text-decoration: none;
}
.top-info img {
    height: 56px;
    max-height: 56px;
    max-width: 220px;
    object-fit: contain;
    flex-shrink: 0;
}
.meeting-name {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
}
.topxian {
    height: 3px;
    background: linear-gradient(90deg, #e63200, #e63200);
    width: 100%;
}

/* ----------------------------------------------------------
   Banner: full-width, height locked to the banner image aspect
   (1920×331) so the entire width — i.e. all the title text —
   always shows and is never side-cropped. contain keeps the whole
   image; the orange background fills any rounding gap seamlessly.
   ---------------------------------------------------------- */
.index-banner {
    width: 100%;
    overflow: hidden;
}
.banner-swiper {
    width: 100%;
    height: calc(100vw * 331 / 1920);   /* aspect-locked → full text, no crop */
}
.swiper-slide {
    background-size: contain;            /* show the whole image width; never crop the sides */
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #e63200; /* fallback / seamless letterbox */
}
.banner-default {
    background: linear-gradient(135deg, #b82800 0%, #e63200 60%, #f2793c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.banner-default-text {
    text-align: center;
    color: #fff;
    padding: 20px;
}
.banner-default-text h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}
.banner-default-text p {
    font-size: 16px;
    opacity: 0.9;
}
@media (min-width: 768px) {
    .banner-swiper {
        height: calc(100vw * 331 / 1920);   /* keep aspect-locked on desktop too (no max-height crop) */
    }
}

/* ----------------------------------------------------------
   Right sidebar panel (showrightbox)
   ---------------------------------------------------------- */
.index-row {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 30px;
}
.index-left {
    flex: 1;
    min-width: 0;
}
.index-right {
    width: 280px;
    flex-shrink: 0;
}
@media (max-width: 900px) {
    .index-row {
        flex-direction: column;
    }
    .index-right {
        width: 100%;
    }
}

/* ----------------------------------------------------------
   Important Dates panel: fully DB-driven, no inline styles
   ---------------------------------------------------------- */
.dates-item_desc p.past {
    text-decoration: line-through;
    color: rgba(255,255,255,.6);
}
.dates-item_desc p.upcoming {
    color: #fff;
    font-weight: 500;
}

/* ----------------------------------------------------------
   Footer: DB-driven contact info
   ---------------------------------------------------------- */
.footer-contact {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 1.8;
    margin-top: 6px;
}
.footer-contact a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}
.footer-contact a:hover {
    text-decoration: underline;
}

/* ----------------------------------------------------------
   home/ inner pages: form layout
   ---------------------------------------------------------- */
.inner-page {
    padding: 30px 0 50px;
}
.inner-page .page-title {
    font-size: 22px;
    font-weight: 700;
    color: #e63200;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8eef6;
}
.form-section {
    background: #fff;
    border-radius: 6px;
    padding: 24px 28px;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    margin-bottom: 20px;
}
.form-section .section-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
    font-weight: 500;
}
.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.form-col {
    flex: 1;
    min-width: 220px;
}
.form-col label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
}
.form-col input[type=text],
.form-col input[type=email],
.form-col input[type=password],
.form-col input[type=date],
.form-col select,
.form-col textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d0d9e8;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    transition: border-color .2s;
}
.form-col input:focus,
.form-col select:focus,
.form-col textarea:focus {
    border-color: #e63200;
    outline: none;
}
.form-required {
    color: #e53935;
    margin-left: 2px;
}

/* Select2 v3 — hide native select (our .form-col select overrides select2-offscreen) */
.form-col select.select2-offscreen {
    display: none !important;
}
/* Select2 v3 — neutralize .form-control copied to container by select2 */
.form-col .select2-container.form-control {
    border: none;
    padding: 0;
    height: auto;
    background: transparent;
    box-shadow: none;
}
/* Select2 v3 — match form-control appearance */
.form-col .select2-container { width: 100% !important; }
.form-col .select2-container .select2-choice {
    height: 36px;
    line-height: 34px;
    padding: 0 12px;
    border: 1px solid #d0d9e8;
    border-radius: 4px;
    background: #fff;
    background-image: none;
    color: #333;
    font-size: 14px;
    box-shadow: none;
    transition: border-color .2s;
}
.form-col .select2-container-active .select2-choice {
    border-color: #e63200;
    box-shadow: none;
}
.form-col .select2-container .select2-choice .select2-arrow {
    border-left: none;
    background: none;
    border-radius: 0 4px 4px 0;
}
.select2-drop {
    border: 1px solid #d0d9e8;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.select2-results .select2-highlighted {
    background: #e63200;
}
.select2-results .select2-result-label {
    padding: 6px 12px;
    font-size: 14px;
}
.select2-search input {
    border: 1px solid #d0d9e8 !important;
    border-radius: 4px;
    font-size: 14px;
}
.form-note {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}
.form-note.correct { color: #51ac0e !important; font-size: 14px !important; }
.form-note.error   { color: #FF2323 !important; font-size: 14px !important; }
.form-submit-bar {
    text-align: center;
    margin-top: 28px;
}
.btn-primary {
    background: #e63200;
    color: #fff;
    border: none;
    padding: 10px 36px;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s;
}
.btn-primary:hover {
    background: #b82800;
}
.btn-default {
    background: #f0f4f8;
    color: #555;
    border: 1px solid #cdd5e0;
    padding: 9px 24px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
}

/* ----------------------------------------------------------
   Abstract / paper submission page
   ---------------------------------------------------------- */
.sub-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.paper-list table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.paper-list th {
    background: #e63200;
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    font-weight: 500;
}
.paper-list td {
    padding: 9px 12px;
    border-bottom: 1px solid #edf0f5;
    vertical-align: middle;
}
.paper-list tr:hover td {
    background: #f5f8fc;
}
.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}
.status-pending   { background: #fff3cd; color: #856404; }
.status-review    { background: #cfe2ff; color: #b82800; }
.status-accepted  { background: #d1e7dd; color: #155724; }
.status-rejected  { background: #f8d7da; color: #842029; }

/* ----------------------------------------------------------
   Data table (viewabstract, hotel, programs …)
   ---------------------------------------------------------- */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 0;
}
.data-table th {
    background: #e63200;
    color: #fff;
    padding: 9px 12px;
    text-align: left;
    font-weight: 500;
    white-space: nowrap;
}
.data-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #edf0f5;
    vertical-align: middle;
}
.data-table tr:hover td {
    background: #f5f8fc;
}

/* ----------------------------------------------------------
   Form hint text (small grey note below inputs)
   ---------------------------------------------------------- */
.form-hint {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    line-height: 1.5;
}

/* ----------------------------------------------------------
   Responsive adjustments
   ---------------------------------------------------------- */
@media (max-width: 768px) {
    .form-row { flex-direction: column; gap: 0; }
    .form-col { min-width: 100%; }
    .inner-page { padding: 20px 0 30px; }
    .form-section { padding: 16px; }
}

/* ==========================================================
   Design additions
   ========================================================== */

/* ----------------------------------------------------------
   Login panel — tighten for sidebar use
   ---------------------------------------------------------- */
.login-panel { border-radius: 6px; }
.login-panel .panel-title { font-size: 17px; }
.login-panel .panel-foot  { font-size: 13px; }
.login-panel .panel-foot a { font-size: 13px; }
.forget-password a { font-size: 12px; }
.login-panel .form-control {
    font-size: 14px !important;
    height: 40px !important;
    border-radius: 4px !important;
    border: 1px solid #ddd !important;
    margin-bottom: 10px;
}
.login-panel .btn {
    height: 40px;
    font-size: 14px;
    border-radius: 4px;
}

/* ----------------------------------------------------------
   Right sidebar — My Conference card
   ---------------------------------------------------------- */
.rightPanel {
    background: #fff;
    border: 1px solid #dde5f0;
    border-radius: 6px;
    padding: 18px 20px;
    box-shadow: 0 1px 5px rgba(230,50,0,.08);
    margin-bottom: 16px;
}
.rightPanel > .title {
    font-size: 14px;
    font-weight: 700;
    color: #e63200;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e8eef6;
    letter-spacing: .01em;
}
.rightPanel > .label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #aaa;
    margin-top: 12px;
    margin-bottom: 3px;
}
.rightPanel > .value {
    font-size: 13px;
    color: #333;
    word-break: break-word;
    line-height: 1.4;
}
.rightPanel .dashedline {
    border: 0;
    border-top: 1px dashed #e0e8f4;
    margin: 10px 0;
}
.rightPanel .Jump { font-size: 13px; padding: 3px 0; }
.rightPanel .Jump a,
.rightPanel > a {
    color: #e63200;
    text-decoration: none;
    display: block;
}
.rightPanel .Jump a:hover,
.rightPanel > a:hover { text-decoration: underline; }

/* ----------------------------------------------------------
   Utilities
   ---------------------------------------------------------- */
.bluefont, a.bluefont  { color: #e63200; }
a.bluefont:hover { color: #b82800; text-decoration: underline; }

.footer-copyright {
    color: rgba(255,255,255,.65);
    font-size: 12px;
    margin-top: 8px;
}

/* ----------------------------------------------------------
   Alert banners
   ---------------------------------------------------------- */
.alert-success {
    background: #d1e7dd; border: 1px solid #badbcc;
    border-radius: 4px; padding: 12px 16px;
    margin-bottom: 16px; font-size: 14px; color: #155724;
}
.alert-warning {
    background: #fff3cd; border: 1px solid #ffe69c;
    border-radius: 4px; padding: 12px 16px;
    margin-bottom: 16px; font-size: 14px; color: #664d03;
}
.alert-error {
    background: #f8d7da; border: 1px solid #f5c2c7;
    border-radius: 4px; padding: 12px 16px;
    margin-bottom: 16px; font-size: 14px; color: #842029;
}

/* ----------------------------------------------------------
   Inline flash (AJAX feedback)
   ---------------------------------------------------------- */
.flash-msg {
    display: none;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 12px;
}
.flash-msg.flash-success { background:#d1e7dd; border:1px solid #badbcc; color:#155724; }
.flash-msg.flash-error   { background:#f8d7da; border:1px solid #f5c2c7; color:#842029; }

/* (form-note.correct/error rules are near .form-note above) */

/* ----------------------------------------------------------
   Button states
   ---------------------------------------------------------- */
.btn-primary:disabled,
.btn-primary[disabled] { opacity: .7; cursor: wait; }

/* ----------------------------------------------------------
   Scrollable tables on narrow screens
   ---------------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ----------------------------------------------------------
   Mobile nav backdrop
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
    body.c-open::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.35);
        z-index: 98;
    }
}

/* ----------------------------------------------------------
   Mobile fine-tuning
   ---------------------------------------------------------- */
@media (max-width: 768px) {
    .inner-page .page-title { font-size: 18px; }
    .form-section { padding: 14px 12px; }
    .login-panel  { padding: 18px 14px 14px; }
    .rightPanel   { padding: 14px 14px; }
    .banner-swiper { height: calc(100vw * 331 / 1920); }   /* aspect-locked on mobile too */
    .wrapper { padding: 14px 0 28px; }
    .btn-primary { padding: 10px 28px; }
    .form-submit-bar { margin-top: 20px; }
    .data-table, .paper-list table { min-width: 480px; }
}
@media (max-width: 480px) {
    .inner-page .page-title { font-size: 16px; }
    .navbar-nav > li > a { font-size: 15px; }
}

/* ==========================================================
   Analytica 2026 — visual polish
   ========================================================== */

body { color: #363636; }
.wrapper { padding: 30px 0 50px; }

/* Comfortable reading width on mid-size screens */
@media (max-width: 1399px) {
    .container { max-width: 1200px; }
}

/* Vertical rhythm */
.section { margin-bottom: 46px; }
.section:last-child { margin-bottom: 8px; }

/* Section heading: title left, "More" link pushed right */
.section-title {
    display: flex;
    align-items: center;
    font-size: 27px;
    margin-bottom: 22px;
}
.section-more {
    margin-left: auto;
    font-family: 'Manrope-Regular', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #e63200;
    text-transform: none;
    white-space: nowrap;
}
.section-more:hover { color: #b82800; }
.section-more .iconfont { font-size: 13px; margin-left: 3px; }

/* Welcome / article body copy */
.wel-text { font-size: 15.5px; line-height: 1.85; color: #444; }
.wel-text p { margin: 0 0 15px; }
.wel-text p:last-child { margin-bottom: 0; }
.wel-text a { color: #e63200; text-decoration: underline; }
.wel-text a:hover { color: #b82800; }
.wel-text img { max-width: 100%; height: auto; border-radius: 6px; }

/* News & Updates list */
.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 13px 6px 13px 4px;
    border-bottom: 1px dashed #e7e7e7;
    transition: background .15s;
}
.news-list li:last-child { border-bottom: 0; }
.news-list li:hover { background: #fff6f2; }
.news-item_index {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    color: #e63200;
    font-weight: 700;
    font-size: 15px;
}
.news-item_index .line {
    display: inline-block;
    width: 20px; height: 2px;
    background: #e63200; opacity: .45;
}
.news-list li .flex_bd { font-size: 15px; line-height: 1.7; color: #444; }
.news-list a { color: #e63200; text-decoration: none; }
.news-list a:hover { color: #b82800; text-decoration: underline; }

/* Banner separation from header */
.index-banner { box-shadow: 0 3px 12px rgba(0,0,0,.10); }

/* Sidebar cards — unified, softly elevated */
.login-panel {
    background: #f7f7f7;
    border: 1px solid #ececec;
    box-shadow: 0 1px 5px rgba(230,50,0,.06);
}
.login-panel .panel-foot a { font-weight: 700; }
.login-panel .btn { transition: background .2s; }
.login-panel .btn:hover { background: #b82800; }
.dates-panel {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(230,50,0,.18);
}

/* Polish — small screens */
@media (max-width: 767px) {
    .section { margin-bottom: 32px; }
    .section-title { font-size: 22px; }
    .section-title::before { width: 20px; height: 20px; line-height: 20px; font-size: 13px; }
    .wrapper { padding: 20px 0 36px; }
}
