/* Cookie Consent Custom Styling */

/* Main container - Fixed at bottom */
#cc-main {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Wrapper */
.cm-wrapper {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    z-index: 9999 !important;
    padding: 20px !important;
}

/* Modal bar at bottom */
.cm.cm--bar.cm--bottom {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 15px 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #000a25 !important;
    color: white !important;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Body content */
.cm__body {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

/* Texts - left side */
.cm__texts {
    flex: 1 1 auto !important;
    margin: 0 !important;
}

.cm__title,
#cm__title {
    font-size: 2rem !important;
    color: white !important;
    margin: 0 0 5px 0 !important;
}

.cm__desc {
    color: #ddd !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.cm__desc a {
    color: #64b5f6 !important;
    text-decoration: underline !important;
}

/* Buttons - right side */
.cm__btns {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
}

.cm__btn-group {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
}

.cm__btn {
    padding: 10px 20px !important;
    border-radius: 4px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    display: inline-block !important;
    margin: 0 !important;
}

/* Accept button - blue */
.cm__btn[data-role="all"] {
    background-color: #0d47a1 !important;
    color: white !important;
}

.cm__btn[data-role="all"]:hover {
    background-color: #0a3d91 !important;
}

/* Decline/Necessary button - gray */
.cm__btn[data-role="necessary"] {
    background-color: #f5f5f5 !important;
    color: #1a1a1a !important;
}

.cm__btn[data-role="necessary"]:hover {
    background-color: #eeeeee !important;
}

/* Footer */
.cm__footer {
    display: none !important;
}

/* Preferences Modal */
#c-settings {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 10000 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cm__title,
    #cm__title {
        font-size: 1.4rem !important;
    }

    .cm.cm--bar.cm--bottom {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 15px 20px !important;
    }

    .cm__body {
        flex-direction: column !important;
    }

    .cm__texts {
        width: 100% !important;
    }

    .cm__btns {
        width: 100% !important;
        flex-direction: column !important;
    }

    .cm__btn-group {
        width: 100% !important;
        flex-direction: column !important;
    }

    .cm__btn {
        width: 100% !important;
        font-size: inherit !important;
    }
}
