/* Today's Birthdays Block Styles */
.wegreen-today-birthday {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Header Styles */
.wegreen-today-birthday .header {
    border-radius: 10px 10px 0 0;
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row !important;
    text-align: left;
    gap: 0;
}

.wegreen-today-birthday .header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0!important;
}

.wegreen-today-birthday .nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wegreen-today-birthday .nav-btn {
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
}

.wegreen-today-birthday .nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.wegreen-today-birthday .nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.wegreen-today-birthday .nav-btn svg {
    width: 20px;
    height: 20px;
}

/* Slider Styles */
.wegreen-today-birthday .slider-container {
    position: relative;
    max-width: 94%;
    margin: 0 auto;
}

.wegreen-today-birthday .slider-wrapper {
    overflow: hidden;
}

.wegreen-today-birthday .slider-track {
    display: flex;
    transition: transform 0.7s ease-out;
    gap: 12px;
}

.wegreen-today-birthday .slide {
    flex-shrink: 0;
    width: calc(25% - 12px);
    padding: 0 8px;
}

/* Card Styles */
.wegreen-today-birthday .card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.5s ease;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.wegreen-today-birthday .card:hover {
    border-color: #217346;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.wegreen-today-birthday .image-container {
    position: relative;
    margin-bottom: 16px;
}

.wegreen-today-birthday .profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f3f4f6;
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease;
}

.wegreen-today-birthday .card:hover .profile-image {
    transform: scale(1.05);
}

.wegreen-today-birthday .celebrity-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.wegreen-today-birthday .card:hover .celebrity-name {
    color: #217346;
}

.wegreen-today-birthday .celebrity-age {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
}

.wegreen-today-birthday .celebrity-profession {
    font-size: 13px;
    color: #9ca3af;
    background-color: #f3f4f6;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Pagination Dots */
.wegreen-today-birthday .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    margin-bottom: 16px;
    padding: 0 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    max-width: 100%;
}

.wegreen-today-birthday .pagination::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.wegreen-today-birthday .dot {
    width: 8px;
    height: 8px;
    min-width: 8px; /* Prevent shrinking on mobile */
    min-height: 8px;
    border-radius: 50%;
    background-color: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0 3px;
    flex-shrink: 0; /* Prevent dots from shrinking */
}

.wegreen-today-birthday .dot:hover {
    background-color: #9ca3af;
}

.wegreen-today-birthday .dot.active {
    background-color: #217346;
    width: 24px !important;
    min-width: 24px !important;
    border-radius: 4px !important;
}

/* Media query adjustments for dots on mobile */
@media (max-width: 768px) {
    .wegreen-today-birthday .pagination {
        gap: 5px;
        margin-top: 16px;
    }
    
    /* Force dots to maintain the same shape and size as desktop */
    .wegreen-today-birthday .dot {
        width: 8px !important;
        height: 8px !important;
        min-width: 8px !important;
        min-height: 8px !important;
        border-radius: 50% !important;
    }
    
    .wegreen-today-birthday .dot.active {
        width: 24px !important;
        min-width: 24px !important;
        border-radius: 4px !important;
    }
}

/* Remove the prev/next styling for dots */
.wegreen-today-birthday .dot-prev:before,
.wegreen-today-birthday .dot-next:before {
    content: none;
}

/* Empty message */
.wegreen-today-birthday .empty-message {
    padding: 20px;
    text-align: center;
    color: #6b7280;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .wegreen-today-birthday .slide {
        width: calc(33.333% - 11px);
    }
}

@media (max-width: 768px) {
    .wegreen-today-birthday .slide {
        width: calc(50% - 8px);
    }
    .wegreen-today-birthday .header {
        flex-direction: row !important;
        text-align: left;
        gap: 0;
        padding: 12px;
    }
    .wegreen-today-birthday .nav-btn {
        width: 30px;
        height: 30px;
        min-height: 30px !important;
    }
    .wegreen-today-birthday .nav-btn svg {
        width: 24px;
        height: 24px;
    }
    .wegreen-today-birthday .slider-track {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .wegreen-today-birthday .slide {
        width: calc(50% - 8px);
    }
    .wegreen-today-birthday .header {
        padding: 10px;
    }
    .wegreen-today-birthday .slider-track {
        gap: 6px;
    }
} 