/* ZeelPlay - My Offers Page (Exact Design Match) */
/* Header and Footer styles are in common.css */

/* Main Content */
.main-content {
    padding: 112px 21px 20px 21px;
}

/* Details Stats Box */
.details-box {
    position: relative;
    width: 100%;
    height: 98px;
    background: #1F1F1F;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 18px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    position: relative;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 25px;
    line-height: 32px;
    color: #FFFFFF;
}

.stat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    text-align: center;
}

/* Divider Line */
.stat-divider {
    width: 2px;
    height: 66px;
    background: rgba(255, 255, 255, 0.1);
}

/* Page Title */
.page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #FFFFFF;
    margin-bottom: 13px;
}

/* Tabs */
.tabs-container {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    white-space: nowrap;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.tabs-container::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    height: 32px;
    padding: 0 15px;
    background: #1F1F1F;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 17px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
}

.tab-btn.active {
    background: #FFDB11;
    color: #131313;
}

/* Offer Cards List */
.offers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Offer Card */
.offer-card-horizontal {
    position: relative;
    width: 100%;
    height: 90px;
    background: #1F1F1F;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 22px;
    text-decoration: none;
}

/* App Logo */
.app-logo {
    width: 58px;
    height: 60px;
    border-radius: 13px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Offer Info */
.offer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.offer-type {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 15px;
    line-height: 19px;
    color: #FFFFFF;
}

.offer-name {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
    color: #FFFFFF;
}

/* Coins Box */
.coins-box {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 12px;
    background: #131313;
    border: 1px solid rgba(255, 254, 254, 0.1);
    border-radius: 20px;
    flex-shrink: 0;
}

.coins-box .coin-icon {
    width: 22px;
    height: 22px;
}

.coins-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #FFFFFF;
}

/* No History State - When No Offers in Current Tab */
.no-history-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 40px 20px;
}

.no-history-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 330px;
}

.no-history-icon {
    width: 166px;
    height: 140px;
    margin-bottom: 15px;
}

.no-history-title {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.no-history-description {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    max-width: 330px;
    margin: 0;
}

/* Non-Clickable Cards (for completed, submitted, rejected offers) */
.offer-card-horizontal.non-clickable {
    cursor: default;
    opacity: 0.8;
}

.offer-card-horizontal.non-clickable:hover {
    background: #1F1F1F;
    transform: none;
}

.offer-card-horizontal.non-clickable:active {
    transform: none;
}

/* Responsive Design */
@media (max-width: 412px) {
    .main-content {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .offer-card-horizontal {
        padding: 12px;
        gap: 16px;
    }
    
    .offer-name {
        font-size: 18px;
        line-height: 23px;
    }
    
    .coins-box {
        padding: 0 10px;
    }
}

/* No Offers State - Perfectly Centered in Viewport */
.no-offers-container {
    position: fixed;
    top: 74px; /* Below header (16px + 58px) */
    left: 0;
    right: 0;
    bottom: 85px; /* Above footer (917px - 832px) */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.no-offers-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 330px;
}

.no-offer-icon {
    width: 211.37px;
    height: 179.77px;
    margin-bottom: 15px;
}

.no-offers-title {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.no-offers-description {
    font-family: 'Space Grotesk', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    max-width: 330px;
    margin: 0;
}

/* Tablet and larger */
@media (min-width: 768px) {
    .details-box {
        padding: 0 40px;
    }
}
