.ticket-form-section {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    align-self: stretch;
    border-radius: 2px;
    background: var(--Fundametal-White, #FFF);
}

.k-form {
    width: 100%;
    max-width: 462px;
    gap: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.k-form-field-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
}

.k-form-field {
    display: flex;
    min-height: 58px;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
}

.hidden-field {
    display: none !important;
}

.floating-field {
    position: relative;
    width: 100%;
    height: 58px;
    border: 1px solid #C3D4DA;
    border-radius: 2px;
    background: #fff;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

    .floating-field input {
        width: 100%;
        border: none;
        outline: none;
        background: transparent;
        font-family: Inter;
        font-size: 16px;
        line-height: 24px;
        color: #000;
    }

    .floating-field label {
        position: absolute;
        left: 12px;
        top: 16px;
        color: #6E6E6E;
        font-size: 16px;
        line-height: 24px;
        pointer-events: none;
        transition: all 0.2s ease;
    }

.k-form-error {
    display: none;
}

.floating-field.filled label, .floating-field input:focus + label {
    top: -6px;
    font-size: 14px;
    line-height: 21px;
    background: white;
    padding: 0 4px;
}

.floating-field .success-icon {
    position: absolute;
    right: 12px;
    font-size: 18px;
    color: #008055;
    display: none;
}

.floating-field.valid {
    border-color: #008055;
}

    .floating-field.valid .success-icon {
        display: block;
    }

.floating-field.error {
    border-color: #DC3545;
}

    .floating-field.error .error-icon {
        display: block;
    }

    .floating-field.error .success-icon {
        display: none;
    }

.floating-field .error-icon {
    position: absolute;
    right: 12px;
    font-size: 18px;
    color: #DC3545;
    display: none;
}

.error-msg {
    font-size: 12px;
    color: #DC3545;
    margin-top: 4px;
    font-family: Inter, sans-serif;
}

.info-text {
    font-size: 12px;
    color: #717182;
    margin-top: 4px;
    color: var(--Fundametal-Gray, #717182);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.k-validation-summary {
    display: none;
}

.k-form .k-form-field > label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

.floating-field.textarea-field {
    height: auto;
    min-height: 80px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

    .floating-field.textarea-field textarea {
        resize: none;
        min-height: 160px;
        max-height: 300px;
        width: 100%;
        border: none;
        outline: none;
        font-family: Inter;
        font-size: 16px;
        line-height: 24px;
        background: transparent;
        padding: 0;
        box-sizing: border-box;
    }

    .floating-field.textarea-field label {
        position: absolute;
        top: -6px;
        left: 12px;
        background: white;
        padding: 0 4px;
        font-size: 14px;
        line-height: 21px;
        pointer-events: none;
        transition: all 0.2s ease;
    }

.upload-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.upload-label {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #292929;
    line-height: 14px;
}

.upload-box {
    cursor: pointer;
    border: 2px dashed #dee2e6;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    margin-bottom: 10px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

    .upload-box:hover {
        border-color: var(--primary-dark-2, #03606B);
        background: rgba(3, 96, 107, 0.05);
    }

.upload-input {
    display: none;
}

.upload-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.upload-icon {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.upload-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .upload-text .main-text {
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        color: #292929;
        line-height: 20px;
    }

    .upload-text .sub-text {
        font-family: 'Inter', sans-serif;
        font-size: 12px;
        color: #90A1B9;
        line-height: 16px;
    }

.upload-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #717182;
    line-height: 21px;
}

.k-form-buttons .k-form-submit, .k-form-buttons .k-form-clear {
    display: none !important;
}

.k-form-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: 16px;
}

    .k-form-buttons button {
        width: 100%;
        display: flex;
        height: 38px;
        padding: 6px 12px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 2px;
        background: var(--Primario, #01A2B7);
        color: var(--Text-Black, #000);
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%;
        border: none;
        cursor: pointer;
        transition: background 0.2s ease;
    }

.k-form-buttons button:hover {
    background: #017a8c;
}

.k-form-buttons button:active,
.k-form-buttons button:focus {
    outline: 2px solid #E6007E;
    outline-offset: 0px;
    box-shadow: 0 0 0 0.25rem rgba(230,0,126,0.25);
}

.upload-files-list {
    margin-bottom: 10px;
}

.upload-file-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    position: relative;
    width: fit-content;
}

    .upload-file-item.valid {
        border-left: 4px solid #28a745;
    }

    .upload-file-item.error {
        border-left: 4px solid #dc3545;
    }

.file-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .file-info i {
        font-size: 20px;
        color: #6c757d;
    }

.file-name {
    font-weight: 500;
    color: #212529;
}

.file-size {
    color: #6c757d;
    font-size: 12px;
}

.file-status {
    margin: 0 12px;
}

.valid-icon {
    color: #28a745;
    font-size: 18px;
}

.error-icon {
    color: #dc3545;
    font-size: 18px;
}

.file-remove {
    background: none;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    color: #dc3545;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

    .file-remove:hover {
        background: #dc3545;
        color: white;
    }

.file-error-message {
    width: 100%;
    margin-top: 6px;
    color: #dc3545;
    font-size: 13px;
    padding-left: 28px;
}

.upload-errors {
    margin-top: 10px;
}

.k-chat-download-button-wrapper {
    display:none !important;
}


.floating-field.dropdown-field {
    padding: 0;
    position: relative;
}

    .floating-field.dropdown-field select {
        width: 100%;
        height: 100%;
        border: none;
        outline: none;
        background: transparent;
        font-family: Inter;
        font-size: 16px;
        line-height: 24px;
        color: #000;
        padding: 16px 12px 12px 12px;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        cursor: pointer;
    }

    .floating-field.dropdown-field label {
        position: absolute;
        left: 12px;
        top: 16px;
        color: #6E6E6E;
        font-size: 16px;
        line-height: 24px;
        pointer-events: none;
        transition: all 0.2s ease;
        z-index: 1;
    }

    .floating-field.dropdown-field.filled label,
    .floating-field.dropdown-field select:focus + label,
    .floating-field.dropdown-field select:not([value=""]) + label {
        top: -6px;
        font-size: 14px;
        line-height: 21px;
        background: white;
        padding: 0 4px;
    }

    .floating-field.dropdown-field .dropdown-icon {
        position: absolute;
        right: 35px;
        top: 50%;
        transform: translateY(-50%);
        color: #6E6E6E;
        font-size: 16px;
        pointer-events: none;
    }

    .floating-field.dropdown-field .success-icon,
    .floating-field.dropdown-field .error-icon {
        right: 12px;
    }

    .floating-field.dropdown-field select:disabled {
        background-color: #f5f5f5;
        cursor: not-allowed;
    }

    /* Stile per le opzioni del select */
    .floating-field.dropdown-field select option {
        padding: 8px;
        font-family: Inter, sans-serif;
    }

    /* Hover effect */
    .floating-field.dropdown-field:hover {
        border-color: #01A2B7;
    }

.guest-warning-panel {
    width: 100%;
    max-width: 462px;
    margin: 0 auto;
    padding: 0;
}

.guest-warning-content {
    display: flex;
    align-items: center; /* centra verticalmente icona e testo */
    gap: 12px; /* distanza tra icona e testo */
    background-color: #fff;
    border: 1px solid #000; /* o la tua variabile di colore */
    border-radius: 4px;
    padding: 12px;
}

.guest-warning-icon img {
    width: 24px;
    height: 24px;
}

.guest-warning-text p {
    margin: 0;
}

    .guest-warning-panel .border {
        border-color: var(--primary-dark-1) !important;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        padding: 12px; /* aggiunge un po� di padding interno */
    }

    .guest-warning-panel .row.align-items-center {
        display: flex;
        align-items: center; /* centra icona e testo verticalmente */
        gap: 12px; /* distanza tra icona e testo */
        margin: 0; /* rimuove margini Bootstrap */
        width: 100%;
    }

    .guest-warning-panel .col-1 {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-right: 0;
    }

        .guest-warning-panel .col-1 img {
            max-width: 24px;
            height: 24px;
            position: static !important; /* rimuove absolute */
        }

    .guest-warning-panel .col-11 {
        display: flex;
        flex-direction: column;
        justify-content: center; /* centra verticalmente il testo rispetto all�icona */
    }

    .guest-warning-panel p {
        font-size: 14px;
        line-height: 1.5;
        margin: 0;
    }

    .guest-warning-panel .box-info-text-login {
        text-decoration: underline;
        font-weight: 500;
        cursor: pointer;
    }

        .guest-warning-panel .box-info-text-login:hover {
            color: var(--Primario-Dark-2, #00424C);
        }

.box-info-text {
    color: var(--Primario-Dark-2, #00424C);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.box-info-text-login {
    color: var(--Primario-Dark-2, #00424C);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.box-info-text-login:hover {
    color: var(--Primario-Dark-2, #00424C);
    cursor: pointer;
}

.hidden-field {
    display: none;
}

.turnstile-field {
    width: 100%;
    display: flex;
    justify-content: center;
}