﻿/* ======== RESET / ESTILOS GENERALES ======== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f6f6f6;
    color: #333;
    margin: 0;
    padding: 0;
}

span {
    font-family: 'Segoe UI';
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: #1B1D1F;
}

    span p {
        font-family: 'Segoe UI';
        font-weight: 600;
        font-size: 17px;
        line-height: 22px;
        letter-spacing: 0px;
        vertical-align: middle;
        color: #1B1D1F;
    }

/* ======== CONTENEDOR PRINCIPAL ======== */
.dam-container {
    margin: 0 auto;
    padding: 20px 60px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding-bottom: 1px; /**Linea del final*/
    display: grid; /*Nuevo*/
    place-items: center; /**Centrado de los items del contenedor*/
    /*Nuevos*/
    max-width: 100vw;
    overflow-x: hidden;
}

.card-dam-content {
    width: 1080px;
    height: 100%;
    max-width: 1280px;
    gap: 32px;
    border-radius: 16px;
    border-width: 1px;
    border: 1px solid #ACB0B2;
    padding: 20px;
}

/* ======== ENCABEZADO ======== */
.dam-header-icon {
    width: 22px;
    height: 19px;
    top: 3px;
    left: 1px;
    border-width: 2.1px;
}

.custom-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 1000px;
    border: 5px solid #BAD431;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dam-col-1 {
    width: 5%;
}

.dam-margin-custom{
    margin-bottom: 15px;
}

.dam-margin-dynamics{
    margin-bottom: 5px;
}

.dam-input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.dam-input-search {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #086378;
    padding-right: 35px; /* Espacio para el ícono */
    height: 40px;
}

.dam-search-icon {
    position: absolute;
    right: -1.5px;
    color: #086378;
    cursor: pointer;
    font-size: 16px;
    border-radius: 0 8px 8px 0;

}

    .dam-search-icon i {
        color: #086378; /* Color del ícono */
    }

.input-group-text {
    background: white;
    border-left: none; /* Eliminar borde izquierdo */
    border-radius: 0 8px 8px 0; /* Bordes redondeados solo a la derecha */
    border: 1px solid #086378;
    cursor: pointer;   
    width: 44px;
    height: 42px;
    max-height: 42px;
    gap: 10px;
    border-width: 2px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

    .input-group-text i {
        color: #086378; /* Color del ícono */
    }
    /*Inicia solucion desajuste visual input busqueda DAM*/
.dam-input-group {
    padding-bottom: 22px;
}
    /* reserva espacio para el mensaje */
    .dam-input-group .invalid-feedback {
        position: absolute;
        left: 0;
        bottom: 2px;

    }
/*Finaliza solucion desajuste visual input busqueda DAM*/
.dam-header {
    text-align: left;
    margin-bottom: 20px;
}

    .dam-header h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
        color: #2f5c7d;
        font-family: Segoe UI;
        font-weight: 400;
        line-height: 28px;
        letter-spacing: 0px;
        vertical-align: middle;
    }

    .dam-header p {
        font-size: 0.95rem;
        color: #666;
        line-height: 1.4;
    }

/* ======== PROGRESO DE PASOS ======== */
.dam-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 10px auto;
}

.dam-col-step-one{
    width: 25%;
    position: relative;
    left: 21.4%;
}

.dam-col-step-two{
    width: 25%;
    position: relative;
    left: 23.5%;
}

.dam-col-step-three{
    width: 25%;
    position: relative;
    left: 25.5%;
}

.dam-progress-bar {
    position: absolute;
    top: 50%;
    left: 10px;
    width: 95%;
    height: 4px;
    background-color: #d4d4d4;
    z-index: 0;
    transform: translateY(-50%);
}

.dam-separate-line {
    width: 100%;
    height: 1px;
    background-color: #d4d4d4;
    margin-top: 30px;
    margin-bottom: 30px;
}

.dam-dotted-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #d4d4d4 0%, #d4d4d4 50%, transparent 50%, transparent 100%);
    background-size: 10px 1px; /* Ajusta el 10px para cambiar el espacio entre líneas */
    background-repeat: repeat-x;
    margin-top: 30px;
    margin-bottom: 30px;
}

.dam-step {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #d4d4d4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 0.9rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
    border: 1px solid white;
}

.dam-center-step {
    width: 14px;
    height: 14px;
    top: 1.33px;
    left: 1.33px;
    border-width: 1.67px;
    border-radius: 50%;
    border: 1.67px solid #FFFFFF;
}

    .dam-center-step.active {
        border: 1.67px solid #BAD431;
    }

        .dam-center-step.active::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 12px;
            height: 12px;
            background-color: #c3df47;
            border-radius: 50%;
            border: 1.67px solid #BAD431;
            transform: translate(-50%, -50%);
        }

    .dam-step.active {
        background-color: #2f5c7d;
        color: white;
        border: 3px solid #2f5c7d;
    }

        .dam-step.active::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 12px;
            height: 12px;
            background-color: #c3df47;
            border-radius: 50%;
            transform: translate(-50%, -50%);
        }

.dam-step-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #086378;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 3px solid #086378; 
}

    /* Agrega el check */
    .dam-step-check::after {
        content: "\2714"; /* Código Unicode del check ✓ */
        font-size: 14px;
        color: white; /* Color del check */
        font-weight: bold;
    }

    .dam-step-check .dam-center-step {
        display: none;
    }

.dam-btn-back {
    background: none;
    border: none;
    color: #086378; /* Color del texto */
    font-size: 15px;
    font-family: 'Segoe UI';
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px; /* Espacio entre la flecha y el texto */
    padding: 5px 10px;
}

.dam-back-icon {
    font-size: 18px; /* Tamaño ligeramente más grande para destacar */
    font-weight: bold;
}

    .dam-btn-back:hover {
        color: #064350; /* Cambio de color en hover */
    }

.dam-alert-info {
    display: flex;
    align-items: center;
    gap: 16px; /* Espacio entre el icono y el texto */
    padding: 16px;
    border: 2px solid #5590C6;
    border-radius: 8px;
    background-color: #F3F8FB; /* Fondo muy claro */
    color: #16181A;
    width: 100%;
    max-width: 550px;
    border-width: 2px;
    font-family: 'Segoe UI';
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0px;
    vertical-align: middle;
}

.dam-alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #F3F8FB; /* Color de fondo del círculo */
    color: #5590C6; /* Color del texto "¡" */
    font-size: 14px;
    font-family: Arial, sans-serif;
    position: relative;
    top: 2px;
    left: 2px;
    border-width: 2px;
    border: 2px solid #5590C6;
}

/* ======== TITULO DE SECCION ======== */
.dam-section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Segoe UI';
    color: #064350;
    line-height: 25px;
    letter-spacing: 0px;
    vertical-align: middle;
    padding-top: 20px;
}

.dam-subtitle {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #666;
}

/* ======== FORMULARIO ======== */
.dam-form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.tab-content{
    width: 100% !important;
}

    .dam-form-group label {
        font-family: 'Segoe UI';
        font-size: 17px;
        font-weight: 400;
        margin-bottom: 5px;
        line-height: 22px;
        letter-spacing: 0px;
    }

.dam-custom-label {
    font-family: 'Segoe UI';
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 5px;
    line-height: 22px;
    letter-spacing: 0px;
    color: #086378;
}

.form-label {
    font-family: 'Segoe UI';
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    letter-spacing: 0px;
    vertical-align: middle;
}

    .form-label span {
        font-family: 'Segoe UI';
        font-weight: 100;
        font-size: 12px;
        line-height: 10px;
        letter-spacing: 0px;
        vertical-align: middle;
    }

p {
    font-family: 'Segoe UI';
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    letter-spacing: 0px;
    vertical-align: middle;
}

.clear-sig {
    font-family: 'Segoe UI';
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: #086378;
}

.dam-form-control {
    width: 100%;
    height: 42px;
    gap: 8px;
    border-radius: 10px;
    border-width: 1px;
    padding-top: 10px;
    padding-right: 16px;
    padding-bottom: 10px;
    padding-left: 16px;
    background: #FCFCFC;
    border: 1px solid #D6D6D6;
    box-shadow: 0px 1px 2px 0px #1018280D;
}

.input-disabled {
    background-color: #E7EBED; 
    color: #6c757d; 
    border: 1px solid #ced4da; 
    pointer-events: none; 
    opacity: 0.7; 
}


.dam-form-group .dam-input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 0.9rem;
    width: 100%;
    height: 127px;
    gap: 8px;
    border-width: 1px;
    padding-top: 10px;
    padding-right: 16px;
    padding-bottom: 10px;
    padding-left: 16px;
    /**blurs*/
    box-shadow: 0px 1px 2px 0px #1018280D;
}

.dam-form-group .dam-required {
    width: 8px;
    height: 8px;
    top: 4px;
    left: 4px;
    border-radius: 10000000px;
    background: #CF2525;
}

    .dam-form-group .dam-select {
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 0.9rem;
        background-color: #fff;
        width: 100%;
    }

.dam-radio-group {
    display: flex;
    gap: 15px;
    padding: 10px;
    border: 2px solid #d4d4d4;
    border-radius: 10px;
}

    .dam-radio-group label {
        display: flex;
        align-items: center;
        font-size: 16px;
        cursor: pointer;
        position: relative;
    }

.dam-radio-group,
.dam-checkbox-group {
    display: flex;
    gap: 16px;
    align-items: center;
    width: 100%;
    max-width: 516px;
    height: 42px;
    border-radius: 10px;
    border-width: 1px;
    padding-top: 10px;
    padding-right: 16px;
    padding-bottom: 0px;
    padding-left: 16px;
    border: 1px solid #ACB0B2;
    margin-bottom: 20px;
}

    .dam-radio-group input[type="radio"],
    .dam-checkbox-group input[type="checkbox"] {
        appearance: none;
        margin-right: 8px;
        width: 16px;
        height: 16px;
        border: 2px solid #086378;
        border-radius: 50%;
        background-color: #BAD431;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        cursor: pointer;
    }

        .dam-radio-group input[type="radio"]::before {
            content: "";
            width: 8px;
            height: 8px;
            gap: 4px;
            background-color: transparent;
            border-radius: 50%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            transition: background-color 0.2s;
        }

        .dam-radio-group input[type="radio"]:checked::before {
            background-color: #086378; 
        }

.dam-nav-link {
    position: relative;
    display: inline-flex; /* Asegura que respete el tamaño y el padding */
    align-items: center;
    justify-content: center;
    width: 400px;
    height: 56px;
    gap: 8px;
    padding: 16px;
    border-bottom-width: 3px !important;
    border-bottom: 3px solid #E0E3E4;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
    background: #FFFFFF;
    text-decoration: none !important; /* Elimina el subrayado */
    color: #1B1D1F !important; /* Color de texto */
    align-items: center; /* Centra el contenido verticalmente */
    justify-content: center; /* Centra el contenido horizontalmente */
    transition: background 0.3s ease-in-out;
    font-family: 'Segoe UI';
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0px;
    vertical-align: middle;
}

    .dam-nav-link:hover {
        background: #d4dadd; /* Cambio de color al pasar el mouse */
    }

    .dam-nav-link.active {
        background: #E7EBED !important;
        border-bottom: 3px solid #086378 !important;
        color: #1B1D1F !important;
    }

        /* Muesca en el borde inferior */
        .dam-nav-link.active::after {
            content: "";
            position: absolute;
            bottom: -8px; /* Ajusta según el grosor del borde */
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid #086378; /* Color del borde */
        }
    /* ======== ESTILOS PARA TRAYECTO Y SUPERFICIE ======== */
    .dam-trayecto-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

    .dam-trayecto-container label {
        font-size: 0.9rem;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .dam-trayecto-container .dam-select {
        width: 25%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 0.9rem;
        background-color: #fff;
    }

.dam-row-of-inputs {
    display: flex;
    gap: 10px; 
    align-items: flex-start;
    flex-wrap: wrap;
}

.dam-input-block {
    display: flex;
    flex-direction: column; 
    width: 50%; 
}

    .dam-input-block label {
        font-size: 0.9rem;
        font-weight: bold;
        margin-bottom: 5px;
    }

.dam-select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
    background-color: #fff;
}

.dam-icon {
    width: 16px;
    height: 20px;
    top: 2px;
    left: 4px;
    border-width: 2px;
}

.dam-icon-edit {
    width: 24px;
    height: 24px;
    border-width: 2px;
}
/* ======== BOTONES ======== */
.dam-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.dam-btn {
    background-color: #FCFCFC;
    color: #086378;
    padding: 10px 16px 10px 16px;
    font-size: 17px;
    border-radius: 999px;
    cursor: pointer;
    min-width: 222px;
    height: 44px;
    border: 2px solid #086378;
    font-family: 'Segoe UI';
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0px;
    /**Propiedades para puntos suspensivos*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .dam-btn:hover {
        background-color: #22445c;
        color: #FFFFFF;
    }

.dam-btn-edit {
    width: 44px;
    height: 44px;
    gap: 10px;
    padding: 6px;
    border-radius: 999px;
    border-width: 2px;
    background-color: #FCFCFC;
    border: 2px solid #086378;
}

    .dam-btn-edit:hover {
        background-color: #BAD431;
        color: #FFFFFF;
        transform: translateY(2px); /* Mueve el botón hacia abajo */
        box-shadow: 0 1px 0 #086378; /* Reduce la sombra para simular hundimiento */
    }

    .dam-btn-edit:active {
        transform: translateY(4px); /* Efecto más marcado al hacer clic */
        box-shadow: none; /* Elimina sombra al presionar */
    }

/* ======== FOOTER ======== */
.dam-footer {
    text-align: center;
    font-size: 0.85rem;
    color: #999;
    margin-top: 20px;
    width: 100%;
    max-width: 1080px;
    left: 50px;
    height: 100%;
    gap: 8px;
    padding: 16px;
    font-family: 'Segoe UI';
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0px;
    vertical-align: middle;
}

.dam-footer-icon {
    width: 100px;
    height: 33.10237503051758px;
    top: 14.52px;
}

.dam-row-footer {
    width: calc(100% + 120px);
    gap: 16px;
    padding: 16px;
    background: #064350;
    margin-left: -60px; 
    margin-right: -60px; 
    padding-top: 0px;
}

.dam-btn-footer {
    background-color: #BAD431;
    color: #086378;
    font-size: 17px;
    border-radius: 999px;
    cursor: pointer;
    width: 163.5px;
    height: 42px;
    gap: 10px;
    border: 2px solid #086378;
    font-family: 'Segoe UI';
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0px;   
    padding-top: 10px;
    padding-right: 16px;
    padding-bottom: 10px;
    padding-left: 16px;
    position: relative;
    left: -210px;
}

.dam-btn-footer-guardar {
    display: none;
    background-color: #BAD431;
    color: #086378;
    font-size: 17px;
    border-radius: 999px;
    cursor: pointer;
    width: 163.5px;
    height: 42px;
    gap: 10px;
    border: 2px solid #086378;
    font-family: 'Segoe UI';
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0px;
    padding-top: 10px;
    padding-right: 16px;
    padding-bottom: 10px;
    padding-left: 16px;
    position: relative;
    left: -210px;    
}

.dam-btn-footer-ir-inicio {
    display: none;
    background-color: #BAD431;
    color: #086378;
    font-size: 17px;
    border-radius: 999px;
    cursor: pointer;
    width: 163.5px;
    height: 42px;
    gap: 10px;
    border: 2px solid #086378;
    font-family: 'Segoe UI';
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0px;
    padding-top: 10px;
    padding-right: 16px;
    padding-bottom: 10px;
    padding-left: 16px;
    position: relative;
    left: -210px;
}

.dam-btn-footer-back {
    background-color: #E2E2E233;
    color: #FCFCFC;
    font-size: 17px;
    width: 163.5px;
    height: 42px;
    gap: 10px;
    border-radius: 999px;
    border-width: 2px;
    padding-top: 10px;
    padding-right: 16px;
    padding-bottom: 10px;
    padding-left: 16px;
    font-family: 'Segoe UI';
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0px;
    vertical-align: middle;
    border: 2px solid #E2E2E233;
    position: relative;
    left: -210px;
}

    .dam-btn-footer-back.dam-btn-disabled {
        background-color: #086378;
        color: white;
        border: 2px solid #086378;
        cursor: not-allowed;
        opacity: 0.6;
    }

.dam-col-5{
    position: relative;
    left: -20px;
}

.dam-badge {
    background-color:  #CF2525;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}

.dam-parrafo {
    font-family: 'Segoe UI';
    font-weight: 600;
    font-size: 17px;
    line-height: 22px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: #1B1D1F;
    margin-top: 20px;
}

.vehiculo-container {
    position: relative;
    display: inline-block;
}

.vehiculo-img {
    width: 100%;
    max-width: 516px;
    height: 210px;
    min-height: 210px;
    gap: 8px;
    border-radius: 10px;
    border-width: 1px;
    padding-top: 1px;
    padding-right: 16px;
    padding-bottom: 16px;
    padding-left: 1px;
    box-shadow: 0px 1px 2px 0px #1018280D;
}

.vehiculo-no-registrado-img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 250px;
    height: 193px;
    min-height: 193px;
    gap: 8px;
    align-items: center;
}

.damage-checkboxes {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 190px;
    max-width: 516px;
    min-height: 180px;
    gap: 15px;
    border-radius: 10px;
    border-width: 1px;
    padding-top: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    padding-left: 16px;
    background: #FCFCFC;
    border: 1px solid #E0E3E4;
    box-shadow: 0px 1px 2px 0px #1018280D;
}

    .damage-checkboxes label {
        display: inline-block;
        margin-right: 10px;
        /***/
        font-family: 'Segoe UI';
        font-weight: 400;
        font-size: 17px;
        line-height: 22px;
        letter-spacing: 0px;
        vertical-align: middle;
        color: #086378;
    }

.damage-checkbox[data-role="vehiculo"] {
    margin-right: 15px; /* Más espacio */
}

.damage-checkbox[data-role="testigo"] {
    margin-right: 15px; /* Más espacio */
}

.visible-custom {
    visibility: hidden;
}

/* Ocultar el checkbox nativo */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #086378; /* Borde azul */
    border-radius: 4px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    background-color: white;
    top: 3px;
    left: 3px;
    border-width: 3px;
}

    /* Cuando el checkbox está marcado */
    input[type="checkbox"]:checked {
        background-color: #BAD431; /* Fondo verde */
        border-color: #086378; /* Mantener el borde azul */
    }

        /* Agregar el check azul */
        input[type="checkbox"]:checked::after {
            content: "✔";
            font-size: 14px;
            color: #086378; /* Azul */
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-weight: bold;
        }

#canvasFirma {
    width: 100%;
    height: 127px;
    max-width: 1048px;
    border: 1px solid #000;
    background: #f8f8f8;
    border-radius: 8px;
    touch-action: none;
    gap: 8px;
    border-radius: 10px;
    border-width: 1px;
    padding-top: 10px;
    padding-right: 16px;
    padding-bottom: 10px;
    padding-left: 16px;
    background: #F2F2F2;
    border: 1px solid #1B1D1F;
    box-shadow: 0px 1px 2px 0px #1018280D;
}

.hidden {
    display: none;
}

#imagenFirma {
    width: 100%;
    max-height: 150px;
    object-fit: contain;
    border: 1px solid #000;
    background: white;
}

/***Zona de Archivos Adjuntos*/
.drop-zone {
    width: 100%;
    max-width: 516px;
    height: 300px;
    border: 2px dashed #0096c7;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    background-color: #FCFCFC;
    border-radius: 10px;
}

    .drop-zone:hover {
        background-color: #eef2f3;
    }

    .drop-zone p {
        margin: 10px 0;
        font-family: 'Segoe UI';
        font-weight: 600;
        font-size: 13px;
        line-height: 18px;
        letter-spacing: 0px;
        vertical-align: middle;
        color: #086378;
        padding: 20px;
    }

    .drop-zone span {
        font-family: 'Segoe UI';
        font-weight: 400;
        font-size: 12px;
        line-height: 16px;
        letter-spacing: 0px;
        vertical-align: middle;
        color: #1B1D1F;
        justify-content: left;
    }

.file-preview {
    width: 0px;
    height: 50px;
    margin-right: 1px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .file-preview img {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        /***/
        display: block;
        margin: 0 auto;
        width: 100%;
        max-width: 279px;
        height: 231px;
        min-height: 193px;
        gap: 16px;
        align-items: center;
        display: none;
    }


.file-list {
    width: 100%;
    max-width: 516px;
    height: 300px;
    max-height: 300px;
    overflow-y: auto;
    text-align: center;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    flex-direction: column;
    gap: 10px; /* Espacio entre items */
}

/**Personalizacion Scroll*/
    .file-list::-webkit-scrollbar {
        width: 8px;
    }

    .file-list::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .file-list::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }

        .file-list::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

.file-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Contenedor para tamaño y estado */
.file-meta {
    display: flex; /* Activa flexbox */
    gap: 8px; /* Espacio entre elementos */
    align-items: center; /* Centra verticalmente */
}

.file-name {
    font-weight: bold;
}

.file-size {
    color: #666;
    font-size: 0.8em;
}

.file-size, .file-status {
    display: inline-block; /* Elementos en línea */
    margin-right: 8px; /* Espacio entre ellos */
}


    .file-list .cube-img {
        display: block;
        margin: 0 auto;
        width: 100%;
        max-width: 250px;
        height: 193px;
        min-height: 193px;
        gap: 8px;
        align-items: center;
    }

.file-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border: none;
    border-bottom: 1px solid #ddd; /* Solo borde inferior */
    padding: 10px;
    border-radius: 0;
    margin-bottom: 0;
    position: relative;
    min-height: 60px; /* Altura mínima para cada item */
    flex-shrink: 0; /* Evita que se compriman */
    background: transparent; /* Fondo transparente para mejor visualización */
}

    .file-item.success {
        border-color: #28a745;
    }

    .file-item.error {
        border-color: #dc3545;
        color: #dc3545;
    }

    .file-item .file-info {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 10px;
    }

    .file-item .progress {
        width: 100%;
        height: 6px;
        background-color: #ddd;
        position: absolute;
        bottom: 0;
        left: 0;
        border-radius: 5px;
        overflow: hidden;
    }

.progress-bar {
    height: 100%;
    width: 0;
    background-color: #28a745;
}

.file-item .delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #dc3545;
    flex-shrink: 0; /* Evita que se reduzca */
}

    .file-item span {
        font-size: 14px;
    }

    /**Clases de Popup de Google Maps*/

.dam-map-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.dam-map-popup-content {
    background: white;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
   
}

.dam-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #086378;
    color: white;
}

.dam-map-search {
    padding: 15px;
}

.dam-map-footer {
    padding: 15px;
    text-align: right;
}

.dam-btn-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.declaracion-finalizada-img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 250px;
    height: 193px;
    min-height: 193px;
    gap: 8px;
    align-items: center;
}

#declaracion-finish picture {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

#declaracion-finish span {
    font-family: 'Segoe UI';
    font-weight: 400;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: middle;
    color: #064350;
}

#declaracion-finish p {
    font-family: 'Segoe UI';
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: middle;
    color: #1B1D1F;
}

.file-list .icono-check {
    width: 13px;
    height: 13px;
    top: 1.33px;
    left: 1.33px;
    border-width: 1.5px;
}

.file-list .trash-icon-circle {
    width: 40px;
    height: 40px;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    border-width: 2px;
    box-shadow: 0px 1px 2px 0px #1018280D;
    border: 2px solid #CF2525;
    position: relative;
    bottom: 0px;
}

.firma-preview {
    max-width: 280px;
    height: 120px;
    max-height: 160px;
    background: white;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
    .dam-container {
        padding: 15px;
        padding-bottom: 1px;
    }

    .dam-steps {
        justify-content: space-around;
    }

    .dam-header h1 {
        font-size: 1.2rem;
    }

    .dam-container {
        border-radius: 0;
        margin: 0;
    }

    .dam-actions {
        justify-content: center;
        position: relative;
        left: 50px;
    }

    .dam-form-group .dam-input,
    .dam-form-group .dam-select {
        width: 100%;
    }

    .dam-trayecto-container {
        flex-direction: column; /* Cambiar a columna en móviles */
    }

        .dam-trayecto-container .dam-select {
            width: 100%; /* Ocupar el 100% del ancho en móviles */
        }

    .col-12 {
        flex-basis: 100%;
    }
}

@media (max-width: 500px) {
    .dam-header h1 {
        font-size: 1.1rem;
    }

    p {
        font-family: 'Segoe UI';
        font-weight: 400;
        font-size: 17px !important;
        line-height: 22px;
        letter-spacing: 0px;
        vertical-align: middle;
    }

    .dam-header p {
        font-size: 0.85rem;
        font-family: Segoe UI;
        font-weight: 400;
        font-size: 17px;
        line-height: 22px;
        letter-spacing: 0px;
        vertical-align: middle;
        color: #1B1D1F;
    }

    .dam-progress-bar {
        left: 70px;
        width: 66%;
        height: 4px;
        background-color: #d4d4d4;
        z-index: 0;
        transform: translateY(-50%);
    }

    .dam-col-step-one {
        width: 25%;
        position: relative;
        left: 14.4%;
    }

    .dam-col-step-two {
        width: 25%;
        position: relative;
        left: 20.5%;
    }

    .dam-col-step-three {
        width: 25%;
        position: relative;
        left: 26.5%;
    }

    .dam-section-title {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 5px;
        font-family: 'Segoe UI';
        color: #064350;
        line-height: 25px;
        letter-spacing: 0px;
        vertical-align: middle;
        padding-top: 20px;
    }

    .dam-radio-group,
    .dam-checkbox-group {        
        width: 100%;
    }

    .dam-icon {
        width: 16px;
        height: 20px;
        position: relative;
        top: -2px;
        left: 0px;
        border-width: 2px;
    }

    .dam-btn-back {
        background: none;
        border: none;
        color: #086378; /* Color del texto */
        font-size: 15px;
        font-family: 'Segoe UI';
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px; /* Espacio entre la flecha y el texto */
        padding: 5px 10px;
        line-height: 20px;
        letter-spacing: 0px;
        vertical-align: middle;
    }

    .dam-alert-info {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px;
        border: 2px solid #5590C6;
        border-radius: 8px;
        background-color: #F3F8FB;
        color: #16181A;
        max-width: 400px;
        border-width: 2px;
        /***/
        font-family: 'Segoe UI';
        font-weight: 400;
        font-size: 15px;
        line-height: 20px;
        letter-spacing: 0px;
        vertical-align: middle;
    }

    .dam-alert-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 21px;
        border-radius: 50%;
        background-color: #F3F8FB; /* Color de fondo del círculo */
        color: #5590C6; /* Color del texto "¡" */
        font-size: 14px;
        font-family: Arial, sans-serif;
        position: relative;
        top: 2px;
        left: 2px;
        border-width: 2px;
        border: 2px solid #5590C6;
    }



    .dam-col-2 {
        width: 16.66666667%;
    }

    .dam-col-10 {
        width: 83.33333333%;
    }

    .dam-section-title {
        font-size: 1rem;
    }

    .dam-subtitle {
        font-size: 15px;
        font-weight: 400;
        font-family: 'Segoe UI';
        line-height: 20px;
        letter-spacing: 0px;
        vertical-align: middle;
    }

    .dam-form-group .dam-input {
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 10px;
        font-size: 0.9rem;
        /**Nuevos*/
        width: 100%;
        height: 127px;
        gap: 8px;
        border-width: 1px;
        padding-top: 10px;
        padding-right: 16px;
        padding-bottom: 10px;
        padding-left: 16px;
        /**blurs*/
        box-shadow: 0px 1px 2px 0px #1018280D;
    }

    .dam-btn {
        width: auto !important;
        min-width: 222px;
        max-width: 100%;
        padding: 10px 12px;
    }

    .dam-btn-veh{
        width: 100% !important;
    }

    .card-dam-content {
        width: auto !important;
        height: 100%;
        max-width: 400px;
        gap: 32px;
        border-radius: 16px;
        border-width: 1px;
        border: 1px solid #ACB0B2;
        padding: 20px;
    }

    .dam-trayecto-container {
        flex-direction: column; /* Cambiar a columna en móviles */
    }

        .dam-trayecto-container .dam-select {
            width: 100%; /* Ocupar el 100% del ancho en móviles */
        }

    .dam-nav-link {
        position: relative; /* Necesario para la pseudo-clase */
        display: inline-flex; /* Asegura que respete el tamaño y el padding */
        align-items: center;
        justify-content: center;
        width: 160px;
        height: 56px;
        gap: 8px;
        padding: 16px;
        border-bottom-width: 3px !important;
        border-bottom: 3px solid #E0E3E4;
        border-top-left-radius: 16px !important;
        border-top-right-radius: 16px !important;
        background: #FFFFFF;
        text-decoration: none !important; /* Elimina el subrayado */
        color: #086378 !important; /* Color de texto */
        align-items: center; /* Centra el contenido verticalmente */
        justify-content: center; /* Centra el contenido horizontalmente */
        transition: background 0.3s ease-in-out;
        font-family: 'Segoe UI';
        font-weight: 400;
        font-size: 15px;
        line-height: 20px;
        letter-spacing: 0px;
        vertical-align: middle;
    }

        .dam-nav-link:hover {
            background: #086378; /* Cambio de color al pasar el mouse */
            color: #086378;
        }

        .dam-nav-link.active {
            background: #E7EBED;
            color: #086378;
            border-bottom: 3px solid #086378;
        }

            .dam-nav-link.active::after {
                content: "";
                position: absolute;
                bottom: -8px; /* Ajusta según el grosor del borde */
                left: 50%;
                transform: translateX(-50%);
                width: 0;
                height: 0;
                border-left: 8px solid transparent;
                border-right: 8px solid transparent;
                border-top: 8px solid #086378; /* Color del borde */
            }

    .vehiculo-container {
        position: relative;
        display: inline-block;
    }

    .vehiculo-img {
        width: 100%;
        max-width: 311px;
        height: 210px;
        min-height: 210px;
        gap: 8px;
        border-radius: 10px;
        border-width: 1px;
        padding-top: 16px;
        padding-right: 16px;
        padding-bottom: 16px;
        padding-left: 16px;
        box-shadow: 0px 1px 2px 0px #1018280D;
    }

    .vehiculo-no-registrado-img {
        display: block;
        margin: 0 auto;
        width: 100%;
        max-width: 250px;
        height: 193px;
        min-height: 193px;
        gap: 8px;
        align-items: center;
    }

    .declaracion-finalizada-img {
        display: block;
        margin: 0 auto;
        width: 100%;
        max-width: 250px;
        height: 193px;
        min-height: 193px;
        gap: 8px;
        align-items: center;
    }

    .damage-checkboxes {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        max-width: 311px;
        height: 210px;
        gap: 2px;
        border-radius: 10px;
        border-width: 1px;
        padding-top: 16px;
        padding-right: 16px;
        padding-bottom: 16px;
        padding-left: 16px;
        background: #FCFCFC;
        border: 1px solid #E0E3E4;
        box-shadow: 0px 1px 2px 0px #1018280D;
    }

    .visible-custom {
        display: none;
    }

    #canvasFirma {
        width: 100%;
        max-width: 100%;
        height: 127px;
        border: 1px solid #000;
        background: #f8f8f8;
        border-radius: 8px;
        touch-action: none;
        gap: 8px;
        border-radius: 10px;
        border-width: 1px;
        padding-top: 10px;
        padding-right: 16px;
        padding-bottom: 10px;
        padding-left: 16px;
        background: #F2F2F2;
        border: 1px solid #1B1D1F;
        box-shadow: 0px 1px 2px 0px #1018280D;
    }

    /**Zona de Archivos adjuntos*/
    .drop-zone {
        width: 100%;
        max-width: 311px;
        height: 340px;
        border: 2px dashed #0096c7;
        padding: 16px;
        text-align: center;
        cursor: pointer;
        background-color: #FCFCFC;
        border-radius: 10px;
    }

    .file-list {
        width: 100%;
        max-width: 311px;
        height: 340px;
        text-align: center;
        border: 1px solid #ddd;
        padding: 20px;
        border-radius: 10px;
    }

        .file-list .cube-img {
            display: block;
            margin: 0 auto;
            width: 100%;
            max-width: 279px;
            height: 231px;
            min-height: 193px;
            gap: 16px;
            align-items: center;
        }

        .file-list picture img.icono-basura,
        .file-list .icono-basura {
            width: 24px !important;
            height: 24px !important;
            gap: 8px !important;
            max-width: 24px !important;
            min-height: 24px !important;
            /* Reset de estilos heredados */
            max-width: none;
            min-height: auto;
            margin: 0 !important;            
        }

        .file-list .icono-check {
            width: 13px;
            height: 13px;
            top: 1.33px;
            left: 1.33px;
            border-width: 1.5px;
        }

        .dam-btn-footer {
            left: -100px;
        }

    .dam-btn-footer-back {
        left: -100px;
    }

    .dam-btn-footer-guardar{
        left: -100px;
    }

    .dam-btn-footer-ir-inicio {
        left: -100px;
    }

}
/*Ajuste del estilo popup*/

.popup-ubicacion {
    border-radius: 28px;
    padding: 20px;
}

.swal2-popup {
    text-align: center;
    background-color: #FCFCFC !important;
    max-width: 550px !important;
    width: 443px !important;
}

.ubicacion-icon img {
    width: 176px;
    height: 135px;
}

.ubicacion-titulo {
    font-size: 18px;
    font-weight: bold;
    margin: 12px 0;
    max-width: 411px !important;
    height: 60px !important;
    color: #064350 !important;
}

.ubicacion-texto {
    font-size: 14px;
    color: #1B1D1F;
    margin-bottom: 20px;
    text-align: justify;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.ubicacion-botones {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-si {
    background-color: #086378;
    color: #fff;
    padding: 10px;
    border-radius: 25px;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.btn-no {
    background-color: #FCFCFC;
    color: #086378;
    border: 2px solid #086378;
    padding: 10px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
}

/*LOADING DEL DAM AL MANEJAR ACHIVOS*/
/* ================================
   Overlay DAM (sistema INS)
   ================================ */
.dam-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
    opacity: 1;
    transition: opacity 0.3s ease;
}

    .dam-overlay.hidden {
        opacity: 0;
        pointer-events: none;
    }

.dam-overlay-content {
    background-color: var(--Gray-20);
    color: var(--Primary-100);
    border-radius: 16px;
    padding: 2rem 3rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
    text-align: center;
    font-family: 'INS Sans', sans-serif;
    min-width: 260px;
}

.dam-spinner {
    border: 5px solid var(--Gray-30);
    border-top: 5px solid var(--Primary-100);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 0 auto 1.2rem;
    animation: dam-spin 1s linear infinite;
}

@keyframes dam-spin {
    to {
        transform: rotate(360deg);
    }
}

.dam-overlay-content p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}


/*FIN LOADING DEL DAM AL MANEJAR ARCHIVOS*/

@media (max-width: 480px) {
    .swal2-popup {
        text-align: center;
        background-color: #FCFCFC !important;
        max-width: 550px !important;
        max-height: 450px;
        width: 250px !important;
    }

    .btn-si {
        max-height: 50px !important;
        padding: 5px !important;
    }

    .btn-no {
        max-height: 50px !important;
        padding: 5px !important;
    }

    .ubicacion-titulo {
        font-size: 16px !important;
    }

    .ubicacion-texto {
        font-size: 12px;
    }

    .ubicacion-icon img {
        width: 120px;
        height: 90px;
    }
}
/*FIN Ajuste del estilo popup*/
@media (max-width: 450px){
    .card-dam-content {
        width: auto !important;
        height: 100%;
        max-width: 372px;
        gap: 32px;
        border-radius: 16px;
        border-width: 1px;
        border: 1px solid #ACB0B2;
        padding: 20px;
    }
}

@media (max-width: 400px){
    .dam-progress-bar {
        left: 65px;
        width: 64%;
        height: 4px;
        background-color: #d4d4d4;
        z-index: 0;
        transform: translateY(-50%);
    }

    .dam-radio-group,
    .dam-checkbox-group {
        width: 100%;
    }

    .dam-btn-footer {      
        left: -100px;
    }

    .dam-btn-footer-back {        
        left: -100px;
    }

    .dam-btn-footer-guardar{
        left: -100px;
    }

    .dam-btn-footer-ir-inicio {
        left: -100px;
    }

    .card-dam-content {
        width: auto !important;
        height: 100%;
        max-width: 345px;
        gap: 32px;
        border-radius: 16px;
        border-width: 1px;
        border: 1px solid #ACB0B2;
        padding: 20px;
    }
}

@media (max-width: 395px){
    .dam-nav-link {
        display: inline-flex; /* Asegura que respete el tamaño y el padding */
        width: 140px;
        height: 56px;
        gap: 8px;
        padding: 16px;
        border-bottom-width: 3px !important;
        border-bottom: 3px solid #E0E3E4;
        border-top-left-radius: 16px !important;
        border-top-right-radius: 16px !important;
        background: #FFFFFF;
        text-decoration: none !important; /* Elimina el subrayado */
        color: #086378 !important; /* Color de texto */
        align-items: center; /* Centra el contenido verticalmente */
        justify-content: center; /* Centra el contenido horizontalmente */
        transition: background 0.3s ease-in-out;
        font-family: 'Segoe UI';
        font-weight: 400;
        font-size: 15px;
        line-height: 20px;
        letter-spacing: 0px;
        vertical-align: middle;
    }

        .dam-nav-link:hover {
            background: #086378; /* Cambio de color al pasar el mouse */
            color: #086378;
        }

        .dam-nav-link.active {
            background: #E7EBED;
            color: #086378;
        }

    .dam-radio-group,
    .dam-checkbox-group {
        width: 100%;
    }

    .dam-btn-footer {
        left: -90px;
    }

    .dam-btn-footer-back {
        left: -90px;
    }

    .dam-btn-footer-guardar{
        left: -90px;
    }

    .dam-btn-footer-ir-inicio {
        left: -90px;
    }
}

