/* Premium Tight Layout for Fast Loading */
.extent-style-graph-card {
    border: 1px solid #1b2623;
    border-radius: 4px;
    padding: 12px 15px; /* Padding strictly fixed as per Zion */
    background: #fff;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.extent-graph-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 8px; /* Gap reduced */
}

.extent-main-title { color: #1b2623; font-size: 16px; font-weight: 800; margin: 0; }
.extent-sub-title { display: block; color: #1b2623; font-size: 14px; font-weight: 700; text-align: center; }

.extent-graph-logo { font-size: 15px; font-weight: 900; }
.extent-graph-logo .ext-txt { color: #1b2623; }
.extent-graph-logo .res-txt { color: #f3a847; }

.extent-dashed-line { border-top: 1px dashed #ccc; margin: 10px 0; }

/* Adjusted Graph Height for better mobile view */
.extent-graph-body { display: flex; align-items: center; height: 230px; }
.extent-y-axis-label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9px; color: #666; margin-right: 8px; font-weight: bold; }
.extent-canvas-container { flex: 1; height: 100%; }

/* CAGR Box Style Fix */
.extent-cagr-box-fixed {
    background: #7d3c15;
    color: #fff;
    padding: 4px 12px;
    font-weight: 800;
    font-size: 12px;
    border-radius: 2px;
    display: inline-block;
}

.extent-footer-top { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.extent-source-text { font-size: 10px; color: #337ab7; font-weight: bold; }

/* Animated Pulse Button Inside */
.extent-inner-btn-area { text-align: center; margin-top: 15px; }
.extent-pulse-btn {
    background: #33a5dd;
    color: #fff;
    padding: 8px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    display: inline-block;
    transition: 0.3s;
    animation: extent-pulse 2s infinite;
}

@keyframes extent-pulse {
    0% { transform: scale(0.97); box-shadow: 0 0 0 0 rgba(51, 165, 221, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(51, 165, 221, 0); }
    100% { transform: scale(0.97); box-shadow: 0 0 0 0 rgba(51, 165, 221, 0); }
}

/* Mobile Friendly Optimization */
@media (max-width: 767px) {
    .extent-style-graph-card { padding: 10px; margin: 15px 0; }
    .extent-graph-header { flex-direction: column; gap: 5px; text-align: center; }
    .extent-graph-body { height: 200px; }
    .extent-main-title { font-size: 14px; }
}

/* Segmentation Table Styling */
.extent-segmentation-container { margin: 25px 0; font-family: Arial, sans-serif; }

.seg-title { 
    color: #1b2623; 
    font-size: 18px; 
    font-weight: 800; 
    border-left: 4px solid #f3a847; 
    padding-left: 12px; 
    margin-bottom: 15px; 
}

.extent-seg-table { width: 100%; border-collapse: collapse; border: 1px solid #ddd; background: #fff; }
.extent-seg-table th { background: #f8f9fa; padding: 12px; border: 1px solid #ddd; text-align: left; color: #1b2623; font-weight: 800; }
.extent-seg-table td { padding: 15px; border: 1px solid #ddd; vertical-align: top; font-size: 14px; line-height: 1.6; color: #444; }

.param-label { background: #ffffff; font-weight: 700; width: 30%; color: #1b2623; }
.param-data ul { margin: 0; padding-left: 18px; }
.param-data li { margin-bottom: 5px; }

.pricing-link-area { margin-top: 10px; }
.pricing-link-area a { color: #33a5dd; font-weight: 800; text-decoration: none; font-size: 13px; transition: 0.3s; }
.pricing-link-area a:hover { text-decoration: underline; color: #1b2623; }

/* Mobile View */
@media (max-width: 767px) {
    .extent-seg-table thead { display: none; }
    .extent-seg-table td { display: block; width: 100% !important; border-bottom: none; }
    .param-label { background: #f4f4f4; border-bottom: 1px solid #ddd !important; }
}