/* GET Yazılım Çerez Politikası CSS */

/* Banner Ana Container */
.get-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.5s ease-out;
}

.cookie-banner-bottom {
    bottom: 0;
}

.cookie-banner-top {
    top: 0;
}

.cookie-banner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Açık Tema */
.cookie-banner-light {
    background: #ffffff;
    border-top: 3px solid #2563eb;
    color: #374151;
}

.cookie-banner-light .cookie-banner-title {
    color: #1f2937;
}

.cookie-banner-light .cookie-policy-link,
.cookie-banner-light .privacy-policy-link {
    color: #2563eb;
    text-decoration: underline;
}

.cookie-banner-light .cookie-policy-link:hover,
.cookie-banner-light .privacy-policy-link:hover {
    color: #1d4ed8;
}

/* Koyu Tema */
.cookie-banner-dark {
    background: #1f2937;
    border-top: 3px solid #60a5fa;
    color: #f9fafb;
}

.cookie-banner-dark .cookie-banner-title {
    color: #ffffff;
}

.cookie-banner-dark .cookie-policy-link,
.cookie-banner-dark .privacy-policy-link {
    color: #60a5fa;
    text-decoration: underline;
}

.cookie-banner-dark .cookie-policy-link:hover,
.cookie-banner-dark .privacy-policy-link:hover {
    color: #93c5fd;
}

/* Banner İçerik */
.cookie-banner-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-grow: 1;
}

.cookie-banner-text {
    flex-grow: 1;
}

.cookie-banner-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.cookie-banner-message {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Butonlar */
.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #059669;
    color: white;
}

.cookie-btn-accept:hover {
    background: #047857;
}

.cookie-btn-reject {
    background: #6b7280;
    color: white;
}

.cookie-btn-reject:hover {
    background: #4b5563;
}

.cookie-btn-settings {
    background: #2563eb;
    color: white;
}

.cookie-btn-settings:hover {
    background: #1d4ed8;
}

/* Kapatma Butonu */
.cookie-banner-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-banner-close:hover {
    color: #374151;
}

.cookie-banner-dark .cookie-banner-close:hover {
    color: #f9fafb;
}

/* Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

.cookie-modal-header {
    padding: 24px 24px 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.cookie-modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-close:hover {
    color: #374151;
}

.cookie-modal-body {
    padding: 24px;
}

.cookie-category {
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-category-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.cookie-category-desc {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: .4s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #059669;
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

input:disabled + .cookie-slider {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 0 24px 24px 24px;
    border-top: 1px solid #e5e7eb;
    text-align: right;
    margin-top: 24px;
}

/* Animasyonlar */
@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-top {
    animation: slideInTop 0.5s ease-out;
}

@keyframes slideInTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .cookie-banner-container {
        flex-direction: column;
        gap: 20px;
        padding: 16px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 16px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .cookie-banner-title {
        font-size: 16px;
    }
    
    .cookie-banner-message {
        font-size: 13px;
    }
    
    .cookie-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .cookie-modal-header h2 {
        font-size: 18px;
    }
}