/* jquery-eu-cookie-law-popup styles */
.eupopup-container {
    background-color: rgba(25, 25, 25, 0.9);
    color: #efefef;
    padding: 5px 20px;
    font-size: 12px;
    line-height: 1.2em;
    text-align: center;
    display: none;
    z-index: 9999999;
}

    .eupopup-container .eupopup-body a {
        color: #fff;
        text-decoration: underline;
    }

.behat-site .eupopup-container-bottom {
    position: absolute;
}

.eupopup-container-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

.eupopup-closebutton {
    font-size: 16px;
    font-weight: 100;
    line-height: 1;
    color: #a2a2a2;
    opacity: 0.2;
    position: absolute;
    font-family: helvetica, arial, verdana, sans-serif;
    top: 0;
    right: 0;
    padding: 5px 10px;
}

.eupopup-buttons {
    padding: 7px 0 5px 0;
}

.eupopup-button {
    margin: 0 10px;
    white-space: nowrap !important;
}

    .eupopup-button:hover,
    .eupopup-button:focus {
        text-decoration: underline;
        color: #f6a21d;
    }

.eupopup-body {
    max-width: 600px !important;
}

    /* tool_policy styles */
    .eupopup-body li {
        display: inline;
    }

        .eupopup-body li:before {
            content: ", ";
        }

        .eupopup-body li:first-child:before {
            content: "";
        }

    .eupopup-body ul {
        padding: 0;
        margin: 0 0 3px;
    }

.eupopup-closebutton:hover,
.eupopup-closebutton:active {
    text-decoration: none;
}

.eupopup-head {
    font-size: 1.2em;
    font-weight: bold;
    padding: 7px;
}

.eupopup-button_1 {
    font-weight: bold;
    font-size: 14px;
}

.eupopup-button_2 {
    display: none;
}

.eupopup-button {
    color: #f6a21d;
}

.policy-heading .policy-viewdoc-buttons {
    text-align: center;
    /* margin: 15px; */
}

#page-admin-tool-policy-acceptances .colselect {
    width: 35px;
}

.custom-policy-container {
    background-color: white;
    color: #76559c;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 38px 0; */
    box-shadow: 0px -20px 20px rgba(0, 0, 0, 0.1);
}

/* Fixed bottom positioning */
.custom-policy-fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Header styling */
.custom-policy-header {
    font-size: 18px;
    font-weight: bold;
    /* margin-bottom: 15px; */
    color: #333;
    text-align: center;
}

/* Body content styling */
.custom-policy-body {
    font-size: 14px !important;
    line-height: 1.5;
    /* margin-bottom: 15px; */
    margin-bottom: 0px !important;
    text-align: start !important;
    line-height: normal !important;
}

    /* Link styling */
    .custom-policy-body a {
        color: #76559C;
        text-decoration: none;
        font-weight: 500;
    }

        .custom-policy-body a:hover {
            text-decoration: underline;
        }

/* Policy list styling */
.custom-policy-list {
    padding: 0;
    margin: 10px 0;
    list-style-type: none;
    text-align: left;
}

.custom-policy-list-item {
    display: inline;
    margin-right: 5px;
}

    .custom-policy-list-item:not(:first-child):before {
        content: ", ";
    }

/* Button container */
.custom-policy-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* margin-top: 15px; */
    margin-top: 0px !important;
}

/* Primary button styling */
.custom-policy-button-primary {
    background-color: white !important;
    color: #76559C !important;
    border: 2px solid #76559C !important;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
    width: 148.33px;
    height: 38px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

    .custom-policy-button-primary:hover {
        background-color: #634784;
        text-decoration: none;
        color: white;
        cursor: pointer;
    }


.custom-policy-button-secondary {
    color: #76559C;
    border: 2px solid #76559C;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 14px !important;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
    width: 148.33px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    white-space: nowrap !important;
}

    .custom-policy-button-secondary:hover {
        text-decoration: none;
    }

.custom-policy-h1 {
    font-size: 24px;
    font-weight: bold !important;
}
