/* Hazır Kuponlar - 6'lı Ganyan Seçim Arayüzü CSS */
/* Tüm class'lar hazir-kupon- prefix'i ile başlar, diğer stillerle karışmaz */

#coupon-content-hazir-kupon {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.hazir-kupon-container {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 0;
    flex: 1 1 33.333%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.hazir-kupon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 0;
}

/* Ayak Bar - Görseldeki koyu mavi bar içinde beyaz kutular */
.hazir-kupon-ayak-bar {
    background-color: #1a3a5f;
    display: flex;
    gap: 8px;
    padding: 0;
    border-radius: 4px;
    margin-bottom: 10px;
    align-items: flex-start;
}

.hazir-kupon-ayak-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    margin-bottom: 4px;
}

.hazir-kupon-column .hazir-kupon-ayak-box {
    background-color: #ffffff;
    border-radius: 4px 4px 0 0;
    padding: 2px;
    width: 35px;
    height: 29px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.hazir-kupon-ayak-number {
    font-size: 11px;
    font-weight: 600;
    color: #000000;
    line-height: 1;
}

.hazir-kupon-ayak-text {
    font-size: 9px;
    font-weight: 500;
    color: #000000;
    line-height: 1;
}

.hazir-kupon-column .hazir-kupon-ayak-box.hazir-kupon-empty-box {
    background-color: #ffffff;
    border-radius: 4px 4px 0 0;
    width: 35px;
    height: 29px;
}

.hazir-kupon-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.hazir-kupon-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hazir-kupon-logo {
    display: flex;
    align-items: center;
    gap: 4px;
}

.hazir-kupon-logo-text {
    display: flex;
    align-items: center;
    line-height: 1;
}

.hazir-kupon-logo-img {
    height: auto;
    max-height: 40px;
    width: auto;
    display: block;
}

.hazir-kupon-play-btn {
    background-color: #FF7915;
    color: #ffffff;
    border: none;
    padding: 8px 5px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.hazir-kupon-play-btn:hover {
    background-color: #e56a0f;
    color: #ffffff;
    text-decoration: none;
}

.hazir-kupon-grid-wrapper {
    margin-bottom: 10px;
    width: 100%;
    background-color: #09162E;
    padding: 10px;
    border-radius: 4px;
    position: relative;
    box-sizing: border-box;
}

/* Ayak item satırının olduğu kısım için siyah arka plan */
.hazir-kupon-grid-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 75px; /* Grid padding-top (10px) + Ayak box (29px) + gap (4px) + H butonu (20px) + ayak-item padding (8px) + gap (4px) */
    background-color: #000000;
    border-radius: 4px 4px 0 0;
    z-index: 0;
}

.hazir-kupon-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    width: 100%;
    position: relative;
    z-index: 1;
    padding-top: 0px;
}

.hazir-kupon-grid-5 {
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
}

.hazir-kupon-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    width: 100%;
}

.hazir-kupon-column .hazir-kupon-ayak-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: fit-content;
    background-color: transparent;
    padding: 4px;
    border-radius: 4px;
    position: relative;
    z-index: 2;
}

.hazir-kupon-column-header {
    display: none;
}

.hazir-kupon-column .hazir-kupon-ayak-item .hazir-kupon-h-btn {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 0;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    cursor: default;
    pointer-events: none;
    transition: all 0.3s;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.hazir-kupon-column .hazir-kupon-ayak-item .hazir-kupon-h-btn:hover {
    background-color: #ffffff;
}

.hazir-kupon-column .hazir-kupon-ayak-item .hazir-kupon-h-btn.hazir-kupon-active {
    background-color: #FF7915;
    color: #ffffff;
}

.hazir-kupon-number-btn {
    background-color: #e0e0e0;
    color: #000000;
    border: none;
    padding: 0;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
    cursor: default;
    pointer-events: none;
    transition: all 0.3s;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hazir-kupon-number-btn:hover {
    background-color: #e0e0e0;
}

.hazir-kupon-number-btn.hazir-kupon-selected {
    background-color: #FF7915;
    color: #ffffff;
}

.hazir-kupon-number-btn.hazir-kupon-empty {
    background-color: rgba(255, 255, 255, 1);
    cursor: default;
    opacity: 1;
    width: 20px;
    height: 20px;
    pointer-events: none;
    border: none;
    color: transparent;
}

.hazir-kupon-summary {
    
    padding: 10px 12px;
    border-radius: 0 0 4px 4px;
    text-align: center;
    margin: 0 -10px -10px -10px;
    min-height: 40px;
    display: flex;
    align-items: center;
    
}

.hazir-kupon-summary-text {
    font-size: 13px;
    color: #ffffff;
    font-weight: 500;
    word-break: break-all;
    line-height: 1.4;
}
@media screen and (min-width: 1100px) {
#coupon-content-hazir-kupon{
padding: 5px 20px 20px 20px;
}
.hazir-kupon-grid{
    justify-content: center;
}
}

/* Responsive */
@media screen and (max-width: 1200px) {
    #coupon-content-hazir-kupon {
        flex-wrap: wrap;
    }
    
    .hazir-kupon-container {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .hazir-kupon-container {
        padding: 15px;
    }
    
    .hazir-kupon-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .hazir-kupon-header-right {
        width: auto;
        justify-content: flex-end;
        flex-shrink: 0;
    }
    
    .hazir-kupon-title {
        font-size: 15px;
        flex: 1 1 auto;
        min-width: 0;
    }
    
    .hazir-kupon-grid {
        width: 100%;
    }
    
    .hazir-kupon-number-btn {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
}

@media screen and (max-width: 400px) {
    .hazir-kupon-container {
        padding: 5px;
        overflow: hidden;
    }
    
    .hazir-kupon-grid-wrapper {
        padding: 3px;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hazir-kupon-grid {
        gap: 0px;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        overflow: hidden;
    }
    
    .hazir-kupon-column {
        gap: 7px;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }
    
    .hazir-kupon-number-btn {
        width: 15px;
        height: 15px;
        font-size: 9px;
        min-width: 0;
        max-width: 100%;
        flex-shrink: 1;
    }
    
    .hazir-kupon-number-btn.hazir-kupon-empty {
        width: 15px;
        height: 15px;
        min-width: 0;
        max-width: 100%;
        flex-shrink: 1;
    }
    
    .hazir-kupon-column .hazir-kupon-ayak-item .hazir-kupon-h-btn {
        width: 15px;
        height: 15px;
        font-size: 8px;
        min-width: 0;
        max-width: 100%;
        flex-shrink: 1;
    }
    
    .hazir-kupon-column .hazir-kupon-ayak-box {
        width: 20px;
        height: 20px;
        padding: 1px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hazir-kupon-column .hazir-kupon-ayak-box.hazir-kupon-empty-box {
        width: 20px;
        height: 20px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hazir-kupon-ayak-number {
        font-size: 8px;
    }
    
    .hazir-kupon-ayak-text {
        font-size: 6px;
    }
    
    .hazir-kupon-column .hazir-kupon-ayak-item {
        padding: 1px;
        gap: 5px;
        max-width: 100%;
        box-sizing: border-box;
        width: fit-content;
    }
    
    .hazir-kupon-grid-wrapper::before {
        height: 50px;
    }
    
    .hazir-kupon-summary {
        padding: 6px 4px;
        font-size: 10px;
        margin: 0 -3px -3px -3px;
        max-width: calc(100% + 6px);
        box-sizing: border-box;
    }
    
    .hazir-kupon-summary-text {
        font-size: 10px;
    }
}

/* Yapay Zeka Kupon Önerileri - Tüm Kuponlara Git Linki */
.hazir-kupon-all-link {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-align: right;
    color: #000000;
    margin: 10px 15px 10px auto;
    padding: 0;
    letter-spacing: 0%;
    text-underline-offset: 0;
    text-decoration-thickness: auto;
}

/* main-coupon içinde sağ alt köşeye yerleştirme */
.main-coupon {
    position: relative;
}

.main-coupon .hazir-kupon-all-link {
    position: absolute;
    bottom: 10px;
    right: 15px;
    margin: 0;
}
/* 2025-12-17 custom additions */
.ayakwon {
    background-color: #90ee90 !important;
}

.ayaklost {
    background-color: #ff2400 !important;
}


