*{
    _font-family: 'SolaimanLipi';
}

.election-page {
    font-family: 'Noto Serif Bengali', serif;
}
.election-page a {
    text-decoration: none !important;
    color: #000;
}
/* Live Indicator */
.live-indicator {
    position: absolute;
    top: 15px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 53, 69, 0.95);
    padding: 8px 16px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
    z-index: 10;
}

.live-dot {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

.live-text {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    _font-family: 'SolaimanLipi', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

@media (max-width: 576px) {
    .live-indicator {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
    }
    
    .live-dot {
        width: 10px;
        height: 10px;
    }
    
    .live-text {
        font-size: 14px;
    }
}

/* Election Fixed Statistics */
.electtion-fixed-statics {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.fixed-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 7px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
    border-color: #007bff;
}

.stat-icon {
    font-size: 15px;
    color: #007bff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
    text-align: left;
}

.stat-value {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    line-height: 1.2;
    font-family: 'SolaimanLipi', sans-serif;
}

.stat-label {
    font-size: 14px;
    color: #6c757d;
    margin-top: 2px;
    font-family: 'SolaimanLipi', sans-serif;
}

@media (max-width: 768px) {
    .fixed-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-item {
        padding: 5px;
        gap: 10px;
    }
    
    .stat-icon {
        font-size: 24px;
        width: 40px;
        height: 40px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .fixed-stats-grid {
        grid-template-columns: 1fr;
    }
}
#oa-360-1770452949324_22odgpp5z{
    display:none !important;
}

.election-banner{
    background: url('../images/banner.jpg') no-repeat center center;
    background-size: cover;
    height: 250px;
    position: relative;
}

.election-title{
    color: #fff;
    text-align: center;
    padding-top: 50px;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px #000;
}

/* Countdown Timer Styles */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-bottom: 20px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    _background: rgba(255, 255, 255, 0.95);
    background:#F98810;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 80px;
}

.countdown-value {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    line-height: 1;
}

.countdown-label {
    font-size: 14px;
    color: #fff;
    margin-top: 5px;
    font-weight: 600;
}

.countdown-separator {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px #000;
}

.countdown-finished {
    background: rgba(40, 167, 69, 0.95);
    color: #fff;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.countdown-finished i {
    margin-right: 10px;
}

@media (max-width: 576px) {
    .countdown-item {
        min-width: 60px;
        padding: 10px 15px;
    }
    
    .countdown-value {
        font-size: 24px;
    }
    
    .countdown-label {
        font-size: 11px;
    }
    
    .countdown-separator {
        font-size: 24px;
    }
}

.election-sub-title{
    color: #333;
    text-align: left;
    font-size: 20px;
}

.election-statistic-item{
    padding: 20px 15px;
    border: 2px solid #e0e0e0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.election-statistic-item:hover{
    _transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.election-statistic-item i{
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

.election-statistic-item strong{
    font-size: 20px;
    color: #333;
    display: block;
    margin-top: 5px;
}
.election-statistic-item small{
    color: #666;
    font-size: 14px;
    margin-left: 5px;
}

.election-result{
    border: 2px solid #cd0000;
    border-radius: 10px;
}
.election-result-title{
    background: #cd0000;
    font-size: 26px;
    color: #fff;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-radius: 9px 9px 0 0;
}

/* Team Group Box Styles */
.team-group-box{
    padding: 25px 20px;
    border: 3px solid #007bff;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-group-box:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,123,255,0.3);
    border-color: #0056b3;
}

.group-logo{
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1px;
}

.group-name{
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
    line-height: 1.4;
}

.group-wins{
    font-size: 48px;
    font-weight: bold;
    color: #007bff;
    margin: 10px 0;
}

.group-label{
    font-size: 16px;
    color: #666;
    margin: 5px 0 0 0;
}

/* Referendum Box Styles */
.referendum-box{
    padding: 25px 20px;
    border: 3px solid #28a745;
    background: linear-gradient(135deg, #ffffff 0%, #e8f5e9 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    _height: 100%;
}

.referendum-title{
    font-size: 20px;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 20px;
}

.referendum-title i{
    font-size: 24px;
    margin-right: 8px;
}

.referendum-item{
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.referendum-item.yes-vote{
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
}

.referendum-item.no-vote{
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
}

.referendum-item:hover{
    transform: scale(1.05);
}

.referendum-item i{
    font-size: 28px;
    margin-right: 10px;
}

.referendum-item.yes-vote i{
    color: #28a745;
}

.referendum-item.no-vote i{
    color: #dc3545;
}

.vote-label{
    font-size: 16px;
    font-weight: bold;
    color: #333;
    flex: 1;
    text-align: left;
    margin-left: 10px;
}

.vote-count{
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

/* Team Card Styles */
.team-card{
    padding: 20px;
    border: 2px solid #e0e0e0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.team-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.team-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.team-rank{
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #3cff07, #00a8ff);
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.team-logo{
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin: 15px 0;
    border-radius: 50%;
    background: #fff;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.team-name{
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
    line-height: 1.4;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-wins-count{
    font-size: 40px;
    font-weight: bold;
    color: #007bff;
    margin: 10px 0;
}

.team-wins-label{
    font-size: 14px;
    color: #666;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Candidate Filter Section */
.candidate-filter-section{
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-label{
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    display: block;
    font-size: 16px;
}

.filter-label i{
    color: #007bff;
    margin-right: 5px;
}

.filter-select{
    font-size: 16px;
    padding: 12px 15px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.filter-select:focus{
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.filter-select:disabled{
    background-color: #f8f9fa;
    cursor: not-allowed;
}

/* No Selection Message */
.no-selection-message{
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    margin-top: 20px;
}

.no-selection-message i{
    font-size: 48px;
    color: #64b5f6;
    margin-bottom: 15px;
    display: block;
}

.no-selection-message p{
    font-size: 18px;
    color: #555;
    margin: 0;
}

/* Candidates Display Section */
.candidates-display-section{
    margin-top: 30px;
}

.seat-info-title{
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
    padding: 15px 20px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 10px;
    border-left: 5px solid #007bff;
}

.seat-info-title i{
    margin-right: 8px;
}

/* Candidate Card Styles */
.candidate-card{
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.candidate-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.candidate-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
}

.candidate-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.candidate-team-logo{
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8f9fa;
    padding: 5px;
}

.candidate-number{
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.candidate-body{
    margin-top: 10px;
}

.candidate-name{
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.candidate-name i{
    color: #007bff;
    margin-right: 5px;
}

.candidate-team{
    font-size: 15px;
    color: #555;
    margin-bottom: 8px;
}

.candidate-team i{
    color: #28a745;
    margin-right: 5px;
}

.candidate-symbol{
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    font-style: italic;
}

.candidate-symbol i{
    color: #ffc107;
    margin-right: 5px;
}

/* Candidate Votes */
.candidate-votes{
    margin-top: 12px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    text-align: center;
    border: 2px solid #2196f3;
}

.candidate-votes i{
    color: #2196f3;
    margin-right: 5px;
}

.candidate-votes strong{
    font-size: 20px;
    color: #1976d2;
}

/* Winner Card Styles */
.winner-card{
    border: 3px solid #ffc107 !important;
    background: linear-gradient(135deg, #fffde7 0%, #fff9c4 100%) !important;
    box-shadow: 0 4px 20px rgba(255,193,7,0.3) !important;
}

.winner-card::before{
    background: linear-gradient(90deg, #ffc107, #ffb300) !important;
    height: 6px !important;
}

.winner-card:hover{
    border-color: #ff9800 !important;
    box-shadow: 0 8px 25px rgba(255,152,0,0.4) !important;
}

.winner-badge{
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(255,152,0,0.4);
    animation: pulse 2s infinite;
}

.winner-badge i{
    margin-right: 5px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.winner-card .candidate-votes{
    background: linear-gradient(135deg, #fff9c4 0%, #ffecb3 100%);
    border-color: #ffc107;
}

.winner-card .candidate-votes i{
    color: #f57c00;
}

.winner-card .candidate-votes strong{
    color: #e65100;
    font-size: 22px;
}

/* Timeline Styles - Mobile (Vertical) */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    _background: linear-gradient(180deg, #007bff 0%, #0056b3 100%);
    background:#b62427;;
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #b62427;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #b62427;
    z-index: 1;
}

.timeline-marker-final {
    background: #28a745;
    box-shadow: 0 0 0 3px #28a745;
    width: 24px;
    height: 24px;
    left: 18px;
    animation: pulse-final 2s infinite;
}

@keyframes pulse-final {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.timeline-content {
    background: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    flex: 1;
}

.timeline-item-final .timeline-content {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #ffffff 0%, #d4edda 100%);
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.timeline-date {
    font-size: 16px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
}

.timeline-item-final .timeline-date {
    color: #28a745;
    font-size: 18px;
}

.timeline-title {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.timeline-item-final .timeline-title {
    font-size: 20px;
    font-weight: bold;
    color: #155724;
}

.timeline-title i {
    margin-right: 5px;
}

/* Timeline Styles - Desktop (Horizontal) */
@media (min-width: 768px) {
    .timeline {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        padding: 20px 20px 20px;
        position: relative;
    }
    
    .timeline::before {
        left: 0;
        right: 0;
        top: 10px;
        bottom: auto;
        width: auto;
        height: 3px;
        _background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
        background:#b62427;
    }
    
    .timeline-item {
        flex: 1;
        padding-left: 0;
        padding-top: 60px;
        margin-bottom: 0;
        margin-right: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        min-height: 180px;
    }
    
    .timeline-item:last-child {
        margin-right: 0;
    }
    
    .timeline-marker {
        left: 50%;
        top: 20px;
        transform: translateX(-50%);
    }
    
    .timeline-marker-final {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        border-left: none;
        border-top: 4px solid #b62427;
        text-align: center;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .timeline-item-final .timeline-content {
        border-top-color: #28a745;
        border-left: none;
    }
    
    .timeline-content:hover {
        transform: translateY(-5px);
    }
    
    .timeline-date {
        font-size: 14px;
    }
    
    .timeline-item-final .timeline-date {
        font-size: 16px;
    }
    
    .timeline-title {
        font-size: 16px;
    }
    
    .timeline-item-final .timeline-title {
        font-size: 18px;
    }
}

@media (min-width: 992px) {
    .timeline-date {
        font-size: 15px;
    }
    
    .timeline-title {
        font-size: 17px;
    }
    
    .timeline-item-final .timeline-date {
        font-size: 17px;
    }
    
    .timeline-item-final .timeline-title {
        font-size: 19px;
    }
}

.electtion-fixed-statics{
    position: absolute;
    border-radius: 10px 10px 0 0;
    bottom: 0;
    left: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.7);
}