:root{
/*====================AD=================*/
--ad-primary-bg-color: #17202e;
--fb-border: #4b5563;
/*=========================BRAND COLOR=======================*/
--brand-color: #e84d67;

/*=========================BACKGROUND COLOR=======================*/
--primary-bg: #111827;
--sec-bg: #17202e;
--card-bg: #17202e;

/*=========================TEXT COLOR=======================*/

--text-heading: #FFFFFF;
--primary-text-color: #9CA3AF;
--sec-text-color: #d1d5db;
--white-color: #FFFFFF;


/*=========================MOVIE CARD RATING BOX=======================*/
--movie-card-rating-box-bg: #161920;
--movie-card-rating-box-border: #383c43;
--movie-card-rating-box-color: #FFFFFF;

/*=========================ACTIVE AND INACTIVE=======================*/
--active-bg: #e84d67;
--active-border: #e84d67;
--active-color: #FFFFFF;

--inactive-bg: #17202e;
--inactive-border: #4b5563;
--inactive-color: #9ca3af;

/*=========================SLIDER NAV BG=======================*/
--slider-nav-bg: #111827;
--slider-nav-border: #4b5563;
--slider-nav-color: #9ca3af;
}

/*===========INTRO SECTION===========*/

.boxoffice-intro-section{
background-color: #17202e;
border-radius: 8px;
border: 1px solid #374151;
padding: 24px;
transition: all 0.3s;  
margin-bottom: 32px;
}

.boxoffice-intro-section:hover{
border-color: #4b5563;
}

.boxoffice-heading{font-size: 30px;  font-weight: 700; color: var(--text-heading);  margin-bottom: 8px; }
.boxoffice-container {font-size: 16px; line-height: 26px; color: #9CA3AF;}
.read-more-btn{color: #60A5FA;font-size: 16px;font-weight: 500;background: none;border: none;cursor: pointer;transition: color 0.2s ease;}
.read-more-btn:hover {color: #93C5FD;}
.hidden {display: none;}


/*=========================box office container=======================*/
.box-office-container {
background-color: #17202e;
border: 1px solid #374151;
border-radius: 8px; 
overflow: hidden;
margin-bottom: 32px;
}

/* box office header */
.box-office-header {
background-color: #242a38;
padding: 16px; 
}

.box-office-header h3 {
color: #ffffff;
font-weight: bold;
font-size: 20px;
}

.box-office-header p {
color: #9ca3af; 
font-size: 14px; 
margin-top: 14px; 
}

/* box office inner box*/
.box-office-inner-box {
padding: 24px; 
}

.fb-boxoffice-mainwrapper {margin-bottom: 24px;}
.fb-boxoffice-container {display: grid;grid-template-columns: repeat(3, 1fr);gap: 20px;}

/* Table */
.box-office-table-container {
background-color: #111827;
border: 1px solid #4b5563;
border-radius: 8px;
overflow: hidden;
}

.table-wrapper table {
width: 100%;
border-collapse: collapse;
}

.table-wrapper th,
.table-wrapper td {
padding: 12px 16px;
font-size: 14px;
color: #ffffff;
font-weight: 500;
text-align: left;
vertical-align: middle;
}

.table-wrapper th:not(:first-child) {
text-align: right;
}

.table-wrapper td:not(:first-child) {
text-align: right;
}

.table-wrapper td:last-child{
font-weight: bold;
}

.table-wrapper th {
background-color: #1f2937;
font-weight: 600;
border-bottom: 1px solid #4b5563;
}

.table-wrapper tr:nth-child(even) {
background-color: #0f1419;
}

.table-wrapper tr:nth-child(odd) {
background-color: #111827;
}

.table-wrapper tr {
transition: background-color 0.2s;
}

.table-wrapper tr:hover {
background-color: #1f2937;
}

.boxoffice-movie-name {
display: flex;
align-items: center;
gap: 12px;
}

.boxoffice-rank {
width: 28px; 
height: 28px;
background-color: #e84d67;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: bold;
color: #ffffff;
flex-shrink: 0;
}


/*=========================Box Office load more btn=======================*/
.boxoffice-btnwrap {text-align: center;margin-bottom: 24px;}
.boxoffice-loadmore {color: #fff;padding: 12px 24px;border-radius: 8px;font-size: 16px;font-weight: 500;border: 1px solid #e84d67;background: #e84d67;color: #FFFFFF;box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);transition: background-color 0.2s ease;text-align: center;cursor: pointer;}

.boxoffice-loadmore:hover {background: #e84d67e6;}


/*=========================Box Office Desc=======================*/
.box-office-desc {
background-color: #17202e; 
border-radius: 8px;
border: 1px solid #374151;
padding: 24px; 
color: #ffffff;
margin-bottom: 32px;  
margin-top: 32px;
}

.box-office-desc .box-office-desc-block {
margin-bottom: 24px;  
}

.box-office-desc .box-office-desc-block:last-child{
margin-bottom: 0px;
}

.box-office-desc .box-office-desc-block h3 {
font-size: 20px;
font-weight: bold; 
color: #ffffff; 
margin-bottom: 12px;
}

.box-office-desc .box-office-desc-block p {
font-size: 16px; 
line-height: 24px;   
color: #d1d5db;
}


.disclaimer-box{
margin-bottom: 32px;
}


/*============BOXOFF COLLECTION DATA==============*/
.boxoff-collection-data {
background-color: #17202e;
border: 1px solid #374151;
border-radius: 8px; 
overflow: hidden;
padding: 24px;
margin-bottom: 32px;
}

.boxoff-collection-data h3 {
font-size: 20px;
font-weight: bold;
margin-bottom: 24px;
color: #FFF;
}

/*============BOXOFF COLLECTION TABLE==============*/
.boxoff-collection-table table {
width: 100%;
border-collapse: collapse;
}

/*============BOXOFF COLLECTION TABLE - TH==============*/
.boxoff-collection-table th {
text-align: left;
padding: 16px 12px;
font-size: 14px;
font-weight: 600;
color: #d1d5db;
border-bottom: 1px solid #374151;
vertical-align: middle;
}

/*============BOXOFF COLLECTION TABLE - TR==============*/
.boxoff-collection-table tr {
border-bottom: 1px solid rgba(55, 65, 81, 0.5);
transition: background-color 0.3s ease;
}

.boxoff-collection-table tbody tr:hover {
background-color: #1f2937;
}

/*============BOXOFF COLLECTION TABLE - TD==============*/
.boxoff-collection-table td {
padding: 16px 12px;
vertical-align: middle;
color: #fff;
}

/*============BOXOFF MOVIE BLOCK==============*/
.boxoffice-movie-block {
display: flex;
align-items: center;
gap: 16px;
}

.boxoffice-movie-img {
flex-shrink: 0;
transition: transform 0.3s ease, border 0.3s ease;
}

.boxoffice-movie-img img {
width: 60px;
height: 80px;
object-fit: cover;
border-radius: 8px;
border: 1px solid #4b5563;
}

.boxoff-collection-table tr:hover .boxoffice-movie-img img {
border-color: #e84d67;
transform: scale(1.05);
}

/*============BOXOFF MOVIE DETAILS==============*/

.boxoffice-movie-details h4 {
font-size: 14px;
font-weight: 600;
margin: 0 0 6px 0;
transition: color 0.3s ease;
}

.boxoffice-movie-details p {
font-size: 12px;
color: #9ca3af;
line-height: 1.4;
}

.boxoffice-movie-details span {
color: #d1d5db;
font-weight: 500;
}

.boxoff-collection-table tr:hover .boxoffice-movie-details h4 {
color: #e84d67;
}

/*============MOVIE BUDGET AND MOVIE COLLECTION AMOUNT==============*/
.movie-budget, .movie-collection-amount{
font-size: 14px;
font-weight: 600;
}

/*============MOVIE CLOSING AMOUNT==============*/

.movie-closing-amount {
font-weight: 700;
}

/*============BOXOFF MV DATA NOTE==============*/
.boxoff-mv-data-note {
margin-top: 16px; 
padding-top: 16px; 
border-top: 1px solid #374151;
}

.boxoff-mv-data-note p {
color: #9ca3af;
font-size: 14px; 
}

/*============MORE BOX OFFICE LIST - RIGHT SIDE==============*/
.more-boxoffice-list {
max-height: 384px; 
overflow-y: auto;
padding: 8px;
}

.more-boxoffice-item {
display: block;
position: relative;
padding: 12px;
border-bottom: 1px solid rgba(55, 65, 81, 0.3);
border-radius: 8px;
text-decoration: none;
transition: all 0.3s ease;
overflow: hidden;
cursor: pointer;
}

.more-boxoffice-item:last-child {
border-bottom: none;
}

.more-boxoffice-item h4 {
color: #ffffff;
font-weight: 500;
font-size: 14px;
line-height: 1.4;
position: relative;
z-index: 2;
transition: color 0.3s ease;
}

/* Gradient background hover */
.more-boxoffice-item::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(to right, rgba(232, 77, 103, 0.05), transparent);
opacity: 0;
transition: opacity 0.3s ease;
}

/* Left border line hover */
.more-boxoffice-item::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 0;
background-color: #e84d67;
transition: height 0.3s ease;
}

.more-boxoffice-item:hover {
background-color: #1f2937;
}

.more-boxoffice-item:hover::before {
opacity: 1;
}

.more-boxoffice-item:hover::after {
height: 100%;
}

.more-boxoffice-item:hover h4 {
color: #e84d67;
}

/* Scrollbar styling */
.more-boxoffice-list::-webkit-scrollbar {
width: 4px;
}

.more-boxoffice-list::-webkit-scrollbar-track {
background: #1f2937;
}

.more-boxoffice-list::-webkit-scrollbar-thumb {
background: #e84d67;
border-radius: 2px;
}

.more-boxoffice-list::-webkit-scrollbar-thumb:hover {
background: rgba(232, 77, 103, 0.8);
}