/* Custom page CSS
-------------------------------------------------- */
:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-purple-hover: #613aa9;
    --bs-pink: #d63384;
    --bs-red: #b93e05;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-primary: rgba(140, 169, 135, 0.7) !important; /* new */
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #b93e05;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-primary-rgb: 140, 169, 135; /* new */
    --bs-secondary-rgb: 108,117,125;
    --bs-success-rgb: 25,135,84;
    --bs-info-rgb: 13,202,240;
    --bs-warning-rgb: 255,193,7;
    --bs-danger-rgb: 220,53,69;
    --bs-light-rgb: 248,249,250;
    --bs-dark-rgb: 33,37,41;
    --bs-white-rgb: 255,255,255;
    --bs-black-rgb: 0,0,0;
    --bs-body-rgb: 33,37,41;
    --bs-header-rgb: 242,235,229;
    --bs-font-sans-serif: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #212529;
    --bs-body-bg: #fff;
}


/* Not required for template or sticky footer method. */
main > .container {
    /*padding: 160px 15px 120px 15px;*/
    padding: 160px 15px 20px 15px;
}

#mainNav {
    /*background-color: #f2ebe5;*/
}
#mainNav.bg-light {
    background-color: rgba(var(--bs-header-rgb), var(--bs-bg-opacity)) !important;
}

footer {
    /* padding-top: 60px;*/
}

.check-group-btn .btn {
    margin: 0.5rem 0.25rem;
}

/* Datapicker */
#ui-datepicker-div {
    z-index: 100 !important;
}

/* Register OK page */
.suggestion-wrap {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
}

.card-vip .card-header {
    background-image: url("../img/header_circle.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-text {
    color: rgba(255,255,255,0.5);
    /*font-size: 3rem;*/
    font-size: calc(0.5rem + 2.4vw);
    font-weight: 300;
    padding-left: 1.5rem;
    line-height: 1;
    text-transform: uppercase;
    background-image: linear-gradient(
            -225deg,
            rgba(255,255,255,0.4) 0%,
            rgba(255,255,255,0.6) 29%,
            rgba(255,255,255,0.8) 67%,
            rgba(255,255,255,0.9) 100%
    );
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    display: inline-block;

}

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}

.card-vip .card-header img {
    width: 30%;
    height: auto;
    border: 2px solid rgba(255,255,255,0.5);
}

/* New btn colors */
.btn-purple {
    color: #fff;
    background-color: var(--bs-purple);
    border-color: var(--bs-purple);
}
.btn-purple:hover {
    color: #fff;
    background-color: var(--bs-purple-hover);
    border-color: var(--bs-purple-hover);
}

.btn-primary {
    color: #f5ece5;
    background-color: rgba(var(--bs-primary-rgb), 1);
    border-color: rgba(var(--bs-primary-rgb), 1);
}

.btn-primary:hover {
    background-color: var(--bs-green);
    border-color: var(--bs-green);
}

/* Fragebogen section */
.frag24h {
    background-color: #dec0a8;
    background-image: url('../img/bkg-home.webp');
    background-position: top left;
    padding-top: 130px;
    padding-bottom: 30px;
    background-repeat: no-repeat;
}

.frag24h .hero {
    /*display: flex;*/
    gap: 2rem;
}

.frag24h .progress-bar {
    background-color: var(--bs-primary);
}

.hero-poll {
    background-color: rgba(255,255,255,0.7);
    /*padding: 2rem;*/
    padding: 0 0;
}

.hero-right {
    width: 50%;
}

.hero-title {
    padding-top: 20rem;
    width: 50%;
}

.hero-title h2 span {
    background-color: rgba(0,0,0,0.5);
    color: #dec0a8;
    margin: 0.25rem 0 0.25rem 0;
    padding: 0.25rem 0.25rem;
    line-height: 1;
    display: inline-block;
}
.hero-title h2 span.inverse {
    background-color: rgba(134, 161, 127, 0.65);
    color: rgba(0, 0, 0, 0.80);
}

.form-container {
    width: 100%;
}
.form-container .header {
    background-color: rgba(85, 57, 46, 0.6);
    padding: 1rem 2rem;
}
.form-container .header h1 {
    margin-bottom: 0;
    color: #f5ece5;
    font-size: 1.75rem;
}

.form-container .form-inner {
    padding: 2rem;
}

.hidden {
    display: none;
}


.frag24h .form-check {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    padding: 0.5rem 0.5rem;
    position: relative; /* Добавяме relative позициониране */
}

.frag24h input[type="checkbox"],
.frag24h input[type="radio"] {
    font-size: 1.5rem;
    margin: 0.25em 0 0.25em 0.5rem;
    position: relative; /* Добавяме relative позициониране */
    z-index: 2; /* Слагаме по-висок z-index */
}

.frag24h .form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.frag24h .form-check-input:focus {
    outline: none;  /* Премахва външния син контур */
    box-shadow: 0 0 0 0.25rem rgba(163, 197, 155, 0.25); /* Добавя зелена сянка */
}

.frag24h .form-check-label {
    width: 100%;
    text-transform: capitalize;
    padding: 0.5rem 0.5rem 0.5rem 3rem;
    margin-left: -2.5rem;
    border: 1px solid rgba(85, 57, 46, 0.6);
    position: relative; /* Добавяме relative позициониране */
    z-index: 1; /* По-нисък z-index от input-а */
    cursor: pointer; /* Добавяме курсор pointer */
}

.frag24h .form-check-label:hover {
    background-color: rgba(85, 57, 46, 0.1);
}

label:not(.form-check-label):not(.btn):not(.list-group-item),
.col-form-label, .frag24h legend {
    font-weight: bold;
    color: rgba(85, 57, 46, 0.6);
}


.frag24h legend {
    font-size: 1rem;
}

.benefits {
    background-color: rgba(81, 61, 54, 1);
    padding: 2rem 0;
}
.benefits ul {
    list-style: none;
    color: #dec0a8;
    margin: 0;
    padding: 0 0;
}
.benefits ul li {
    display: flex;
    /*width: 25%;*/
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Добавено за вертикално центриране */
    text-align: center;
    gap: 1rem;
}
.benefits h4 {
    font-size: 1.25rem;
}

.alert-secondary {
    color: #513D36;
    background-color: #f5ece5;
    border-color: #dec0a8;
}

.goog-stars {
    color: #513D36;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
    align-items: flex-end;
}

.reviews {
    background-color: rgba(140, 169, 135, 0.7);
}

.security {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0 0;
    margin: 0;
    gap: 3rem;
    list-style: none;
}
.security li {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 991.98px) {
    .toast-container {
        position: relative !important;
        margin-top: 2rem;
    }

    .hero-poll, .hero-title {
        width: 100%;
    }
    .hero-title {
        padding-top: 0;
    }

    .goog-stars {
        background-color: rgba(255,255,255,0.5);
        padding: 0.5rem 0.5rem;
    }
}

/* Small devices (landscape phones, 768px and down) */
@media (max-width: 769px) {
    .front main {
        margin-top: 140px;
    }
    main > .container {
        padding: 60px 15px 10px 15px;
    }

    #mainNav.bg-opacity-75 {
        --bs-bg-opacity: 1;
    }

    .login-bar {
        justify-content: center;
    }
    .login-bar .uname {
        order: 3;
    }
    .login-bar .nav-link {
        padding: 0.25rem 1rem;
    }

    .frag24h {
        background-position: top center;
        padding-top: 0;
        padding-bottom: 20px;
    }

    .hero-right {
        width: 100%;
    }

    .security {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0 2rem;
        gap: 0.5rem;
    }

}

    /* Premium ribbon */
    .ribbon-wrap {
        z-index: 1;
        overflow: hidden;
    }
    .ribbon span, .premium span {
        font-size: 10px;
        font-weight: bold;
        color: #FFF;
        text-transform: uppercase;
        text-align: center;
        line-height: 20px;
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        width: 100px;
        display: block;
        background: #79A70A;
        background: linear-gradient(#9BC90D 0%, #79A70A 100%);
        box-shadow: 0 3px 10px -5px rgba(37, 37, 37, 0.76);
        position: absolute;
        top: 19px; left: -21px;
    }

    .vip span {
        font-size: 10px;
        font-weight: bold;
        color: #FFF;
        text-transform: uppercase;
        text-align: center;
        line-height: 20px;
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        width: 70px;
        display: block;
        background: #6d0550;
        background: linear-gradient(#b34d97 0%, #6d0550 100%);
        box-shadow: 0 3px 10px -5px rgba(37, 37, 37, 0.76);
        position: absolute;
        top: 5px; left: -20px;
    }

    /* capitalize first letter of names */
    .capname {
        text-transform: capitalize;
    }

    /* Rate sliders */
    .range-wrap {
        position: relative;
        margin: 0 auto 3rem;
    }
    .form-range {
        width: 100%;
    }
    .bubble {
        background: var(--bs-secondary);
        color: white;
        padding: 4px 12px;
        position: absolute;
        border-radius: 4px;
        left: 50%;
        top: 1.75rem;
        transform: translateX(-50%);
        z-index: 2;
    }
    .bubble::after {
        content: "";
        position: absolute;
        width: 2px;
        height: 2px;
        background: var(--bs-secondary);
        top: -1px;
        left: 50%;
    }

    datalist {
        display: flex;
        /*justify-content: space-between;*/
        justify-content: space-between;
        color: #ccc;
        width: 100%;
        z-index: 1;
    }

    .div-is-invalid, input:focus:invalid {
        border: 1px solid #dc3545;
        border-radius: 4px;
        padding-right: calc(1.5em + 0.75rem);
        background-image: url("../img/invalid.svg");
        background-repeat: no-repeat;
        background-position: right calc(0.375em + 0.1875rem) center;
        background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    }

    .fb-logo #fb-button {
        /* Facebook blue */
        border-radius: 5px;  /* Rectangle with slight rounded corners */
        width: 200px;  /* Adjust the width as needed */
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #1877F2;
        border: 1px solid #1877F2;
        font-weight: 400;
        font-size: 14px;  /* Text size for Facebook */
    }

    .fb-logo i {
        font-size: 24px;
        margin-right: 8px;  /* Adds some space between the icon and text */
    }

    /* Google and fb divider */
    .sign_divider {
        display: flex;
        align-items: center;
        text-align: center;
        margin: 20px 0;
    }

    .sign_divider::before,
    .sign_divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #ccc;
    }

    .sign_divider::before {
        margin-right: 10px;
    }

    .sign_divider::after {
        margin-left: 10px;
    }

    .sign_divider h5 {
        padding: 0 10px;
        margin: 0;
        white-space: nowrap;
    }