/**
*
* -----------------------------------------------------------------------------
* Template : Haber Alanya
* Author : M.Ceylan
* Instagram : @mceylanofficial
* -----------------------------------------------------------------------------
*
**/


.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    justify-content: center;
    align-items: center;
}
.search-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.search-box input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}
.search-box input:focus {
    border-color: #3498db;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s;
}
.close-btn:hover {
    color: #e74c3c;
}
 .rate-value.up {
        color: #28a745 !important;
        font-weight: bold;
    }
    .rate-value.down {
        color: #dc3545 !important;
        font-weight: bold;
    }
    .rate-value.stable {
        color: #fd7e14 !important;
        font-weight: bold;
    }
    .arrow {
        font-weight: bold;
    }
    .arrow.up {
        color: #28a745 !important;
    }
    .arrow.down {
        color: #dc3545 !important;
    }
    .arrow.stable {
        color: #fd7e14 !important;
    }
    .bugun {
        display: inline-block;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 11px;
        font-weight: bold;
        color: white;
        background: linear-gradient(135deg, #6e48aa, #9d50bb);
        padding: 8px 15px;
        border-radius: 20px;
        text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    }

  .sport-list-item:hover {
            transform: translateY(-5px);
        }
        .sport-list-item:hover img {
            transform: scale(1.05);
        }
        .section-header a:hover {
            background: #fff;
            color: var(--green);
        }
        .sport-list-img {
            overflow: hidden;
        }
		
		  .sport-list-item:hover {
            transform: translateY(-5px);
        }
        .sport-list-item:hover img {
            transform: scale(1.05);
        }
        .section-header a:hover {
            background: #fff;
            color: var(--purple);
        }
        .sport-list-img {
            overflow: hidden;
        }
		
		   .sport-list-item:hover {
            transform: translateY(-5px);
        }
        .sport-list-item:hover img {
            transform: scale(1.05);
        }
        .section-header a:hover {
            background: #fff;
            color: var(--dark);
        }
        .sport-list-img {
            overflow: hidden;
        }
		
		 .sport-list-item:hover {
            transform: translateY(-5px);
        }
        .sport-list-item:hover img {
            transform: scale(1.05);
        }
        .section-header a:hover {
            background: #fff;
            color: #3498db;
        }
        .sport-list-img {
            overflow: hidden;
        }
		
		 .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .tag-cloud a {
            background: #f1f1f1;
            color: #333;
            padding: 8px 18px;
            border-radius: 25px;
            font-size: 0.85rem;
            transition: all 0.3s;
            text-decoration: none;
        }
        
        .tag-cloud a:hover {
            background: linear-gradient(135deg, #e63946, #c1121f);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 3px 10px rgba(230, 57, 70, 0.3);
        }
		
		.sidebar-list-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.sidebar-list-item:last-child {
    border-bottom: none;
}

.sidebar-list-item:hover {
    background: #f8f9fa;
}

.sidebar-list-img {
    flex: 0 0 60px;
}

.sidebar-list-img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s;
}

.sidebar-list-img:hover img {
    transform: scale(1.1);
}

.sidebar-list-content {
    flex: 1;
    margin-left: 10px;
}

.sidebar-list-content a {
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
}

.sidebar-list-content a:hover {
    color: #e63946;
}

 #superlig-table {
            width: 100%;
            border-collapse: collapse;
            font-family: Arial, sans-serif;
            font-size: 14px; 
        }
        #superlig-table th, #superlig-table td {
            border: 1px solid #ddd;
            padding: 5px; 
            text-align: center;
            line-height: 1.3; 
        }
        #superlig-table th {
            background-color: #4CAF50;
            color: white;
        }
        #superlig-table td.team-column {
            text-align: left; 
            padding-left: 8px; 
        }
        #superlig-table tr.superlig-even {
            background-color: #f2f2f2;
        }
        #superlig-table tr.superlig-odd {
            background-color: #ffffff;
        }
        #superlig-table tr:hover {
            background-color: #e6f3ff; 
        }
        #superlig-table tr td.superlig-champions {
            background-color: #FFD700; 
        }
        #superlig-table tr td.superlig-champions-pre {
            background-color: #FFA500; 
        }
        #superlig-table tr td.superlig-europa-playoff {
            background-color: #32CD32; 
        }
        #superlig-table tr td.superlig-europa-pre {
            background-color: #1E90FF; 
        }
        #superlig-table tr td.superlig-conference-pre {
            background-color: #9370DB;
        }
        #superlig-table tr td.superlig-relegation {
            background-color: #FF4500; 
        }
        .superlig-legend {
            margin-top: 20px;
            font-family: Arial, sans-serif;
            font-size: 12px; 
        }
        .superlig-legend p {
            margin: 5px 0;
        }
        .superlig-legend span {
            display: inline-block;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            margin-right: 10px;
            vertical-align: middle;
        }
        .superlig-legend-champions { background-color: #FFD700; }
        .superlig-legend-champions-pre { background-color: #FFA500; }
        .superlig-legend-europa-playoff { background-color: #32CD32; }
        .superlig-legend-europa-pre { background-color: #1E90FF; }
        .superlig-legend-conference-pre { background-color: #9370DB; }
        .superlig-legend-relegation { background-color: #FF4500; }
		
		
		 #tff1lig-table {
        width: 100%;
        border-collapse: collapse;
        font-family: Arial, sans-serif;
        font-size: 14px;
    }
    #tff1lig-table th, #tff1lig-table td {
        border: 1px solid #ddd;
        padding: 5px;
        text-align: center;
        line-height: 1.3;
    }
    #tff1lig-table th {
        background-color: #4CAF50;
        color: white;
    }
    #tff1lig-table td.team-column {
        text-align: left;
        padding-left: 8px;
    }
    #tff1lig-table tr.tff1lig-even {
        background-color: #f2f2f2;
    }
    #tff1lig-table tr.tff1lig-odd {
        background-color: #ffffff;
    }
    #tff1lig-table tr:hover {
        background-color: #e6f3ff;
    }
    #tff1lig-table tr td.tff1lig-promotion {
        background-color: #90EE90;
    }
    #tff1lig-table tr td.tff1lig-playoff-final {
        background-color: #FFFF99; 
    }
    #tff1lig-table tr td.tff1lig-playoff {
        background-color: #ADD8E6; 
    }
    #tff1lig-table tr td.tff1lig-relegation {
        background-color: #DC143C; 
    }
    .tff1lig-legend {
        margin-top: 20px;
        font-family: Arial, sans-serif;
        font-size: 12px;
    }
    .tff1lig-legend p {
        margin: 5px 0;
    }
    .tff1lig-legend span {
        display: inline-block;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        margin-right: 10px;
        vertical-align: middle;
    }
    .tff1lig-legend-promotion { background-color: #90EE90; }
    .tff1lig-legend-playoff-final { background-color: #FFFF99; }
    .tff1lig-legend-playoff { background-color: #ADD8E6; }
    .tff1lig-legend-relegation { background-color: #DC143C; }
	
	 #premierlig-table {
        width: 100%;
        border-collapse: collapse;
        font-family: Arial, sans-serif;
        font-size: 14px;
    }
    #premierlig-table th, #premierlig-table td {
        border: 1px solid #ddd;
        padding: 5px;
        text-align: center;
        line-height: 1.3;
    }
    #premierlig-table th {
        background-color: #4CAF50;
        color: white;
    }
    #premierlig-table td.team-column {
        text-align: left;
        padding-left: 8px;
    }
    #premierlig-table tr.premierlig-even {
        background-color: #f2f2f2;
    }
    #premierlig-table tr.premierlig-odd {
        background-color: #ffffff;
    }
    #premierlig-table tr:hover {
        background-color: #e6f3ff;
    }
    #premierlig-table tr td.premierlig-champions {
        background-color: #98FB98; 
    }
    #premierlig-table tr td.premierlig-europa {
        background-color: #FFCC99; 
    }
    #premierlig-table tr td.premierlig-conference {
        background-color: #DDA0DD; 
    }
    #premierlig-table tr td.premierlig-relegation {
        background-color: #FF6347; 
    }
    .premierlig-legend {
        margin-top: 20px;
        font-family: Arial, sans-serif;
        font-size: 12px;
    }
    .premierlig-legend p {
        margin: 5px 0;
    }
    .premierlig-legend span {
        display: inline-block;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        margin-right: 10px;
        vertical-align: middle;
    }
    .premierlig-legend-champions { background-color: #98FB98; }
    .premierlig-legend-europa { background-color: #FFCC99; }
    .premierlig-legend-conference { background-color: #DDA0DD; }
    .premierlig-legend-relegation { background-color: #FF6347; }
	
	#bundesliga-table {
        width: 100%;
        border-collapse: collapse;
        font-family: Arial, sans-serif;
        font-size: 14px;
    }
    #bundesliga-table th, #bundesliga-table td {
        border: 1px solid #ddd;
        padding: 5px;
        text-align: center;
        line-height: 1.3;
    }
    #bundesliga-table th {
        background-color: #4CAF50;
        color: white;
    }
    #bundesliga-table td.team-column {
        text-align: left;
        padding-left: 8px;
    }
    #bundesliga-table tr.bundesliga-even {
        background-color: #f2f2f2;
    }
    #bundesliga-table tr.bundesliga-odd {
        background-color: #ffffff;
    }
    #bundesliga-table tr:hover {
        background-color: #e6f3ff;
    }
    #bundesliga-table tr td.bundesliga-champions {
        background-color: #FFFF99; 
    }
    #bundesliga-table tr td.bundesliga-europa {
        background-color: #40E0D0;
    }
    #bundesliga-table tr td.bundesliga-conference {
        background-color: #FFB6C1; 
    }
    #bundesliga-table tr td.bundesliga-relegation-playoff {
        background-color: #A9A9A9; 
    }
    #bundesliga-table tr td.bundesliga-relegation {
        background-color: #B22222; 
    }
    .bundesliga-legend {
        margin-top: 20px;
        font-family: Arial, sans-serif;
        font-size: 12px;
    }
    .bundesliga-legend p {
        margin: 5px 0;
    }
    .bundesliga-legend span {
        display: inline-block;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        margin-right: 10px;
        vertical-align: middle;
    }
    .bundesliga-legend-champions { background-color: #FFFF99; }
    .bundesliga-legend-europa { background-color: #40E0D0; }
    .bundesliga-legend-conference { background-color: #FFB6C1; }
    .bundesliga-legend-relegation-playoff { background-color: #A9A9A9; }
    .bundesliga-legend-relegation { background-color: #B22222; }
	
	 #laliga-table {
        width: 100%;
        border-collapse: collapse;
        font-family: Arial, sans-serif;
        font-size: 14px;
    }
    #laliga-table th, #laliga-table td {
        border: 1px solid #ddd;
        padding: 5px;
        text-align: center;
        line-height: 1.3;
    }
    #laliga-table th {
        background-color: #4CAF50;
        color: white;
    }
    #laliga-table td.team-column {
        text-align: left;
        padding-left: 8px;
    }
    #laliga-table tr.laliga-even {
        background-color: #f2f2f2;
    }
    #laliga-table tr.laliga-odd {
        background-color: #ffffff;
    }
    #laliga-table tr:hover {
        background-color: #e6f3ff;
    }
    #laliga-table tr td.laliga-champions {
        background-color: #87CEEB; 
    }
    #laliga-table tr td.laliga-europa {
        background-color: #FFA07A; 
    }
    #laliga-table tr td.laliga-conference {
        background-color: #90EE90;
    }
    #laliga-table tr td.laliga-relegation {
        background-color: #C71585;
    }
    .laliga-legend {
        margin-top: 20px;
        font-family: Arial, sans-serif;
        font-size: 12px;
    }
    .laliga-legend p {
        margin: 5px 0;
    }
    .laliga-legend span {
        display: inline-block;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        margin-right: 10px;
        vertical-align: middle;
    }
    .laliga-legend-champions { background-color: #87CEEB; }
    .laliga-legend-europa { background-color: #FFA07A; }
    .laliga-legend-conference { background-color: #90EE90; }
    .laliga-legend-relegation { background-color: #C71585; }
	
	 .popup {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        justify-content: center;
        align-items: center;
    }
    .popup-content {
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        width: 90%;
        max-width: 800px;
        position: relative;
    }
    .popup-close {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 1.5rem;
        cursor: pointer;
        color: #333;
    }
    .popup-close:hover {
        color: #e63946;
    }
    .sidebar-section.widget {
        margin-bottom: 20px;
    }
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
        color: #333;
        display: flex;
        align-items: center;
    }
    .section-title i {
        margin-right: 8px;
        color: #e63946;
    }
    .section-title .bugun {
        font-size: 0.9rem;
        color: #6c757d;
        margin-left: 8px;
    }
    .pharmacy-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        transition: background 0.3s;
    }
    .pharmacy-item:last-child {
        border-bottom: none;
    }
    .pharmacy-item:hover {
        background: #f1f1f1;
    }
    .pharmacy-info p {
        margin: 2px 0;
        line-height: 1.4;
    }
    .pharmacy-map a {
        text-decoration: none;
        color: #fff;
        background: #e63946;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 0.85rem;
        transition: background 0.3s;
    }
    .pharmacy-map a:hover {
        background: #d62828;
    }
    
    .pharmacy-tab-header {
        cursor: pointer;
        padding: 10px;
        background: #e63946;
        color: #fff;
        border-radius: 5px 5px 0 0;
        margin: 5px 0 0;
        font-size: 1.1rem;
        transition: background 0.3s;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }
    .pharmacy-tab-header:hover {
        background: #d62828;
    }
    .pharmacy-tab-header::after {
        content: '▼';
        font-size: 0.9rem;
    }
    .pharmacy-tab-header.active::after {
        content: '▲';
    }
    .pharmacy-tab-content {
        max-height: 0;
        overflow: hidden;
        padding: 0 10px;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 0 0 5px 5px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
        width: 100%;
        box-sizing: border-box;
    }
    .pharmacy-tab-content.active {
        max-height: 500px;
        padding: 10px;
    }
    
    .tab-container {
        width: 100%;
        margin: 0;
        padding: 0;
        background: linear-gradient(135deg, #f8f9fa, #ffffff);
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        border: 1px solid #eee;
    }
    
    .modal_body_map {
        padding: 15px;
    }
    #map_canvas {
        width: 100%;
        height: 400px;
    }
    
    .pharmacy-tab-content.alanya-merkez {
        max-height: 400px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #e63946 #f1f1f1;
    }
    .pharmacy-tab-content.alanya-merkez::-webkit-scrollbar {
        width: 8px;
    }
    .pharmacy-tab-content.alanya-merkez::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    .pharmacy-tab-content.alanya-merkez::-webkit-scrollbar-thumb {
        background: #e63946;
        border-radius: 10px;
    }
    .pharmacy-tab-content.alanya-merkez::-webkit-scrollbar-thumb:hover {
        background: #d62828;
    }