﻿/* Font Definitions */
@font-face {
    font-family: "Museo Sans 500 Medium", serif;
    src: url("../fonts/museo-sans/MuseoSans_500.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Museo Sans 700 Bold", serif;
    src: url("../fonts/museo-sans/MuseoSans_700.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

:root {
    --museo-medium: "Museo Sans 500 Medium";
    --museo-bold: "Museo Sans 700 Bold";
}

a {
    text-decoration: none;
    color: #fff;
}

main {
    overflow-x: hidden;
}

.main-container section {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.text-white {
    color: white !important;
}

.text-decoration-none {
    text-decoration: none !important;
}

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mx-auto {
    margin: auto;
}

.m-no-padding {
    padding: 0 !important;
}

.m-no-margin {
    margin: 0 !important;
}

@media screen and (max-width: 768px) {
    .m-no-display {
        display: none;
    }
}

/*Cookie*/
.fx-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .fx-cookie-banner.show {
        transform: translateY(0);
    }

.fx-cookie-banner-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.fx-cookie-banner-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.fx-cookie-banner-content {
    background: white;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-height: 80vh;
    overflow-y: auto;
}

.fx-cookie-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.fx-cookie-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4CAF50, #4CAF50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.fx-cookie-title h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
}

.fx-cookie-title p {
    margin: 0;
    color: #64748b;
    font-size: 0.875rem;
}

.fx-cookie-categories {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.fx-cookie-category {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.2s ease;
}

    .fx-cookie-category:hover {
        border-color: #4CAF50;
        background: #f0fdf4;
    }

.fx-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.fx-category-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
}

.fx-category-info p {
    margin: 0;
    font-size: 0.75rem;
    color: #64748b;
}

.fx-category-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
}

.fx-cookie-count {
    color: #64748b;
}

.fx-details-btn {
    background: none;
    border: none;
    color: #4CAF50;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

    .fx-details-btn:hover {
        background: #dcfce7;
    }

.fx-toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

    .fx-toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .fx-toggle-switch label {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #cbd5e1;
        border-radius: 20px;
        transition: all 0.2s;
    }

        .fx-toggle-switch label:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 2px;
            bottom: 2px;
            background-color: white;
            border-radius: 50%;
            transition: all 0.2s;
        }

    .fx-toggle-switch input:checked + label {
        background-color: #4CAF50;
    }

        .fx-toggle-switch input:checked + label:before {
            transform: translateX(20px);
        }

    .fx-toggle-switch.disabled label {
        cursor: not-allowed;
        opacity: 0.5;
    }

.fx-cookie-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

    .fx-cookie-details-modal.show {
        display: flex;
    }

.fx-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.fx-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

    .fx-modal-header h4 {
        margin: 0;
        font-size: 1.125rem;
        font-weight: 600;
        color: #0f172a;
    }

.fx-modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s;
}

    .fx-modal-close:hover {
        background: #f1f5f9;
    }

.fx-modal-body {
    padding: 1.5rem;
}

.fx-cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.fx-action-group {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.fx-policy-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.fx-policy-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.2s;
}

    .fx-policy-link:hover {
        color: #4CAF50;
    }

.fx-cookie-footer {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.fx-powered-by {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
}

    .fx-powered-by i {
        color: #4CAF50;
    }

.fx-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
}

.fx-btn-primary {
    background: #4CAF50;
    color: white;
}

    .fx-btn-primary:hover {
        background: #047857;
        transform: translateY(-1px);
    }

.fx-btn-secondary {
    background: #64748b;
    color: white;
}

    .fx-btn-secondary:hover {
        background: #475569;
        transform: translateY(-1px);
    }

.fx-btn-outline {
    background: transparent;
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

    .fx-btn-outline:hover {
        background: #4CAF50;
        color: white;
    }

.fx-btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.6875rem;
}

@media (max-width: 768px) {
    .fx-cookie-banner-content {
        padding: 1.5rem;
        max-height: 70vh;
    }

    .fx-cookie-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .fx-action-group {
        flex-direction: column;
    }

    .fx-policy-links {
        flex-direction: column;
        align-items: center;
    }

    .fx-cookie-banner.show {
        top: 0;
    }

    .fx-cookie-banner-container {
        top: 10%;
    }
}

/* Custom Text Selection */
::selection {
    background-color: #1a1a1a;
    color: #4CAF50;
}

::-moz-selection {
    background-color: #1a1a1a;
    color: #4CAF50;
}

/* Alternative selection style for better contrast */
::selection {
    background-color: #000000;
    color: #76ff00;
}

::-moz-selection {
    background-color: #000000;
    color: #76ff00;
}

.x-alert {
    width: 500px;
    top: 9rem;
    right: 5rem;
    position: fixed !important;
    z-index: 999;
    padding: .95rem 1.45rem !important;
    border: 1px solid transparent;
    box-shadow: 1px 1px 12px #2e2e2e63
}

#cookieWrapper, .cookie-consent-container {
    z-index: 1000;
    background-color: #fff;
    position: fixed
}

.alert-text {
    width: 95%;
    display: flex
}

.x-alert-success {
    background-color: #326211;
    color: #fff;
    animation: 1s successFade
}

.x-alert-danger {
    background-color: #ffe2e5;
    color: #5f0b0be0
}

.x-alert-warning {
    background-color: #ffcc29;
    color: #3b331d
}

.x-alert-info {
    background-color: #baebf3;
    color: #0c5460
}

.x-alert-detail {
    background-color: #cce5ff;
    color: #004085
}

.x-alert-close {
    cursor: pointer;
    transition: .3s;
    outline: 0;
    color: #111;
    padding: 0 .7rem;
    background-color: #fff;
    font-size: 24px;
    border: none;
    position: absolute;
    top: .4rem;
    right: .4rem;
    width: 38px
}

    .x-alert-close:hover {
        background-color: #ff1616f2;
        color: #fff
    }

    .x-alert-close:focus {
        outline: #d5d1d1 solid 1px
    }

@keyframes successFade {
    from {
        opacity: .5
    }

    to {
        opacity: 1
    }
}