.search-input-promotion,
.search-select-promotion {
    width: 400px;
    height: 62px;
    padding: 0 15px;
    border: 1px solid #171717;
    border-radius: 8px;
    font-size: 24px;
    color: #000;
}

.search-input-promotion::placeholder,
.search-select-promotion {
    color: #888;
}

.search-select-promotion {
    appearance: none;
    background-color: #fff;
    color: #888;
    padding-right: 30px;
    font-size: 24px;
}

@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
        align-items: center;
    }

    .search-input-promotion,
    .search-select-promotion {
        width: 80%;
        font-size: 16px;
    }
}

.container-promotion {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 45px;
    max-width: 1340px;
    margin: 0 auto;
    padding: 20px;
    justify-content: center;
}

.card-promotion {
    background-color: #2a2a2a;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
    width: 100%;
    max-width: 634px;
    height: auto;
}

.image-promotion {
    width: 100%;
    height: auto;
    max-height: 385px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.content-promotion {
    padding: 20px;
    text-align: center;
}

.title-promotion {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffa500;
}

.description-promotion {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #d3d3d3;
}

.button-promotion {
    background-color: #666;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    width: 90%;
    margin: 10px auto;
    display: block;
}

.button-promotion:hover {
    background-color: #aaa;
}

.button-promotion.active-promotion {
    background-color: #00b894;
    cursor: pointer;
}

.button-promotion.active-promotion:hover {
    background-color: #019874;
}

.button-promotion.expire-promotion {
    background-color: #E4362A;
    cursor: not-allowed;
}

.button-promotion.expire-promotion:hover {
    background-color: #e42416;
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-container {
    background: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal {
    cursor: pointer;
    font-weight: bold;
    font-size: 24px;
    margin-left: 15px;
}

@media (max-width: 1024px) {
    .container-promotion {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .container-promotion {
        grid-template-columns: 1fr;
    }

    .card-promotion {
        max-width: 100%;
    }
}