/* Cookie Consent Styles */
#cookie-content-tr {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #2c3e50;
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

/* Cookie Settings Modal */
.cookie-settings {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    background: white !important;
    color: #333;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 10000;
    border: 2px solid #e9ecef;
}

/* Modal arka planı beyaz */
.cookie-settings {
    background: white !important;
}

/* Modal arka plan overlay kaldırıldı */

/* Eski stil kaldırıldı - modal stil kullanılıyor */

.cookie-box h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    background: white;
}

/* Header bölümü flexbox yap */
.cookie-box .row:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-box h5 {
    color: #2c3e50;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    background: white;
}

.cookie-box p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    background: white;
}

.cookie-box a {
    color: #3498db;
    text-decoration: none;
}

.cookie-box a:hover {
    text-decoration: underline;
}

.cx {
    color: #666;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    float: right;
    margin-left: auto;
}

.cx:hover {
    color: #333;
}

.cookie-container h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cookie-container p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
}

.cookie-container a {
    color: #3498db;
    text-decoration: none;
}

.cookie-container a:hover {
    text-decoration: underline;
}

/* Button Styles */
.cookie-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-btn:hover {
    background: #2980b9;
}

.cookie-btn2 {
    background: #1a365d;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-btn2:hover {
    background: #1a365d;
    color: #90ee52;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    float: right;
    margin-left: 10px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sslider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.sslider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .sslider {
    background-color: #3498db;
}

input:disabled + .sslider {
    background-color: #95a5a6;
    cursor: not-allowed;
}

input:checked + .sslider:before {
    transform: translateX(26px);
}

/* Details/Summary Styling */
details {
    margin-bottom: 15px;
}

summary {
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary:hover {
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    #cookie-content-tr {
        padding: 15px;
    }
    
    .cookie-settings {
        width: 95%;
        max-width: none;
        max-height: 90vh;
        padding: 15px;
        margin: 10px;
    }
    
    .cookie-container h4 {
        font-size: 16px;
    }
    
    .cookie-container p {
        font-size: 13px;
    }
    
    .cookie-btn, .cookie-btn2 {
        padding: 6px 15px;
        font-size: 13px;
    }
}

/* Animation */
.cookie-settings {
    animation: scaleIn 0.3s ease-out;
}

.cookie-container {
    animation: slideUp 0.3s ease-out;
}

@keyframes scaleIn {
    from {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
} 