@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@100..900&display=swap");
* {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans Bengali", sans-serif;
}
.body {
    background: #f9fafb;
    font-family: "Noto Sans Bengali", sans-serif;
}
a,
span,
p {
    color: #4a5565;
}
span,
p {
    font-size: 15px;
}
.h-full {
    height: 100vh;
}
.header {
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    box-shadow:
        0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px -1px rgba(0, 0, 0, 0.1);
    height: 90px;
}
.header span {
    color: #4a5565;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}
.live-icon {
    display: flex;
    width: 55px;
    height: 55px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 33554400px;
    background: #dbeafe;
}
.live-badge {
    position: relative;
    font-size: 12px;
    color: #fff;
    display: flex;
    padding: 3px 12px 1px 20px;
    align-items: center;
    border-radius: 10px;
    background: #096;
}
.live-badge::before {
    content: " ";
    height: 5px;
    width: 5px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
}
.webase img {
    width: 150px;
}
.webase a {
    text-decoration: none;
}
.webase a:hover span {
    color: #ed2d4e;
}
.main-section {
    height: calc(100vh - 90px);
    background: #f9fafb;
}
.protik-card {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow:
        0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px -1px rgba(0, 0, 0, 0.1);
}
.protik-card:first-child {
    border: 1px solid #a4f4cf;
}
.protik-img {
    padding: 5px;
    border-radius: 10px;
}
.protik-card:first-child .protik-img {
    background: rgba(16, 185, 129, 0.08);
}
.protik-img img {
    width: 40px;
}
.protik-card h4 {
    font-size: 18px;
    font-weight: 500;
}
.protik-card .voter {
    font-size: 18px;
    font-weight: 500;
}
.protik-card span {
    color: #4a5565;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
}
.progress-percentage {
    color: #3b82f6;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    padding: 4px 10px 1px 10px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background: rgba(59, 130, 246, 0.08);
}
.protik-card:first-child .progress-percentage {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
}
.king {
    position: absolute;
    right: -5px;
    top: -5px;
    align-items: center;
    justify-content: center;
    padding: 5px;
    display: flex;
    width: 28px;
    height: 28px;
    border-radius: 100%;
    background: #096;
}
.c_card {
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
}
.c_card.voter-summery {
    border: 1px solid #bedbff;
}
.icon_bg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 4px;
    border-radius: 10px;
}
.c_card .icon_bg {
    background: #dbeafe;
}
.c_card h4 {
    color: #101828;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}
.info-cards span {
    font-size: 14px;
    line-height: 16px;
}
.info-cards strong {
    font-size: 15px;
    line-height: 16px;
}
.bg_light {
    padding: 8px 20px;
    border-radius: 8px;
    background: #f9fafb;
}
.bg_light:nth-child(2) {
    background: #dbeafe;
}

.c_card.count-status {
    border: 1px solid #bedbff;
}
.c_card.yes-no,
.c_card.center-status {
    border: 1px solid #bae4cf;
}
.c_card.postal-vote {
    border: 1px solid #e0e7ff;
}
.c_card.cancel-vote {
    border: 1px solid #fecaca;
}
.c_card.yes-no .icon_bg,
.c_card.center-status .icon_bg {
    background: #d1fae5;
}
.c_card.postal-vote .icon_bg {
    background: #e0e7ff;
}
.c_card.cancel-vote .icon_bg {
    background: #fee2e2;
}

.dashboard-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.d-head {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
}

.location-icon {
    width: 40px;
    height: 40px;
    background-color: #e3f2fd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.location-icon svg {
    width: 20px;
    height: 20px;
}

.header-text h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #212121;
}

.header-text p {
    font-size: 14px;
    margin: 0;
    color: #757575;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.stats-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.stat-card {
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.stat-card.total {
    background-color: #f5f5f5;
}

.stat-card.pending {
    background-color: #e3f2fd;
}

.stat-card.incomplete {
    background-color: #ffebee;
}

.stat-card.validated {
    background-color: #fff9c4;
}

.stat-card.complete {
    background-color: #e8f5e9;
}

.stat-card.rejected {
    background-color: #ffebee;
}

.stat-label {
    font-size: 13px;
    color: #616161;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #212121;
}

.stat-card.total .stat-value {
    color: #424242;
}

.stat-card.pending .stat-value {
    color: #1976d2;
}

.stat-card.incomplete .stat-value {
    color: #d32f2f;
}

.stat-card.validated .stat-value {
    color: #f57c00;
}

.stat-card.complete .stat-value {
    color: #388e3c;
}

.stat-card.rejected .stat-value {
    color: #d32f2f;
}

.rankings-section {
    margin-top: 20px;
}

.rankings-title {
    font-size: 14px;
    color: #757575;
    margin-bottom: 12px;
    font-weight: 500;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ranking-item:last-child {
    border-bottom: none;
}

.rank-info {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}

.rank-icon img {
    width: 40px;
}

.rank-name {
    flex: 1;
    font-size: 13px;
    color: #212121;
    font-weight: 500;
}

.rank-progress {
    flex: 1;
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.rank-progress-bar {
    height: 100%;
    background-color: #212121;
    border-radius: 3px;
}

.rank-value {
    min-width: 50px;
    text-align: right;
    font-size: 15px;
    font-weight: 600;
    color: #212121;
    margin-right: 12px;
}

.rank-percentage {
    padding: 4px 10px 1px 10px;
    border-radius: 4px;
    background: rgba(139, 92, 246, 0.08);
    text-align: center;
    font-size: 13px;
    font-weight: 500;
}
.ranking-item:first-child .rank-percentage {
    background: rgba(16, 185, 129, 0.08);
}
.ranking-item:first-child .rank-percentage.high {
    color: #10b981;
}
.rank-value-section {
    display: flex;
}

.rank-percentage.high {
    color: #8b5cf6;
}

.rank-percentage.medium {
    color: #f57c00;
}

.rank-percentage.low {
    color: #1976d2;
}

/* vote card css */

.vote-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.card-icon.postal {
    background-color: #e3f2fd;
}

.card-icon.rejected {
    background-color: #ffebee;
}

.card-icon svg {
    width: 20px;
    height: 20px;
}

.card-icon.postal svg {
    fill: #2196f3;
}

.card-icon.rejected svg {
    fill: #d32f2f;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #212121;
    margin: 0;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: 14px;
    color: #757575;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #212121;
}

.progress-bar-custom {
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-fill.blue {
    background-color: #2196f3;
}

.progress-fill.black {
    background-color: #424242;
}

.percentage-label {
    font-size: 13px;
    color: #757575;
}

.percentage-value {
    font-size: 14px;
    font-weight: 600;
    color: #6366f1;
}

.alert-box {
    padding: 5px;
    margin-top: 10px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #fecaca;
    background: #fef2f2;
}

.alert-text {
    font-size: 14px;
    color: #d32f2f;
    font-weight: 500;
    margin: 0;
}

.ct-progress .progress-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
}

.ct-progress .progress-ring {
    transform: rotate(-90deg);
}

.ct-progress .bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 12;
}

.ct-progress .progress {
    fill: none;
    stroke: #3b82f6;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.4s ease;
}

.ct-progress .text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
}
