/* Active Raffles Page Styles
   ========================================================================== */

/* Raffle card styling */
.raffle-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.raffle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.raffle-card img,
.raffle-card .bg-gradient-to-r {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

/* Prize and timer tags for raffle cards */
.prize-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.timer-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    display: flex;
    align-items: center;
}

/* Progress bar for raffle progress */
.progress-bar {
    background-color: #e5e7eb;
    height: 0.5rem;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-value {
    height: 100%;
    transition: width 0.5s ease;
}

/* Gradient background for raffle cards and hero section */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, #0d9488, #115e59);
}

/* Search input styling */
.search-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Filter dropdown styling */
.filter-dropdown {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-image: none;
}

.filter-dropdown:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Category button styling */
.category-btn {
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.category-btn:hover {
    background-color: #e5e7eb;
}

.category-btn.active {
    background-color: #0d9488;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Pagination button styling */
.pagination-btn {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.pagination-btn:hover {
    background-color: #f3f4f6;
}

.pagination-btn.active {
    background-color: #0d9488;
    color: white;
    border-color: #0d9488;
}

/* Teal button styling */
a.bg-teal-600,
button.bg-teal-600 {
    background-color: #0d9488;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

a.bg-teal-600:hover,
button.bg-teal-600:hover {
    background-color: #115e59;
    transform: translateY(-2px);
}

/* Yellow button styling */
a.bg-yellow-500,
button.bg-yellow-500 {
    background-color: #f59e0b;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

a.bg-yellow-500:hover,
button.bg-yellow-500:hover {
    background-color: #d97706;
    transform: translateY(-2px);
}

/* Newsletter email input styling */
input[type="email"] {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="email"]:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .raffle-card img,
    .raffle-card .bg-gradient-to-r {
        height: 10rem;
    }

    .countdown-item {
        width: 3rem !important;
        height: 3rem !important;
        font-size: 1rem;
    }

    .category-btn {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 640px) {
    .filter-dropdown,
    .search-input {
        font-size: 0.875rem;
    }

    .pagination-btn {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.875rem;
    }
}