/* --- GLOBAL VARS & RESET --- */
:root {
    --primary: #034694;
    --accent: #ED1C24;
    --gold: #DBA111;
    --bg-light: #F8F9FA;
    --text-dark: #141414;
    --text-gray: #666;
}
body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg-light); 
    color: var(--text-dark); 
    font-size: 15px; 
    line-height: 1.5;
}

/* --- HEADER --- */
.brand-header { background-color: var(--primary); border-bottom: 3px solid var(--gold); padding: 10px 0; position: sticky; top: 0; z-index: 1000; }
.org-logo-header { max-height: 50px; transition: 0.3s; }
.org-logo-header:hover { transform: scale(1.05); }
.social-link { color: rgba(255,255,255,0.8); font-size: 1.2rem; margin-left: 15px; }
.social-link:hover { color: var(--gold); }

/* --- CONTENT --- */
.page-title { 
    font-weight: 700; font-size: 24px; color: var(--primary); 
    margin-bottom: 15px; text-transform: uppercase; 
}

/* Images */
.event-img-wrapper {
    border-radius: 8px; overflow: hidden; 
    border: 1px solid #eee; aspect-ratio: 16/9; background: #eee; position: relative;
}
.event-img { width: 100%; height: 100%; object-fit: cover; }
.carousel-item, .carousel-inner, .carousel { height: 100%; }

/* Info Box */
.info-box { 
    display: flex; align-items: flex-start; margin-bottom: 10px; padding: 10px; 
    background: white; border-radius: 6px; border: 1px solid #eee; 
}
.info-icon { font-size: 1.2rem; color: var(--accent); margin-right: 10px; min-width: 25px; margin-top: 2px; }
.info-label { 
    font-size: 11px; text-transform: uppercase; font-weight: 600; 
    color: var(--text-gray); display: block; margin-bottom: 2px; 
}
.info-content { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.map-link { text-decoration: none; color: var(--primary); }
.map-link:hover { text-decoration: underline; color: var(--accent); }

/* COUNTDOWN (Canh giữa) */
.countdown-box { display: flex; gap: 8px; margin-top: 15px; justify-content: center; }
.countdown-item { 
    background: var(--primary); color: white; padding: 5px 10px; 
    border-radius: 4px; text-align: center; min-width: 60px;
}
.countdown-number { font-size: 16px; font-weight: 700; display: block; line-height: 1.1; }
.countdown-label { font-size: 10px; text-transform: uppercase; opacity: 0.9; }

/* Form Card */
.form-card {
    background: white; border-radius: 8px; padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #ddd; border-top: 4px solid var(--accent);
    height: 100%;
}
.form-label { font-weight: 600; font-size: 13px; margin-bottom: 5px; color: var(--text-dark); }
.form-control { 
    background-color: #f8f9fa; border: 1px solid #ced4da; 
    padding: 8px 12px; border-radius: 4px; font-size: 14px; 
}
.form-control:focus { background-color: white; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(3, 70, 148, 0.1); }

.btn-submit {
    width: 100%; background: var(--accent); color: white; padding: 10px;
    border-radius: 4px; border: none; font-weight: 600; font-size: 15px; 
    transition: 0.2s; text-transform: uppercase;
}
.btn-submit:hover { background: #c4131b; }

/* --- PHẦN 2 (Sponsor & Prize) --- */
.bottom-section { margin-top: 40px; padding-top: 30px; border-top: 1px solid #eee; }

.col-title {
    font-size: 18px; font-weight: 700; color: var(--primary);
    text-transform: uppercase; margin-bottom: 15px; padding-bottom: 8px;
    border-bottom: 2px solid var(--gold); display: inline-block;
}

/* Sponsor Item */
.sponsor-item-card {
    display: flex; align-items: center; background: #fff;
    border: 1px solid #eee; border-radius: 6px;
    padding: 12px; margin-bottom: 12px;
}
.sponsor-logo-img { 
    width: 60px; height: 60px; object-fit: contain; 
    border: 1px solid #eee; border-radius: 4px; padding: 2px; 
    margin-right: 15px; flex-shrink: 0; 
}
.sponsor-name { font-weight: 700; font-size: 14px; color: var(--text-dark); margin-bottom: 2px; }
.sponsor-desc { font-size: 13px; color: #666; margin-bottom: 5px; }

/* Prize Box */
.prize-container {
    background: #fffbf0; border: 1px solid #fcd34d; 
    border-radius: 8px; padding: 20px; height: 100%;
}
.prize-content { font-size: 14px; color: var(--text-dark); margin-bottom: 15px; }
.prize-img-wrapper { 
    text-align: center; border-radius: 6px; overflow: hidden; 
    border: 1px solid #eee; 
}
.prize-img { width: 100%; height: auto; display: block; }