/* GENEL TASARIM */
body {
    font-family: 'Poppins', "Helvetica Neue", Arial, sans-serif;
    background-color: #f8fbfd;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #2E7D32;
    transition: all 0.2s ease;
}

a:hover {
    color: #1B5E20;
}

.rounded-custom {
    border-radius: 16px !important;
}

.shadow-soft {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

/* JUMBOTRON / BANNER */
.jumbotron-custom {
    /* Arka plan resmi inline style olarak PHP'den gelecek, burası varsayılan */
    background-color: #333;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 650px;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

/* Banner Overlay Gradient */
.jumbotron-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.jumbotron-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* ÜST BAR */
.top-overlay-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.95) 0%, rgba(46, 125, 50, 0.9) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s;
    max-width: 150px;
    max-height: 45px;
    height: auto;
    opacity: 0.95;
}

.header-logo:hover {
    transform: scale(1.02);
    opacity: 1;
}

/* LOGIN BUTONU */
.btn-login-custom {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-login-custom:hover {
    background-color: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.jumbotron-content {
    margin-top: 80px;
    max-width: 1100px;
    padding: 0 15px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* TYPOGRAPHY */
.hero-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    color: #81c784;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-date {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: #fff;
    background: transparent;
    border: none;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 1);
    margin-top: 10px;
}

.hero-date i {
    margin-right: 8px;
    color: #4CAF50;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* COUNTDOWN */
#countdown-box {
    margin-top: 50px;
    background: rgba(46, 125, 50, 0.3);
    backdrop-filter: blur(8px);
    padding: 25px 30px;
    border-radius: 25px;
    border: 1px solid rgba(165, 214, 167, 0.3);
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: auto;
    max-width: 100%;
}

#countdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: clamp(15px, 4vw, 40px);
    justify-content: center;
    flex-wrap: wrap;
}

#countdown li {
    text-align: center;
    color: #fff;
}

#countdown span {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    display: block;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#countdown .label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-top: 5px;
    font-weight: 300;
}

@media (max-width: 991px) {
    .top-overlay-bar {
        position: relative;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
        background: rgba(0, 0, 0, 0.6);
    }

    .header-logo {
        max-width: 250px;
    }

    .jumbotron-content {
        margin-top: 30px;
    }

    /* The hero is `display:flex` with the default row direction. Once
       .top-overlay-bar loses `position:absolute` here it becomes a flex item
       and sits *beside* .jumbotron-content, squeezing the hero text into a
       narrow column and pushing the page into horizontal overflow. Stacking
       the hero is the fix. */
    .jumbotron-custom {
        flex-direction: column;
        justify-content: flex-start;
        min-height: 0;
        padding-bottom: 45px;
    }
    .top-overlay-bar { width: 100%; }
    .jumbotron-content { width: 100%; }
}

/* SIDEBAR MENÜ */
.sidemenu-container {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #fff;
}

.sidemenu {
    padding: 0;
    list-style: none;
    margin: 0;
}

.sidemenu li {
    border-bottom: 1px solid #f5f5f5;
}

.sidemenu li:last-child {
    border-bottom: none;
}

.sidemenu li a {
    display: block;
    padding: 14px 20px;
    color: #444;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sidemenu li a:hover {
    background: #fdfdfd;
    color: #2E7D32;
    padding-left: 25px;
    font-weight: 600;
}

h1.sidebar-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    padding: 15px;
    margin-top: 25px;
    margin-bottom: 15px;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(27, 94, 32, 0.25);
}

h1.sidebar-title-link {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* CONTENT */
#content-wrap {
    background-color: #fff;
    padding: 30px 0;
    border-top: none;
}

/* SPONSOR IZGARA */
.sponsor-grid-item {
    background-color: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 15px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.sponsor-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #e0e0e0;
}

.supporter-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: 0.3s;
}

.sponsor-grid-item:hover .supporter-img {
    filter: grayscale(0%);
}

/* SAĞ SIDEBAR KUTULARI */
.right-sponsor-box {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.right-sponsor-box:hover {
    transform: translateY(-5px);
}

/* Aynı kutuda birden fazla sponsor logosu varsa, logoların tek bir görsel
   gibi algılanmaması için aralarına ince bir ayırıcı çizgi koy.
   ("a + a" olduğu için ilk logonun üstünde ve son logonun altında çizgi çıkmaz.) */
.right-sponsor-box > a + a {
    display: block;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ececec;
}

/* FOOTER */
footer {
    background: #111;
    color: #bbb;
    padding: 60px 0;
    margin-top: 60px;
    text-align: center;
    border-top: 4px solid #2E7D32;
}

.social-icons a {
    display: inline-flex;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #fff;
    align-items: center;
    justify-content: center;
    margin: 0 6px;
    transition: 0.4s;
    font-size: 18px;
}

.social-icons a:hover {
    background: #2E7D32;
    color: #fff;
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(46, 125, 50, 0.6);
}

.blink {
    animation: blinker 1.5s ease-in-out infinite;
    color: #d9534f;
    font-weight: bold;
}

@keyframes blinker {
    50% {
        opacity: 0.5;
    }
}

/* --- SPONSOR BAŞLIK RENKLERİ (ÖZEL TASARIM) --- */

/* Diamond: Elmas/Buz Mavisi Premium Geçiş */
.sidebar-header-diamond {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    color: #1b5e20;
    /* Dark Green Text */
    /* Açık maviden beyaza parlak geçiş */
    background: linear-gradient(135deg, #a5d6a7 0%, #c8e6c9 100%);
    padding: 15px;
    margin-top: 25px;
    margin-bottom: 15px;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid #81c784;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
}

/* Gold: Altın Sarısı Parlak Geçiş */
.sidebar-header-gold {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    color: #634f00;
    /* Koyu Altın Yazı */
    /* Altın sarısı geçiş */
    background: linear-gradient(135deg, #ffd700 0%, #ffec8b 100%);
    padding: 15px;
    margin-top: 25px;
    margin-bottom: 15px;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid #e6c200;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Bronze: Bronz/Bakır Geçiş */
.sidebar-header-bronze {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    color: #57280e;
    /* Koyu Bakır Yazı */
    /* Bronz geçiş */
    background: linear-gradient(135deg, #e6ac86 0%, #f5ccb0 100%);
    padding: 15px;
    margin-top: 25px;
    margin-bottom: 15px;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid #d49a75;
    box-shadow: 0 5px 15px rgba(205, 127, 50, 0.2);
}

/* Technical Co-Sponsors: Kurumsal Mavi (Mevcut yapıya uygun) */
.sidebar-header-technical {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    padding: 15px;
    margin-top: 25px;
    margin-bottom: 15px;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(27, 94, 32, 0.25);
}

/* --- MAIN.PHP ÖZEL STİLLERİ --- */

/* --- MAIN.PHP DUYURU KARTLARI (İNCE TASARIM) --- */

/* Kart Yapısı: Daha az gölge, daha yumuşak geçiş */
.card-slim {
    border: none;
    border-radius: 12px;
    /* Köşeler biraz daha az yuvarlak */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    overflow: hidden;
}

.card-slim:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Başlık Alanı: Daha ince (padding azaldı) */
.card-slim .card-header {
    padding: 10px 15px;
    /* Dikey boşluk azaltıldı */
    font-size: 15px;
    /* Font biraz küçüldü */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

/* Renk Varyasyonları (Gradientler korundu ama daha soft) */
.card-soft-danger .card-header {
    background: linear-gradient(135deg, #66bb6a, #43a047);
    color: white;
}

.card-soft-warning .card-header {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: white;
}

.card-soft-info .card-header {
    background: linear-gradient(135deg, #4db6ac, #00897b);
    color: white;
}

.card-soft-success .card-header {
    background: linear-gradient(135deg, #55efc4, #00b894);
    color: white;
}

/* Kart İçeriği: Daha sıkışık */
.card-body-slim {
    padding: 15px;
    /* İç boşluk 4'ten 15px'e düştü */
}

/* İkon: Daha küçük ve kibar */
.announcement-icon-slim {
    font-size: 32px;
    /* 48px'den 32px'e düştü */
    margin-bottom: 10px;
    opacity: 0.85;
}

/* Buton: Daha ince (Hap şeklinde ama küçük) */
.btn-pill-sm {
    border-radius: 50px;
    padding: 5px 15px;
    /* Buton içi boşluk azaldı */
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.2s;
}

.btn-pill-sm:hover {
    transform: scale(1.02);
}

/* Yıllar (Proceedings) Rozetleri */
.badge-year {
    display: inline-block;
    padding: 10px 20px;
    margin: 6px;
    background-color: #fff;
    border: 1px solid #e1e1e1;
    color: #2E7D32;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.badge-year span {
    font-weight: 300;
    font-size: 0.9em;
    color: #666;
}

.badge-year:hover {
    background-color: #2E7D32;
    color: white;
    border-color: #2E7D32;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.badge-year:hover span {
    color: #ccc;
}

/* Başkanlar Bölümü */
.chair-box {
    text-align: center;
    padding: 10px;
}

.chair-name {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.chair-role {
    font-size: 0.9rem;
    color: #2E7D32;
    font-weight: 600;
}

.chair-uni {
    font-size: 0.85rem;
    color: #777;
    display: block;
}
/* Programme: günlük program butonları ve "Program at a Glance" */
.glance-daybtn { display: block; height: 100%; text-align: center; text-decoration: none; background: linear-gradient(135deg, #002f6c, #00509d); color: #fff; border-radius: 12px; padding: 18px 10px; transition: transform .15s, box-shadow .15s; }
.glance-daybtn:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0, 47, 108, .3); color: #fff; }
.glance-daybtn .gd-dow { display: block; font-size: 12px; letter-spacing: 3px; opacity: .8; font-weight: 600; }
.glance-daybtn .gd-date { display: block; font-family: 'Quicksand', sans-serif; font-size: 22px; font-weight: 700; }
.glance-daybtn .gd-desc { display: block; font-size: 11.5px; opacity: .85; min-height: 34px; margin-top: 2px; }
.glance-daybtn .gd-go { display: inline-block; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .18); padding: 4px 12px; border-radius: 20px; margin-top: 6px; }
.glance-card { background: #fff; border: 1px solid #e3e9f0; border-radius: 12px; overflow: hidden; height: 100%; box-shadow: 0 1px 5px rgba(0, 47, 108, .07); }
.glance-head { display: block; background: linear-gradient(135deg, #002f6c, #00509d); color: #fff; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 14.5px; letter-spacing: .5px; padding: 12px 18px; text-decoration: none; }
.glance-head:hover { color: #ffd76a; }
.glance-list { list-style: none; margin: 0; padding: 6px 0; }
.glance-list li { display: flex; gap: 12px; padding: 8px 18px; font-size: 13.5px; border-top: 1px solid #eef2f7; align-items: baseline; }
.glance-list li:first-child { border-top: 0; }
.glance-list .g-time { flex: 0 0 88px; font-weight: 600; color: #00509d; font-size: 12.5px; white-space: nowrap; }
.glance-list .g-item { flex: 1 1 0%; color: #22303f; }
.glance-list .g-break { background: #f6f8fb; }
.glance-list .g-break .g-item, .glance-list .g-break .g-time { color: #8a97a8; font-weight: 500; text-transform: uppercase; font-size: 12px; letter-spacing: .5px; }
.glance-list .g-social { background: #fff8ea; }
.glance-list .g-social .g-time { color: #c98a00; }
.g-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.g-chip { display: inline-block; background: #e8eef7; color: #002f6c; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 6px; text-decoration: none; border: 1px solid #d0dcec; white-space: nowrap; }
a.g-chip:hover { background: #002f6c; border-color: #002f6c; color: #fff; }
.g-chip.g-f2f { background: #e7f3ec; color: #1d5c33; border-color: #cfe6d8; }
a.g-chip.g-f2f:hover { background: #1d5c33; border-color: #1d5c33; color: #fff; }
.g-chip.g-poster, .g-chip.g-tut { background: #f0eaf8; color: #5b3a8c; border-color: #ddd0ee; }
a.g-chip.g-poster:hover, a.g-chip.g-tut:hover { background: #5b3a8c; border-color: #5b3a8c; color: #fff; }

.ws-speaker { font-size: 13.5px; padding: 3px 0; }

/* ===== Global Participation (ülkelere göre bildiriler, main.php) ===== */
.participation { position: relative; border-radius: 22px; padding: 1px; background: linear-gradient(135deg, #dbe7f5 0%, #e8f1fa 50%, #dceaf7 100%); box-shadow: 0 12px 32px rgba(0, 47, 108, .10); }
.participation-inner { position: relative; border-radius: 21px; padding: 34px 28px 30px; background: radial-gradient(1000px 380px at 100% -10%, rgba(10, 124, 196, .06), transparent 60%), linear-gradient(160deg, #fbfdff 0%, #f2f7fc 100%); border: 1px solid #e3ecf6; overflow: hidden; }
.participation-inner::before { content: "\f7a2"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: -30px; bottom: -40px; font-size: 230px; color: rgba(0, 80, 157, .05); pointer-events: none; }
.participation-head { text-align: center; position: relative; margin-bottom: 26px; }
.participation-eyebrow { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #00509d; background: rgba(0, 80, 157, .07); border: 1px solid rgba(0, 80, 157, .2); padding: 5px 16px; border-radius: 30px; margin-bottom: 12px; }
.participation-title { font-family: 'Quicksand', sans-serif; font-weight: 700; color: #012a5e; font-size: 2rem; margin: 0 0 6px; }
.participation-sub { color: #5c6d80; font-size: .95rem; max-width: 640px; margin: 0 auto; }
.participation-sub strong { color: #012a5e; }
.country-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 30px; position: relative; }
.country-stats .cstat { flex: 1 1 150px; max-width: 210px; background: #fff; border: 1px solid #e6edf6; border-radius: 16px; padding: 20px 12px 16px; text-align: center; box-shadow: 0 6px 16px rgba(0, 47, 108, .08); transition: transform .18s, box-shadow .18s; }
.country-stats .cstat:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0, 47, 108, .14); }
.country-stats .cstat-ico { width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, #00509d, #0a7cc4); box-shadow: 0 6px 14px rgba(0, 80, 157, .35); }
.country-stats .cstat:nth-child(2) .cstat-ico { background: linear-gradient(135deg, #1d9a6c, #24c48a); box-shadow: 0 6px 14px rgba(36, 196, 138, .35); }
.country-stats .cstat:nth-child(3) .cstat-ico { background: linear-gradient(135deg, #6a5acd, #8a7be8); box-shadow: 0 6px 14px rgba(138, 123, 232, .35); }
.country-stats .cstat:nth-child(4) .cstat-ico { background: linear-gradient(135deg, #e8890c, #f5a623); box-shadow: 0 6px 14px rgba(245, 166, 35, .35); }
.country-stats .cstat-num { font-family: 'Quicksand', sans-serif; font-size: 2.1rem; font-weight: 700; line-height: 1; color: #012a5e; }
.country-stats .cstat-label { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: #6b7a8c; margin-top: 6px; font-weight: 600; }
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; position: relative; }
.country-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e6edf6; border-radius: 14px; padding: 11px 14px; box-shadow: 0 3px 10px rgba(0, 47, 108, .06); transition: transform .15s, box-shadow .15s; }
.country-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 47, 108, .13); border-color: #cfdff2; }
.country-rank { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: #eef3fb; color: #012a5e; font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.country-rank.top { background: linear-gradient(135deg, #f5a623, #ffd76a); color: #6b4800; box-shadow: 0 3px 8px rgba(245, 166, 35, .4); }
.country-flag { width: 40px; height: 30px; object-fit: cover; border-radius: 5px; box-shadow: 0 1px 4px rgba(0, 0, 0, .28); flex-shrink: 0; }
.country-info { flex: 1 1 0%; min-width: 0; }
.country-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.country-name { font-size: .95rem; font-weight: 600; color: #22303f; line-height: 1.2; }
.country-count { flex-shrink: 0; white-space: nowrap; font-size: .9rem; font-weight: 700; color: #00509d; }
.country-count small { font-size: .68rem; font-weight: 500; color: #9aa7b5; text-transform: uppercase; letter-spacing: .5px; }
.country-bar { height: 6px; border-radius: 6px; background: #e9eef5; overflow: hidden; }
.country-bar > span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #00509d, #0a7cc4); }
@media (max-width: 576px) { .participation-inner { padding: 26px 16px 22px; } .participation-title { font-size: 1.6rem; } .country-stats .cstat { flex-basis: 40%; } }

/* ===== Paper ID search (prog.php) ===== */
.psearch { background: linear-gradient(160deg, #fbfdff 0%, #eef4fb 100%); border: 1px solid #dbe7f5; border-radius: 18px; padding: 26px 24px; box-shadow: 0 8px 24px rgba(0, 47, 108, .08); }
.psearch-head { text-align: center; margin-bottom: 16px; }
.psearch-head h4 { font-family: 'Quicksand', sans-serif; font-weight: 700; color: #012a5e; margin: 0 0 6px; }
.psearch-head p { color: #5c6d80; font-size: .92rem; margin: 0; }
.psearch-form { display: flex; gap: 10px; max-width: 620px; margin: 0 auto; }
.psearch-form .form-control { border-radius: 10px; padding: 10px 14px; border-color: #c6d4e6; font-size: 1rem; }
.psearch-form .form-control:focus { border-color: #00509d; box-shadow: 0 0 0 .2rem rgba(0, 80, 157, .15); }
.psearch-form .btn { flex-shrink: 0; border-radius: 10px; padding: 10px 20px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #002f6c, #00509d); border: 0; }
.psearch-form .btn:hover { background: linear-gradient(135deg, #00509d, #0a7cc4); color: #fff; }
#psearch-out { max-width: 820px; margin: 0 auto; }
.pr-msg { text-align: center; color: #5c6d80; font-size: .9rem; margin-top: 16px; }
.pr-none { color: #8a4b00; background: #fff6e5; border: 1px solid #f5d9a8; border-radius: 10px; padding: 10px 14px; }
.presult { background: #fff; border: 1px solid #e3ecf6; border-left: 5px solid #00509d; border-radius: 12px; padding: 18px 20px; margin-top: 16px; box-shadow: 0 4px 14px rgba(0, 47, 108, .07); }
.pr-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pr-id { background: #002f6c; color: #fff; font-weight: 700; font-size: .8rem; padding: 3px 10px; border-radius: 6px; }
.pr-kind { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #00509d; background: #e8f0fa; padding: 3px 10px; border-radius: 20px; }
.pr-title { font-weight: 600; font-size: 1.05rem; color: #22303f; margin: 0 0 4px; line-height: 1.4; }
.pr-auth { color: #5c6d80; font-size: .88rem; margin-bottom: 14px; }
.pr-grid { border-top: 1px solid #eef2f7; }
.pr-row { display: flex; gap: 14px; padding: 8px 0; border-bottom: 1px solid #eef2f7; font-size: .92rem; }
.pr-label { flex: 0 0 110px; color: #6b7a8c; font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .5px; padding-top: 2px; }
.pr-label i { width: 16px; color: #00509d; }
.pr-val { flex: 1; color: #22303f; font-weight: 500; }
.pr-sub { color: #6b7a8c; font-size: .84rem; font-weight: 400; }
.pr-note { color: #9aa7b5; font-size: .8rem; font-weight: 400; }
.pr-join { display: inline-block; margin-left: 8px; font-size: .8rem; font-weight: 600; color: #fff; background: #4b53bc; padding: 2px 10px; border-radius: 20px; text-decoration: none; }
.pr-join:hover { background: #3b429c; color: #fff; }
.pr-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pr-btns .btn { border-radius: 8px; font-weight: 600; }
@media (max-width: 576px) { .psearch { padding: 20px 14px; } .psearch-form { flex-direction: column; } .pr-row { flex-direction: column; gap: 2px; } .pr-label { flex: none; } }
