/**
 * MSB Cookie Consent - Updated Design (Floating Bottom Bar)
 */

.msb-cookie-consent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 11%;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.msb-cookie-consent.active {
    visibility: visible;
    opacity: 1;
}

.msb-cookie-consent__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 41, 57, 0.6);
}

.msb-cookie-consent__dialog {
    position: relative;
    width: 100%;
    max-width: 1366px;
    padding: 0 24px;
    overflow: hidden;
    transform: translateY(100px);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.msb-cookie-consent.active .msb-cookie-consent__dialog {
    transform: translateY(0);
}

.msb-cookie-consent__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background: #FEEFE7;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.msb-cookie-consent__text-wrap {
    flex: 1;
    padding: 12px 16px;
}

.msb-cookie-consent__title {
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    color: #091E42;
    margin: 0 0 4px 0;
}

.msb-cookie-consent__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #505F79;
    margin: 0;
}

.msb-cookie-consent__link {
    color: #5591ff;
    margin-left: 4px;
    font-weight: 500;
}

.msb-cookie-consent__link:hover {
    color: #3371e0;
}

.msb-cookie-consent__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    min-width: fit-content;
    padding: 0 16px;
}

.msb-cookie-consent__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    white-space: nowrap;
    text-transform: none;
    max-width: 96px;
    max-height: 44px;
    margin: 10px 0;
}

.msb-cookie-consent__btn--reject {
    color: #F4600C;
    border: 1px solid transparent;
}

.msb-cookie-consent__btn--reject:hover {
    background: #ffffff;
    border: 1px solid #F4600C
}

.msb-cookie-consent__btn--accept {
    background: linear-gradient(324.32deg, #E45F35 20.9%, #FFA95A 110.29%);
    color: #ffffff;
    border: 1px solid transparent;
}

.msb-cookie-consent__btn--accept:hover {
    background: #ffffff;
    color: #F4600C;
    border: 1px solid #F4600C
}

@media (max-width: 1023px) {

    .msb-cookie-consent__dialog {
        padding: 0 12px;
    }

    .msb-cookie-consent__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 12px;
    }

    .msb-cookie-consent__text-wrap {
        padding: 0;
    }

    .msb-cookie-consent__actions {
        width: 100%;
        justify-content: space-between;
        padding: 0;
        gap: 10px;
    }

    .msb-cookie-consent__btn {
        margin-top: 0;
        padding: 10px 20px;
        font-size: 15px;
        flex: 1;
        max-width: 100%;
    }

}