/* style/promotions-daily-rebate.css */
.page-promotions-daily-rebate {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.page-promotions-daily-rebate__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-promotions-daily-rebate__hero {
    background: linear-gradient(135deg, #007bff, #ffc107);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.page-promotions-daily-rebate__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-promotions-daily-rebate__title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-rebate__subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-promotions-daily-rebate__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin: 0 10px;
    cursor: pointer;
}

.page-promotions-daily-rebate__btn--primary {
    background-color: #0056b3; /* Darker blue for contrast */
    color: #fff;
    border: 2px solid #0056b3;
}

.page-promotions-daily-rebate__btn--primary:hover {
    background-color: #003f80;
    border-color: #003f80;
    transform: translateY(-2px);
}

.page-promotions-daily-rebate__btn--secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.page-promotions-daily-rebate__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-promotions-daily-rebate__hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 1;
    overflow: hidden;
}

.page-promotions-daily-rebate__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-promotions-daily-rebate__section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-promotions-daily-rebate__section:nth-of-type(even) {
    background-color: #f0f8ff; /* Light blue tint for alternating sections */
}

.page-promotions-daily-rebate__section-title {
    font-size: 2.5em;
    color: #007bff;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-promotions-daily-rebate__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ffc107;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-promotions-daily-rebate__introduction p,
.page-promotions-daily-rebate__why-join p,
.page-promotions-daily-rebate__calculation-guide p,
.page-promotions-daily-rebate__how-to-claim p,
.page-promotions-daily-rebate__conditions p,
.page-promotions-daily-rebate__faq p,
.page-promotions-daily-rebate__conclusion p {
    font-size: 1.1em;
    margin-bottom: 1em;
    color: #444;
}

.page-promotions-daily-rebate__introduction strong,
.page-promotions-daily-rebate__conclusion strong {
    color: #007bff;
}

.page-promotions-daily-rebate__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-promotions-daily-rebate__feature-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.page-promotions-daily-rebate__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-promotions-daily-rebate__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.1));
}

.page-promotions-daily-rebate__feature-item h3 {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-promotions-daily-rebate__formula {
    font-size: 1.3em;
    font-weight: bold;
    color: #007bff;
    background-color: #e9f5ff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 30px 0;
    border: 1px dashed #007bff;
}

.page-promotions-daily-rebate__table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-promotions-daily-rebate__rebate-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions-daily-rebate__rebate-table th,
.page-promotions-daily-rebate__rebate-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
    font-size: 1em;
    color: #333;
}

.page-promotions-daily-rebate__rebate-table th {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
}

.page-promotions-daily-rebate__rebate-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.page-promotions-daily-rebate__rebate-table tbody tr:hover {
    background-color: #e0f0ff;
}

.page-promotions-daily-rebate__steps {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions-daily-rebate__steps li {
    background-color: #f8f9fa;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #ffc107;
    position: relative;
    counter-increment: step-counter;
}

.page-promotions-daily-rebate__steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: -25px;
    top: 30px;
    background-color: #ffc107;
    color: #333;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-rebate__steps li h3 {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 15px;
    padding-left: 30px; /* Adjust for step number */
}

.page-promotions-daily-rebate__btn--outline {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
    margin-top: 15px;
}

.page-promotions-daily-rebate__btn--outline:hover {
    background-color: #007bff;
    color: #fff;
}

.page-promotions-daily-rebate__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-daily-rebate__list {
    list-style: disc;
    margin-left: 25px;
    padding-left: 0;
    margin-top: 20px;
}

.page-promotions-daily-rebate__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #444;
}

.page-promotions-daily-rebate__list li strong {
    color: #007bff;
}

.page-promotions-daily-rebate__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-daily-rebate__faq-items {
    margin-top: 30px;
}

.page-promotions-daily-rebate__faq-item {
    background-color: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions-daily-rebate__faq-question {
    font-size: 1.3em;
    color: #007bff;
    padding: 20px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e9f5ff;
    border-bottom: 1px solid #d0e8ff;
    transition: background-color 0.3s ease;
}

.page-promotions-daily-rebate__faq-question:hover {
    background-color: #d0e8ff;
}

.page-promotions-daily-rebate__faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-promotions-daily-rebate__faq-item.active .page-promotions-daily-rebate__faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.page-promotions-daily-rebate__faq-answer {
    padding: 0 20px 20px;
    font-size: 1.1em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-promotions-daily-rebate__faq-item.active .page-promotions-daily-rebate__faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding-top: 15px;
}

.page-promotions-daily-rebate__btn--cta {
    background-color: #ffc107;
    color: #333;
    border: 2px solid #ffc107;
    font-size: 1.2em;
    padding: 15px 35px;
    margin-top: 40px;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

.page-promotions-daily-rebate__btn--cta:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-promotions-daily-rebate__title {
        font-size: 2.8em;
    }
    .page-promotions-daily-rebate__subtitle {
        font-size: 1.2em;
    }
    .page-promotions-daily-rebate__section-title {
        font-size: 2em;
    }
    .page-promotions-daily-rebate__features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-promotions-daily-rebate__steps li::before {
        left: 10px;
        top: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
    .page-promotions-daily-rebate__steps li h3 {
        padding-left: 55px;
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-promotions-daily-rebate__hero {
        padding: 60px 0;
    }
    .page-promotions-daily-rebate__title {
        font-size: 2.2em;
    }
    .page-promotions-daily-rebate__subtitle {
        font-size: 1em;
    }
    .page-promotions-daily-rebate__btn {
        padding: 12px 25px;
        font-size: 1em;
        margin: 5px;
    }
    .page-promotions-daily-rebate__section {
        padding: 40px 0;
    }
    .page-promotions-daily-rebate__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-promotions-daily-rebate__steps li {
        padding: 20px;
        border-left: 3px solid #ffc107;
    }
    .page-promotions-daily-rebate__steps li::before {
        left: -15px;
        top: 20px;
    }
    .page-promotions-daily-rebate__steps li h3 {
        font-size: 1.4em;
        padding-left: 25px;
    }
    .page-promotions-daily-rebate__rebate-table th,
    .page-promotions-daily-rebate__rebate-table td {
        padding: 10px;
        font-size: 0.9em;
    }
    .page-promotions-daily-rebate__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-promotions-daily-rebate__faq-answer {
        font-size: 1em;
    }
}

@media (max-width: 576px) {
    .page-promotions-daily-rebate__title {
        font-size: 1.8em;
    }
    .page-promotions-daily-rebate__subtitle {
        font-size: 0.9em;
    }
    .page-promotions-daily-rebate__btn {
        display: block;
        margin: 10px auto;
        width: fit-content;
    }
    .page-promotions-daily-rebate__section-title {
        font-size: 1.5em;
    }
    .page-promotions-daily-rebate__features {
        grid-template-columns: 1fr;
    }
    .page-promotions-daily-rebate__steps li::before {
        position: static;
        display: inline-flex;
        margin-right: 10px;
        margin-bottom: 10px;
    }
    .page-promotions-daily-rebate__steps li h3 {
        padding-left: 0;
        text-align: center;
        font-size: 1.3em;
    }
    .page-promotions-daily-rebate__rebate-table {
        display: block;
        width: 100%;
    }
    .page-promotions-daily-rebate__rebate-table thead, .page-promotions-daily-rebate__rebate-table tbody, .page-promotions-daily-rebate__rebate-table th, .page-promotions-daily-rebate__rebate-table td, .page-promotions-daily-rebate__rebate-table tr {
        display: block;
    }
    .page-promotions-daily-rebate__rebate-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .page-promotions-daily-rebate__rebate-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }
    .page-promotions-daily-rebate__rebate-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #007bff;
    }
    .page-promotions-daily-rebate__rebate-table td:nth-of-type(1)::before { content: 'Sản Phẩm:'; }
    .page-promotions-daily-rebate__rebate-table td:nth-of-type(2)::before { content: 'Tỷ Lệ Hoàn Trả:'; }
    .page-promotions-daily-rebate__rebate-table td:nth-of-type(3)::before { content: 'Mô Tả:'; }
}