/* Cookie Consent Styles */

/* Modal Backdrop */
.cookie-consent-modal,
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    justify-content: center;
    align-items: center;
}

.cookie-consent-modal.active,
.cookie-settings-modal.active {
    display: flex;
}

/* Modal Content */
.cookie-consent-content,
.cookie-settings-content {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Title */
.cookie-consent-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Cookie Consent Text */
.cookie-consent-text {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #333333;
    font-size: 15px;
}

.cookie-consent-text p {
    margin-bottom: 12px;
}

.cookie-consent-text p:last-child {
    margin-bottom: 0;
}

.cookie-policy-link {
    color: #d4a574;
    text-decoration: none;
    font-style: italic;
}

.cookie-policy-link:hover {
    text-decoration: underline;
}

/* Action Buttons */
.cookie-consent-actions,
.cookie-settings-footer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-cookie-settings {
    background-color: #000000;
    color: #ffffff;
    flex: 1;
    min-width: 200px;
}

.btn-cookie-settings:hover {
    background-color: #333333;
}

.btn-cookie-reject {
    background-color: #000000;
    color: #ffffff;
    flex: 1;
    min-width: 150px;
}

.btn-cookie-reject:hover {
    background-color: #333333;
}

.btn-cookie-accept {
    background-color: #000000;
    color: #ffffff;
    flex: 1;
    min-width: 150px;
}

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

/* Cookie Settings Modal Header */
.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-settings-header h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
}

.btn-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    color: #000000;
}

/* Cookie Categories */
.cookie-settings-body {
    margin-bottom: 25px;
    max-height: 400px;
    overflow-y: auto;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

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

.cookie-category-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 8px;
}

.cookie-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #d4a574;
}

.cookie-checkbox:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-category-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
}

.cookie-category-required {
    color: #999999;
    font-size: 12px;
}

.cookie-category-description {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    margin: 0;
    margin-left: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-content,
    .cookie-settings-content {
        padding: 25px;
        width: 95%;
    }

    .cookie-consent-title {
        font-size: 22px;
    }

    .cookie-consent-text {
        font-size: 14px;
    }

    .cookie-consent-actions,
    .cookie-settings-footer {
        flex-direction: column;
    }

    .btn-cookie-settings,
    .btn-cookie-reject,
    .btn-cookie-accept {
        width: 100%;
        min-width: unset;
    }

    .cookie-settings-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn-close {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .cookie-consent-content,
    .cookie-settings-content {
        padding: 20px;
        max-height: 95vh;
    }

    .cookie-consent-title {
        font-size: 18px;
    }

    .cookie-consent-text {
        font-size: 13px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}
