body {
    font-family: 'Inter', sans-serif;
    background-color: #FDFBF8;
    color: #4A4A4A;
}

@media (max-width: 767px) {
    .detailed-offer-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .detailed-offer-list li {
        padding: 0.75rem 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .detailed-offer-list li:last-child {
        border-bottom: none;
    }
    
    .detailed-offer-list .flex {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .detailed-offer-list .font-medium {
        text-align: left;
        margin-top: 0.25rem;
    }
    
    .tooltip {
        position: relative;
        display: inline-block;
        margin-left: 0.25rem;
    }
    
    .tooltip .tooltip-text {
        visibility: hidden;
        width: 200px;
        background-color: #1F2937;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 8px 12px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    .tooltip:hover .tooltip-text {
        visibility: visible;
        opacity: 1;
    }
}
.chart-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    height: 400px;
    max-height: 50vh;
}
@media (max-width: 768px) {
    .chart-container {
        height: 500px;
        max-height: 60vh;
    }
}
.tab-button.active {
    border-color: #A16207;
    background-color: #FEF3C7;
    color: #A16207;
    font-weight: 600;
}
.timeline-table th, .timeline-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #F3EBE3;
}
.timeline-table thead th {
    font-weight: 600;
    background-color: #F8F3ED;
    color: #78350F;
    border-bottom: 2px solid #D6A46A;
}
.timeline-table tbody tr:hover {
    background-color: #FFF8F0;
}

/* User Flow Diagram Styling */
.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 150px;
}
.flow-card {
    background-color: #FFFFFF;
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #F3EBE3;
    min-height: 120px;
    width: 100%;
}
.flow-card:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    border-color: #A16207;
    transform: translateY(-2px);
}
.flow-arrow-right {
    position: relative;
    width: 30px;
    height: 2px;
    background-color: #A16207;
    margin: 0 16px;
}
.flow-arrow-right::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid #A16207;
}

@media (max-width: 1024px) {
    .user-flow-container {
        flex-direction: column;
    }
    .flow-arrow-right {
        width: 2px;
        height: 30px;
        margin: 16px 0;
    }
    .flow-arrow-right::after {
        top: auto;
        bottom: -6px;
        left: -4px;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #A16207;
    }
}

@media (min-width: 1024px) {
    .grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
.flow-node {
    position: relative;
}
.flow-node:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #92400e;
    font-size: 1.5rem;
    opacity: 0.5;
}
@media (max-width: 1023px) {
    .flow-node::after {
        display: none;
    }
}

.relative.group {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.tooltip {
    visibility: hidden;
    width: 200px;
    background-color: #1F2937;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.relative.group:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1F2937 transparent transparent transparent;
}

.fa-info-circle {
    font-size: 14px;
    transition: color 0.2s;
}

.relative.group:hover .fa-info-circle {
    color: #92400e;
}
