/* Main CSS for Cute Baby Photo Contest - Comprehensive Trending Layout */

:root {
    --cbc-primary-color: #000;
    --cbc-secondary-color: #EA603E;
    --cbc-white: #FFFFFF;
    --cbc-bg-light: #FDF4F2;
    --cbc-border-color: #F1E5E2;
    --cbc-success-color: #2ECC71;
    --cbc-error-color: #E74C3C;
    --cbc-shadow: 0 10px 30px rgba(234, 96, 62, 0.1);
    --cbc-radius: 6px;
    --cbc-font-main: 'Quicksand', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #FFF9F8;
    font-family: var(--cbc-font-main);
}
.voting-details-page {
    padding: 0px 15px;
}
/* Global Container Styles */
.container.cbc-voting-page-container {
    padding: 40px;
    background: var(--cbc-white);
    border-radius: var(--cbc-radius);
    box-shadow: var(--cbc-shadow);
    border: 1px solid var(--cbc-border-color);
    box-sizing: border-box;
}

/* Sections Spacing */
.cbc-vote-header, .cbc-photo-container, .cbc-live-status-modern, .cbc-voting-area, .cbc-social-share {
    margin-bottom: 40px;
}
.cbc-voting-area {
    background: #fff;
    border: 2px solid var(--cbc-border-color);
    border-radius: var(--cbc-radius);
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}
/* Upload Form Styles */
.cbc-form-group {
    margin-bottom: 10px;
}

.cbc-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--cbc-primary-color);
}

.cbc-form-group input[type="text"],
.cbc-form-group input[type="email"],
.cbc-form-group input[type="tel"] {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--cbc-border-color);
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.cbc-form-group input:focus {
    border-color: var(--cbc-secondary-color);
    outline: none;
}

.cbc-photo-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px;
    background: var(--cbc-bg-light);
    border-radius: 12px;
}

.cbc-photo-preview {
    width: 90px;
    height: 90px;
    border: 3px solid var(--cbc-white);
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cbc-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cbc-placeholder-svg {
    line-height: 0px;
}
.cbc-photo-input-fake {
    position: relative;
    overflow: hidden;
    background: var(--cbc-secondary-color);
    color: #fff;
    padding: 11px 25px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.3em;
}

.cbc-photo-input-fake input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.cbc-form-submit button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #EA603E 0%, #FF8A65 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(234, 96, 62, 0.2);
    transition: transform 0.3s;
}

.cbc-form-submit button:hover {
    transform: translateY(-3px);
}
.cbc-loading-overlay{
    margin-top: 24px;
    text-align: center;
}


/* Voting Listing Grid Layout */
.cbc-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.cbc-entry-card {
    background: #fff;
    border-radius: var(--cbc-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid var(--cbc-border-color);
}

.cbc-entry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(234, 96, 62, 0.15);
}

.cbc-entry-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.cbc-entry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cbc-entry-info {
    padding: 30px 20px;
    text-align: center;
}

.cbc-entry-info h3 {
    margin: 0 0 15px;
    font-size: 22px;
    color: var(--cbc-primary-color);
}

.cbc-entry-votes {
    margin-bottom: 25px;
}
.cbc-entry-votes strong {
    color: #ea603e;
}
.cbc-already-submitted-msg {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}
.cbc-vote-now-btn {
    display: inline-block;
    background: #2c8cd0;
    color: #fff;
    padding: 9.5px 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border-radius: 5px;
    transition: all 0.5s ease;
}
.cbc-vote-now-btn:hover {
    background: #ea603e;
}
.cbc-already-submitted-msg h2 {
    color: var(--cbc-secondary-color);
    font-size: 30px;
    line-height: 1.1em;
}
/* Voting Page Grid (Split View) */
.cbc-voting-page-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
}

.cbc-photo-container {
    margin-bottom: 30px;
}

.cbc-baby-photo {
    width: 100%;
    height: auto;
    border-radius: var(--cbc-radius);
    border: 8px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Modern LIVE Status Section */
.cbc-live-status-modern {
    background: #fff;
    border: 2px solid var(--cbc-border-color);
    border-radius: var(--cbc-radius);
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.cbc-status-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--cbc-border-color);
}
.cbc-status-header h3 {
    font-size: 22px;
    line-height: 1.3em;
}
.cbc-live-pulse {
    width: 14px;
    height: 14px;
    background: var(--cbc-success-color);
    border-radius: 50%;
    position: relative;
}

.cbc-live-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cbc-success-color);
    border-radius: 50%;
    animation: cbc-ping 1.5s infinite;
}

@keyframes cbc-ping {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

.cbc-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cbc-stat-card {
    background: var(--cbc-bg-light);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.cbc-stat-card:hover {
    border-color: var(--cbc-secondary-color);
    transform: translateY(-5px);
}

.cbc-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--cbc-secondary-color);
    margin-bottom: 5px;
}

.cbc-stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--cbc-primary-color);
    margin-bottom: 10px;
}

.cbc-stat-target {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.cbc-mini-progress {
    width: 100%;
    height: 6px;
    background: #E0E0E0;
    border-radius: 10px;
    overflow: hidden;
}

.cbc-mini-fill {
    height: 100%;
    background: var(--cbc-secondary-color);
}

.cbc-stat-highlight {
    background: #896647;
}

.cbc-stat-highlight .cbc-stat-value,
.cbc-stat-highlight .cbc-stat-label,
.cbc-stat-highlight .cbc-stat-target {
    color: #fff;
}

/* Progress Bars */
.cbc-goal-item {
    margin-bottom: 20px;
}

.cbc-goal-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

.cbc-progress-bar {
    width: 100%;
    height: 12px;
    background: #E0E0E0;
    border-radius: 10px;
    overflow: hidden;
}

.cbc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #EA603E, #FFB347);
    transition: width 0.6s ease;
}

/* Sidebar Leaderboard */
.cbc-details-sidebar {
    background: var(--cbc-bg-light);
    padding: 25px;
    border-radius: var(--cbc-radius);
    height: fit-content;
    position: sticky;
    top: 30px;
}
.cbc-sidebar-leaderboard h3 {
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #ea603e;
    color: #000000;
    font-size: 22px;
    line-height: 1.2em;
    margin-bottom: 25px;
}
.certificate-card-cols h2 {
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #ea603e;
    color: #000000;
    font-size: 22px;
    line-height: 1.2em;
    margin-bottom: 25px;
}
.certificate-card-cols {
    margin-bottom: 30px;
}
.cbc-leaderboard-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #fff;
    margin-bottom: 12px;
    border-radius: 12px;
}

.cbc-baby-thumb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.cbc-baby-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cbc-baby-name a{
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    transition: all 0.5s ease;
}
.cbc-baby-name a:hover{
    color: var(--cbc-secondary-color);
}
.cbc-vote-count {
    font-size: 13px;
    color: var(--cbc-secondary-color);
}
.cbc-details-sidebar .cbc-baby-name a {
    transition: all 0.5s ease;
    text-decoration: none;
    color: #000;
}
.cbc-details-sidebar .cbc-baby-name a:hover {
    color: #278cd7;
}
/* Social & Share Buttons */
.cbc-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.cbc-share-btn {
    padding: 8px 20px;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.5s ease;
}
.cbc-share-btn:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}
.cbc-share-btn.whatsapp { background: #25D366; }
.cbc-share-btn.facebook { background: #1877F2; }
.cbc-share-btn.insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.cbc-share-btn.copy-link { background: #607D8B; cursor: pointer; }

/* Voting Area */
.cbc-voter-info input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--cbc-border-color);
    border-radius: 12px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

/* CLICK TO VOTE Button Glow */
#cbc-vote-btn {
    width: 100%;
    padding: 14px 18px;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(135deg, #EA603E 0%, #FF8A65 100%);
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(234, 96, 62, 0.2);
    animation: cbc-glow 2s infinite;
}

@keyframes cbc-glow {
    0% { box-shadow: 0 0 0 0 rgba(234, 96, 62, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(234, 96, 62, 0); }
    100% { box-shadow: 0 0 0 0 rgba(234, 96, 62, 0); }
}

#cbc-vote-btn:disabled {
    background: #CCC;
    box-shadow: none;
    animation: none;
    cursor: not-allowed;
}

#cbc-countdown-timer {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    color: var(--cbc-secondary-color);
}

/* Pagination */
.cbc-pagination {
    text-align: center;
    margin-top: 40px;
}

.cbc-pagination .page-numbers {
    padding: 10px 18px;
    margin: 0 5px;
    background: #fff;
    border: 1px solid var(--cbc-border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--cbc-primary-color);
}

.cbc-pagination .page-numbers.current {
    background: var(--cbc-secondary-color);
    color: #fff;
    border-color: var(--cbc-secondary-color);
}

/* Header Spacing */
.cbc-leaderboard-header, 
.cbc-vote-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px dashed var(--cbc-border-color);
}
.cbc-listing-header {
    margin-bottom: 40px;
    padding-bottom: 40px;
    text-align: center;
    border-bottom: 2px dashed var(--cbc-border-color);
}
.cbc-listing-header h2,
.cbc-leaderboard-header h2,
.cbc-vote-header h1 {
    margin: 0 0 10px;
    color: #ea603e;
    font-size: 32px;
}

.cbc-listing-header p,
.cbc-leaderboard-header p,
.cbc-vote-header p {
    margin: 0 0 20px;
    color: #888;
    font-size: 16px;
}

/* Search Form */
.cbc-search-form {
    margin: 30px auto 0;
    max-width: 500px;
}

.cbc-search-form form {
    display: flex;
    gap: 10px;
}

.cbc-search-form .search-field {
    flex-grow: 1;
    padding: 9px 20px;
    border: 2px solid var(--cbc-border-color);
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Quicksand';
}

.cbc-search-form .search-field:focus {
    border-color: var(--cbc-secondary-color);
    outline: none;
}

.cbc-search-form .search-submit {
    padding: 6px 25px;
    background: #288dd5;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Quicksand';
    font-size: 15px;
}
.cbc-search-form .search-submit:hover {
    background: var(--cbc-secondary-color);
}

/* Leaderboard List Design (Main Page) */
.cbc-leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cbc-leaderboard-item {
    display: grid;
    grid-template-columns: 60px 70px 1fr 90px 125px;
    align-items: center;
    padding: 20px 30px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid var(--cbc-border-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.cbc-leaderboard-item:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 25px rgba(234, 96, 62, 0.1);
    border-color: #2787cd47;
}

.cbc-rank {
    font-size: 24px;
    font-weight: 800;
    color: var(--cbc-secondary-color);
}

.cbc-baby-thumb {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--cbc-bg-light);
}

.cbc-baby-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cbc-baby-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--cbc-primary-color);
}

.cbc-vote-count {
    font-size: 18px;
    font-weight: 600;
    color: var(--cbc-secondary-color);
    text-align: center;
}

.cbc-vote-link {
    text-align: right;
}

.cbc-vote-link a {
    display: inline-block;
    padding: 9px 25px;
    background: #2a89cf;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.3s;
}
.cbc-vote-link a:hover {
    background: var(--cbc-secondary-color);
}

/* Sidebar Specific Overrides */
.cbc-details-sidebar .cbc-leaderboard-item {
    grid-template-columns: 50px 1fr;
    padding: 12px;
    gap: 15px;
}

.cbc-details-sidebar .cbc-baby-thumb {
    width: 50px;
    height: 50px;
}

.cbc-details-sidebar .cbc-baby-name {
    padding-left: 0;
    font-size: 15px;
}

.cbc-details-sidebar .cbc-vote-count {
    font-size: 12px;
    text-align: left;
}

/* Inline Errors */
.cbc-field-error {
    color: var(--cbc-error-color);
    font-size: 13px;
    margin-top: 5px;
    min-height: 18px;
}

#cbc-form-response, #cbc-vote-msg {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.cbc-alert-success { color: var(--cbc-success-color); }
.cbc-alert-error { color: var(--cbc-error-color); }

/* Modal Styles */
.cbc-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.cbc-modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--cbc-radius);
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.cbc-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.cbc-modal-close:hover {
    color: var(--cbc-primary-color);
}

.cbc-modal-icon {
    margin-bottom: 20px;
}

.cbc-google-login-wrapper {
    margin: 30px 0;
}

.cbc-google-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 12px 30px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.cbc-google-btn:hover {
    background: #f9f9f9;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    color: #000;
}

.cbc-google-btn img {
    width: 24px;
    height: 24px;
}

.cbc-modal-footer {
    font-size: 12px;
    color: #999;
    margin-top: 20px;
}

/* Standalone Template Wrapper */
.cbc-standalone-voting-wrapper {
    padding: 60px 0;
    background-color: #FFF9F8;
    min-height: 80vh;
}

/* Urgency Banner */
.cbc-urgency-banner {
    background: linear-gradient(90deg, #EA603E, #FFB347);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: 800;
    border-radius: var(--cbc-radius);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(234, 96, 62, 0.3);
    animation: cbc-shake 5s infinite;
}

@keyframes cbc-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50% { transform: translateX(-5px); }
    20%, 40%, 60% { transform: translateX(5px); }
}

/* Support Message */
.cbc-support-msg {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--cbc-bg-light);
    border-radius: 12px;
}

.cbc-support-msg h2 {
    color: var(--cbc-secondary-color);
    margin-bottom: 10px;
    font-size: 24px;
}

.cbc-support-highlight {
    margin-top: 15px;
}
.cbc-support-highlight h4 {
    color: #288ad1;
    margin-bottom: 10px;
}
.cbc-support-highlight p {
    color: var(--cbc-primary-color);
    margin-bottom: 23px;
}
/* Rewards Grid */

.cbc-rewards-section h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
}

.cbc-rewards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cbc-reward-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
}

.cbc-reward-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

/* Live Activity Feed */
.cbc-live-activity {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid var(--cbc-border-color);
}
.cbc-live-activity h3 img {
    width: 8px !important;
}
.cbc-live-activity h3 {
    margin-top: 0;
    font-size: 18px;
    color: var(--cbc-secondary-color);
    border-bottom: 1px solid var(--cbc-border-color);
    padding-bottom: 10px;
}
.cbc-live-activity p.cbc-no-activity {
    padding: 10px 0px;
}
.cbc-feed-item {
    padding: 12px 0;
    border-bottom: 1px solid #f9f9f9;
    font-size: 13px;
    text-transform: capitalize;
}

.cbc-feed-item small {
    display: block;
    color: #999;
}

/* Social Share Tips */
.cbc-share-tips {
    background: #fff9f0;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #ff9800;
}

.cbc-share-tips p {
    margin: 5px 0;
    font-size: 14px;
    font-weight: 600;
}

/* Battle Mode Card */
.cbc-stats-grid-v2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.cbc-battle-card {
    background: #2787cd;
    border-radius: 12px;
    padding: 20px;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.cbc-battle-card h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cbc-secondary-color);
}

.cbc-battle-subtitle {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.cbc-battle-vs {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 15px;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
}
.cbc-battle-divider {
    font-size: 28px;
    font-weight: 900;
    color: #000000;
    font-style: italic;
    position: relative;
}

.cbc-battle-divider::before, .cbc-battle-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: rgb(0 0 0 / 20%);
}

.cbc-battle-divider::before { right: 100%; margin-right: 10px; }
.cbc-battle-divider::after { left: 100%; margin-left: 10px; }

.cbc-battle-label {
    display: block;
    font-size: 13px;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 600;
}

.cbc-battle-value {
    font-size: 22px;
    font-weight: 900;
    color: #268bd6;
}
.cbc-battle-catchup {
    background: #ffffff;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
    color: #ea603e;
    border-left: 4px solid #ea603e;
}

.cbc-leader-msg {
    color: #2a89ce;
    background: #ffffff;
    border-left-color: #ea3e3e;
}

.cbc-contest-counter {
    text-align: center;
    border: 2px dashed rgb(234 96 62);
    margin-top: 40px;
    padding: 30px;
    background: #814d2f;
    border-radius: 12px;
    color: #fff;
}
.cbc-counter-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #ffab91;
}

.cbc-counter-days {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cbc-counter-days span {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
}

.cbc-counter-days small {
    font-size: 12px;
    font-weight: 600;
    color: #ffab91;
    margin-top: 5px;
}

/* Transparency, About, Contact sections */
.cbc-info-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.cbc-info-card {
    background: #fff;
    border: 1px solid var(--cbc-border-color);
    border-radius: 12px;
    padding: 25px;
}
.cbc-info-card h3 {
    margin-top: 0;
    color: #000;
    font-size: 18px;
    border-bottom: 2px solid var(--cbc-secondary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.cbc-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.cbc-info-card li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.cbc-info-footer {
    font-weight: 700;
    color: var(--cbc-secondary-color);
    margin: 0;
    font-size: 14px;
}

.cbc-contact-card {
    background: var(--cbc-bg-light);
    border-color: #ffe0b2;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .cbc-stats-grid-v2 {
        grid-template-columns: 1fr;
    }
    .cbc-info-sections {
        grid-template-columns: 1fr;
    }
    .cbc-contact-card {
        grid-column: span 1;
    }

.cbc-leaderboard-item {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.cbc-baby-name {
    padding: 0px;
}
.cbc-rank {
    width: 100%;
}
.cbc-vote-count {
    width: 100%;
    text-align: left;
}
.stat-box {
    width: 100%;
}

.container.cbc-voting-page-container {
    padding: 20px;
}
.cbc-status-header h3 {
    font-size: 18px;
}
.cbc-battle-value {
    font-size: 18px;
}
.cbc-battle-divider {
    font-size: 20px;
}
.cbc-battle-vs {
    flex-direction: column;
    gap: 10px;
}
.cbc-live-status-modern {
    padding: 20px;
}
.cbc-battle-catchup {
    font-size: 13px;
}
.cbc-voting-area {
    padding: 30px 20px 20px;
}
.cbc-info-card {
    padding: 20px;
}
.cbc-details-sidebar {
    padding: 20px;
}
.cbc-listing-header h2, .cbc-leaderboard-header h2, .cbc-vote-header h1 {
    font-size: 25px;
}

.leaderboard-table {
    padding: 25px 20px !important;
}
}
@media (max-width: 768px) {
    .cbc-trust-sections, .cbc-rewards-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 992px) {
    .cbc-grid-layout { grid-template-columns: repeat(2, 1fr); }
    .cbc-voting-page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .cbc-grid-layout { grid-template-columns: 1fr; }
    .cbc-photo-upload-wrapper { flex-direction: column; text-align: center; }
}
