/* GDPR Cookie Law - Modern Design CSS */
.gdpr-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: #ecf0f1;
    padding: 16px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    z-index: 999999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUp 0.4s ease-out forwards
}

.gdpr-cookie-banner.show {
    transform: translateY(0)
}

@keyframes slideUp {
    from {
        transform: translateY(100%)
    }

    to {
        transform: translateY(0)
    }
}

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

.gdpr-cookie-message {
    flex: 1;
    font-weight: 400;
    line-height: 1.4
}

.gdpr-cookie-message a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease
}

.gdpr-cookie-message a:hover {
    border-bottom: 1px solid #3498db
}

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

.gdpr-cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.gdpr-cookie-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s
}

.gdpr-cookie-btn:hover:before {
    transform: translateX(100%)
}

.gdpr-cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2)
}

.gdpr-cookie-btn:active {
    transform: translateY(-1px)
}

.gdpr-accept {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4)
}

.gdpr-accept:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.5)
}

.gdpr-decline {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4)
}

.gdpr-decline:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5)
}

@media (max-width:768px) {
    .gdpr-cookie-banner {
        padding: 12px 16px;
        bottom: 0
    }

    .gdpr-cookie-container {
        flex-direction: column;
        gap: 12px;
        text-align: center
    }

    .gdpr-cookie-message {
        margin: 0;
        font-size: 13px;
        line-height: 1.3
    }

    .gdpr-cookie-buttons {
        justify-content: center;
        width: 100%;
        gap: 8px
    }

    .gdpr-cookie-btn {
        flex: 1;
        min-width: 100px;
        padding: 8px 12px;
        font-size: 11px;
        font-weight: 500
    }
}

@media (max-width:480px) {
    .gdpr-cookie-banner {
        padding: 10px 12px
    }

    .gdpr-cookie-message {
        font-size: 12px
    }

    .gdpr-cookie-buttons {
        gap: 6px
    }

    .gdpr-cookie-btn {
        padding: 8px 10px;
        font-size: 10px
    }
}

.gdpr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out
}

.gdpr-modal.show {
    display: flex
}

.gdpr-modal-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1)
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(50px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

.gdpr-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #95a5a6;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%
}

.gdpr-modal-close:hover {
    color: #2c3e50;
    background: rgba(149, 165, 166, 0.1)
}

.gdpr-modal h2 {
    color: #2c3e50;
    margin: 0 0 24px 0;
    font-size: 24px;
    font-weight: 600
}

.gdpr-modal p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 24px
}

.gdpr-modal .cookie-category {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease
}

.gdpr-modal .cookie-category:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.1)
}

.gdpr-modal .category-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 16px
}

.gdpr-modal .category-description {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5
}

.gdpr-modal .cookie-toggle {
    margin-left: auto
}

.gdpr-modal .toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px
}

.gdpr-modal .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0
}

.gdpr-modal .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ddd;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 28px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1)
}

.gdpr-modal .toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2)
}

.gdpr-modal input:checked+.toggle-slider {
    background: linear-gradient(135deg, #27ae60, #2ecc71)
}

.gdpr-modal input:checked+.toggle-slider:before {
    transform: translateX(28px)
}

.gdpr-modal .modal-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    gap: 12px
}

.gdpr-modal .modal-buttons button {
    flex: 1;
    padding: 14px 20px;
    font-size: 14px
}

@media (max-width:768px) {
    .gdpr-modal-content {
        padding: 24px;
        margin: 20px
    }

    .gdpr-modal .modal-buttons {
        flex-direction: column
    }

    .gdpr-modal .modal-buttons button {
        width: 100%
    }
}