:root {
    color-scheme: only light;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color-scheme: only light;
    background: #ffffff;
}

body.vidno-modal-open {
    overflow: hidden;
}

.vidno-bottom-legal {
    max-width: 1180px;
    margin: 64px auto 0;
    padding: 28px 24px 8px;
    color: #61707f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    font-size: 0.82rem;
    line-height: 1.65;
    text-align: center;
}

.vidno-bottom-legal div {
    display: block;
}

.vidno-bottom-legal a {
    display: inline-block;
    margin-top: 8px;
    color: #2c3e50;
    font-weight: 650;
    text-decoration: none;
}

.vidno-bottom-legal a:hover {
    color: #3498db;
}

.vidno-bottom-legal__cookie-settings {
    display: block;
    margin: 4px auto 0;
    padding: 0;
    border: 0;
    color: #61707f;
    background: transparent;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.vidno-cookie-notice {
    position: fixed;
    z-index: 10000;
    right: 16px;
    bottom: 16px;
    left: 16px;
    box-sizing: border-box;
    display: flex;
    width: min(560px, calc(100% - 32px));
    min-height: 64px;
    margin-left: auto;
    padding: 12px;
    align-items: center;
    gap: 14px;
    border-radius: 16px;
    color: #2c3e50;
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(44, 62, 80, 0.2);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

.vidno-cookie-notice[hidden] {
    display: none;
}

.vidno-cookie-notice p {
    flex: 1 1 auto;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.35;
}

.vidno-cookie-notice a {
    color: inherit;
    white-space: nowrap;
    text-underline-offset: 2px;
}

.vidno-cookie-notice__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 7px;
}

.vidno-cookie-notice button {
    min-height: 40px;
    padding: 0 13px;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.vidno-cookie-notice__accept {
    color: #ffffff;
    background: #2c3e50;
}

.vidno-cookie-notice__reject {
    color: #2c3e50;
    background: #f0f2f6;
}

.vidno-contact-dialog {
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 520px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 22px;
    color: #2c3e50;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(44, 62, 80, 0.24);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

.vidno-contact-dialog::backdrop {
    background: rgba(28, 39, 49, 0.48);
    backdrop-filter: blur(3px);
}

.vidno-contact-dialog__inner {
    position: relative;
    box-sizing: border-box;
    padding: 30px;
}

.vidno-contact-dialog__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #61707f;
    background: #f0f2f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.vidno-contact-dialog h2 {
    margin: 0 48px 24px 0;
    font-size: 1.55rem;
    line-height: 1.15;
}

.vidno-contact-form {
    display: grid;
    gap: 18px;
}

.vidno-contact-form,
.vidno-contact-form * {
    box-sizing: border-box;
}

.vidno-contact-field {
    display: grid;
    gap: 8px;
}

.vidno-contact-field > span,
.vidno-contact-role > legend {
    color: #2c3e50;
    font-size: 0.88rem;
    font-weight: 650;
}

.vidno-contact-field input[type="text"] {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    color: #2c3e50;
    background: #ffffff;
    font: inherit;
}

.vidno-contact-field input[type="text"]:focus {
    border-color: #3498db;
    outline: 3px solid rgba(52, 152, 219, 0.14);
}

.vidno-contact-role {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    border: 0;
}

.vidno-contact-role__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vidno-contact-role label {
    position: relative;
    cursor: pointer;
}

.vidno-contact-role input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vidno-contact-role span {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    color: #61707f;
    background: #ffffff;
    font-size: 0.84rem;
}

.vidno-contact-role input:checked + span {
    border-color: #3498db;
    color: #1a5276;
    background: #eaf4ff;
}

.vidno-contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #61707f;
    font-size: 0.8rem;
    line-height: 1.45;
}

.vidno-contact-consent input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: #3498db;
}

.vidno-contact-consent a {
    color: #2c3e50;
}

.vidno-contact-submit {
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    background: #fd5237;
    font-size: 0.96rem;
    font-weight: 740;
    cursor: pointer;
}

.vidno-contact-submit:disabled {
    cursor: wait;
    opacity: 0.68;
}

.vidno-contact-status {
    min-height: 20px;
    margin: 0;
    color: #c0392b;
    font-size: 0.86rem;
    line-height: 1.4;
}

.vidno-contact-status.is-success {
    color: #16824b;
}

.vidno-contact-status:empty {
    display: none;
}

.vidno-contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 560px) {
    .vidno-cookie-notice {
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: calc(100% - 24px);
        padding: 11px;
        gap: 10px;
        border-radius: 14px;
    }

    .vidno-cookie-notice p {
        font-size: 0.8rem;
    }

    .vidno-cookie-notice button {
        min-height: 38px;
        padding: 0 10px;
        font-size: 0.76rem;
    }

    .vidno-contact-dialog {
        width: calc(100% - 24px);
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 20px;
    }

    .vidno-contact-dialog__inner {
        padding: 24px 20px;
    }

    .vidno-contact-dialog h2 {
        font-size: 1.35rem;
    }

    .vidno-contact-dialog__close {
        top: 14px;
        right: 14px;
    }
}
