#transcription-box {
    text-align: center;
    margin-top: 20px;
}

#stop-recording.red {
    background-color: #ff0000;
    color: white;
}

#transcription-text {
    margin-top: 20px;
    border: 1px solid #ddd;
    padding: 10px;
    min-height: 100px;
    max-height: 300px;
    width: 100%;
    font-size: 13px;
    border-radius: 5px;
    background-color: #f9f9f9;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

#extracted-data-form {
    margin-top: 20px;
}

#extracted-data-form .field-group {
    margin-bottom: 15px;
}

#extracted-data-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

#extracted-data-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 13px;
    min-height: 60px;
    resize: vertical;
    overflow-y: auto;
}

#reparadores-cercanos {
    margin-top: 20px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
}

#reparadores-cercanos h3 {
    margin-top: 0;
    color: #333;
}

#lista-reparadores {
    list-style-type: none;
    padding: 0;
}

#lista-reparadores li.reparador-card {
    display: flex;
    flex-direction: column;
    background-color: #eafdff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

#lista-reparadores li.reparador-card:hover {
    background-color: #f0f0f0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.reparador-content {
    display: flex;
    padding: 20px;
    position: relative;
}

.reparador-info {
    flex: 1;
    padding-right: 20px;
    border-right: 1px solid #e0e0e0;
}

.reparador-observaciones {
    flex: 1;
    padding: 20px;
    padding-top: 40px;
    border-radius: 12px;
    background-color: #e8f5e9;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid #a5d6a7;
    font-family: 'Arial', sans-serif;
    margin-left: 20px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}

.reparador-info strong, .reparador-observaciones h4 {
    color: #2c3e50;
    font-size: 16px;
    font-weight: bold;
}

.reparador-observaciones p {
    font-size: 16px;
    line-height: 1.8;
    color: #2c3e50;
    border-radius: 12px;
    background-color: #e8f5e9;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 16px;
    border: 1px solid #a5d6a7;
    font-family: 'Arial', sans-serif;
}

.reparador-actions {
    display: flex;
    justify-content: flex-start;
    padding: 10px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.boton-aceptar, .boton-rechazar {
    padding: 8px 16px;
    margin-right: 10px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.boton-aceptar {
    background-color: #28a745;
    color: white;
}

.boton-rechazar {
    background-color: #dc3545;
    color: white;
}

.boton-aceptar:hover {
    background-color: #218838;
}

.boton-rechazar:hover {
    background-color: #c82333;
}

.toggle-switch {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 22px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #dc3545;
}

input:checked + .slider:before {
    transform: translateX(18px);
}

.toggle-label {
    margin-left: 10px;
    font-size: 12px;
    color: #666;
}

#lista-reparadores li.rechazado {
    background-color: #ffcccb;
    border: 2px solid #ff6b6b;
}

#lista-reparadores li.rechazado strong,
#lista-reparadores li.rechazado span {
    color: #d32f2f;
}

#lista-reparadores li.rechazado:hover {
    background-color: #ffa4a2;
    box-shadow: 0 6px 12px rgba(255, 107, 107, 0.2);
}

#lista-reparadores li.rechazado .nota-rechazo-texto {
    background-color: #fff;
    border: 1px solid #ff6b6b;
    border-radius: 4px;
    padding: 8px;
    margin-top: 10px;
    font-style: italic;
    color: #d32f2f;
}

#lista-reparadores li.rechazado .boton-rechazar {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.7;
}

#lista-reparadores li.rechazado .boton-rechazar:hover {
    background-color: #ccc;
    box-shadow: none;
}

.rechazado-en-proceso .boton-rechazar {
    pointer-events: none;
    opacity: 0.5;
}

.boton-aceptar.disabled,
.boton-rechazar.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.boton-aceptar.disabled:hover,
.boton-rechazar.disabled:hover {
    background-color: #6c757d;
    box-shadow: none;
}

.nota-rechazo {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    resize: vertical;
    min-height: 80px;
}

.nota-rechazo:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.confirmar-rechazo,
.cancelar-rechazo {
    display: inline-block;
    padding: 8px 16px;
    margin: 5px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.confirmar-rechazo {
    background-color: #dc3545;
    color: white;
}

.confirmar-rechazo:hover {
    background-color: #c82333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cancelar-rechazo {
    background-color: #6c757d;
    color: white;
}

.cancelar-rechazo:hover {
    background-color: #5a6268;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.confirmar-rechazo:active,
.cancelar-rechazo:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mensaje-especialidad {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.mensaje-especialidad.encontrada {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.mensaje-especialidad.no-encontrada {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

#descargar-pdf {
    margin: 5px;
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#descargar-pdf {
    background-color: #28a745;
}

#descargar-pdf:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#descargar-pdf:active {
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#descargar-pdf:hover {
    background-color: #218838;
}

#descargar-pdf[disabled] {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.65;
}

#download-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#recording-status {
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
    color: red;
    display: none;
}

#start-recording,
#stop-recording {
    margin: 5px;
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#start-recording:hover,
#stop-recording:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#start-recording:active,
#stop-recording:active {
    background-color: #004a6d;
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#start-recording[disabled],
#stop-recording[disabled] {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.65;
}

#agente-selector-container {
    text-align: center;
    margin: 20px 0;
}

#agente-selector {
    width: 300px;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #007bff;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
}

#agente-selector:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

#agente-selector option {
    padding: 10px;
}

#error-message {
    color: #dc3545;
    font-weight: bold;
    margin-top: 10px;
    display: none;
}

.vtp-limitation-notice {
    background-color: #f8f9fa;
    border-left: 4px solid #17a2b8;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 20px 0;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

.vtp-limitation-notice:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.vtp-limitation-notice p {
    margin: 10px 0;
    line-height: 1.6;
    color: #495057;
}

.vtp-limitation-notice strong {
    color: #343a40;
    font-weight: 600;
}

#vtp-usage-count {
    background-color: #e9ecef;
    border-radius: 20px;
    padding: 2px 10px;
    font-weight: bold;
    color: #495057;
}

.vtp-upgrade-link {
    display: inline-block;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.vtp-upgrade-link:hover {
    background-color: #218838;
    text-decoration: none;
    color: white;
}

.vtp-highlight {
    color: #dc3545;
    font-weight: bold;
}

.vtp-usage-counter-container {
    max-width: 200px;
    margin: 15px auto;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vtp-usage-counter {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.vtp-counter-circle {
    position: relative;
    width: 100%;
    height: 100%;
}

.circular-chart {
    display: block;
    margin: 10px auto;
    max-width: 80%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

.circular-chart .circle {
    stroke: #00d62e;
}

.vtp-counter-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.vtp-counter-number {
    font-size: 18px;
    font-weight: bold;
}

.vtp-counter-label {
    font-size: 14px;
}

.form-table th {
    width: 250px;
}

.form-table td {
    display: flex;
    align-items: center;
}

.form-table input[type="text"],
.form-table textarea {
    flex-grow: 1;
    width: calc(100% - 100px);
}

.vtp-pro-label {
    background-color: #dc3545;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 10px;
    white-space: nowrap;
}

.form-table input[type="checkbox"] {
    margin-right: 10px;
}

.form-table textarea {
    vertical-align: top;
}

.form-table input[type="checkbox"] + .vtp-pro-label {
    margin-left: auto;
}

#opcion-whatsapp {
    background-color: #f0f8ff;
    border: 1px solid #25d366;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#opcion-whatsapp:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

#opcion-whatsapp h4 {
    color: #075e54;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

#mensaje-whatsapp,
#telefono-whatsapp {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
}

#mensaje-whatsapp {
    min-height: 100px;
}

#mensaje-whatsapp:focus,
#telefono-whatsapp:focus {
    border-color: #25d366;
    outline: none;
    box-shadow: 0 0 5px rgba(37, 211, 102, 0.5);
}

#enviar-whatsapp {
    background-color: #25d366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: block;
    width: 100%;
    text-align: center;
}

#enviar-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
}

#enviar-whatsapp:active {
    transform: translateY(0);
}

.vtp-registro-reparadores-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    padding: 20px;
}

.vtp-registro-filter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#vtp-filtro-reparador,
#vtp-filtro-accion {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

#vtp-filtro-reparador:focus,
#vtp-filtro-accion:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.vtp-registro-filter-form .button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.vtp-registro-filter-form .button:hover {
    background-color: #45a049;
}

.vtp-registro-filter-form .button:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.vtp-reparadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.vtp-reparador {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.vtp-reparador:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.vtp-reparador h3 {
    color: #333;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 1.2em;
}

.vtp-trabajos-list {
    list-style-type: none;
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
}

.vtp-trabajos-list.scrollable {
    padding-right: 5px;
}

.vtp-trabajo {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9em;
}

.vtp-trabajo.aceptado {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
}

.vtp-trabajo.rechazado {
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    color: #c62828;
}

.vtp-trabajo-fecha {
    font-weight: bold;
}

.vtp-trabajo-motivo {
    font-style: italic;
    margin: 5px 0 0;
    font-size: 14px;
    color: #727272;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
}

.vtp-no-resultados {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    grid-column: 1 / -1;
}

#vtp-contador-reparadores {
    font-weight: bold;
    color: #4CAF50;
}

.vtp-boton-registro-container {
    text-align: center;
    margin-bottom: 20px;
}

.vtp-boton-registro {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.vtp-boton-registro:hover {
    background-color: #45a049;
    text-decoration: none;
}

.vtp-boton-registro:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.5);
}

.vtp-totales {
    background-color: #f8f9fa;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 0.9em;
    display: flex;
    justify-content: space-around;
}

.vtp-totales strong {
    margin-right: 5px;
}

.total-aceptados {
    color: #28a745;
    font-weight: bold;
}

.total-rechazados {
    color: #dc3545;
    font-weight: bold;
}

.vtp-trabajos-list::-webkit-scrollbar {
    width: 8px;
}

.vtp-trabajos-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.vtp-trabajos-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.vtp-trabajos-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media (max-width: 768px) {
    .vtp-limitation-notice {
        padding: 15px;
    }

    .vtp-upgrade-link {
        display: block;
        text-align: center;
    }

    .vtp-registro-filter-form {
        flex-direction: column;
    }
    
    .vtp-registro-filter-form .button {
        width: 100%;
    }

    .vtp-boton-registro {
        display: block;
        width: 100%;
    }
}

#direccion-busqueda-container {
    margin-bottom: 15px;
}

#direccion-busqueda {
    width: 70%;
    padding: 8px;
    margin-right: 10px;
}

#buscar-reparadores {
    padding: 8px 15px;
    background-color: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}

#buscar-reparadores:hover {
    background-color: #005177;
}

.trabajo-asignado {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .vtp-limitation-notice {
        padding: 15px;
    }

    .vtp-upgrade-link {
        display: block;
        text-align: center;
    }

    #direccion-busqueda {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    #buscar-reparadores {
        width: 100%;
    }

    .reparador-content {
        flex-direction: column;
    }

    .reparador-info,
    .reparador-observaciones {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }

    .toggle-switch {
        position: static;
        margin-top: 10px;
    }
}

.vtp-boton-registro-container {
    text-align: center;
    margin-bottom: 20px;
}

.vtp-boton-registro {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.vtp-boton-registro:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.vtp-boton-registro:active {
    transform: translateY(0);
}

.vtp-boton-registro:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.5);
}

@media (max-width: 768px) {
    .vtp-boton-registro {
        display: block;
        width: 100%;
    }
}

.mensaje-suave {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.mensaje-suave.visible {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.servicios-no-realizados {
    list-style-type: none;
    padding: 0;
    margin-bottom: 10px;
}

.servicios-no-realizados li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.eliminar-servicio {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reparador-observaciones .input-container {
    display: flex;
    align-items: stretch;
}

.reparador-observaciones .nuevo-servicio {
    flex-grow: 1;
    margin-right: 10px;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.reparador-observaciones .agregar-servicio {
    padding: 8px 15px;
    font-size: 14px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.reparador-observaciones .agregar-servicio:hover {
    background-color: #218838;
}

#ver-mas-opciones {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
}

#ver-mas-opciones:hover {
    background-color: #45a049;
}

#opciones-adicionales {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.opcion-container {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.opcion-container h3 {
    color: #333;
    margin-bottom: 10px;
}

.opcion-container p {
    color: #666;
    margin-bottom: 15px;
}

.vtp-boton-registro,
#buscar-reparadores,
#descargar-pdf {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.vtp-boton-registro:hover,
#buscar-reparadores:hover,
#descargar-pdf:hover, {
    background-color: #0056b3;
}

#direccion-busqueda {
    width: calc(100% - 130px);
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#download-buttons {
    display: flex;
    justify-content: start;
    gap: 10px;
}

.reparador-card .reparador-observaciones h4 {
    font-size: 18px !important;
    margin-bottom: 10px !important;
    color: #333 !important;
    font-weight: bold !important;
}

/* Estilos para el modal de grabaciones pendientes */
.vtp-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.vtp-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
}

.vtp-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.vtp-modal-close:hover {
    color: black;
}

.vtp-tarjeta-grabacion {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.vtp-tarjeta-grabacion:hover {
    background-color: #f1f1f1;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.vtp-tarjeta-grabacion h3 {
    margin-top: 0;
    color: #333;
    font-size: 16px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

.vtp-boton-recuperar {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.vtp-boton-recuperar:hover {
    background-color: #45a049;
}

#recuperar-grabaciones {
    margin: 20px auto;
    display: block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    width: max-content;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

#recuperar-grabaciones:hover {
    background-color: #0056b3;
}

/* Estilos para campos editables - añadir a style.css */

.campo-editable, 
.campo-editable-pendiente {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 8px;
    width: 100%;
    resize: vertical;
    transition: all 0.3s ease;
}

.campo-editable {
    background-color: #f8f9fa;
    border-color: #007bff;
}

.campo-editable:focus {
    background-color: #fff;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.campo-editable-pendiente {
    background-color: #e8f4ff;
    border-color: #28a745;
}

.notice-editable {
    background-color: #d1ecf1;
    font-size: 14px;
    color: #0c5460;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 5px solid #17a2b8;
}

#extracted-data-form .field-group textarea[readonly] {
    background-color: #f4f4f4;
    cursor: not-allowed;
}

/* Destacar visualmente los campos editables */
#extracted-data-form .field-group label[for="Nombre"],
#extracted-data-form .field-group label[for="Dirección"],
#extracted-data-form .field-group label[for="Ciudad"],
#extracted-data-form .field-group label[for="Provincia"],
#extracted-data-form .field-group label[for="Teléfono"] {
    color: #28a745;
    font-weight: bold;
}

/* Agregar un icono de edición junto a los campos editables */
#extracted-data-form .field-group label[for="Nombre"]::after,
#extracted-data-form .field-group label[for="Dirección"]::after,
#extracted-data-form .field-group label[for="Ciudad"]::after,
#extracted-data-form .field-group label[for="Provincia"]::after,
#extracted-data-form .field-group label[for="Teléfono"]::after {
    content: " ✏️";
    font-size: 14px;
}

/* ===== ESTILOS PARA MODO MANUAL ===== */
#modo-manual {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#modo-manual:hover {
    background-color: #1976D2;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#extraer-datos-email {
    background-color: #FF9800;
    color: white;
    border: none;
    padding: 12px 20px;
    margin: 5px;
    flex: 1;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#extraer-datos-email:hover {
    background-color: #F57C00;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#extraer-datos-email:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
}

#procesar-datos-manual {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px;
    margin: 5px;
    flex: 1;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#procesar-datos-manual:hover {
    background-color: #45a049;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#procesar-datos-manual:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
}

/* Contenedor de botones del modo manual */
.botones-modo-manual {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Instrucciones del modo manual */
#instrucciones-manual {
    background-color: #E3F2FD;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    border-left: 4px solid #2196F3;
}

#instrucciones-manual strong {
    color: #1565C0;
}

/* Campos editables en modo manual */
#transcription-text:not([readonly]) {
    background-color: #f0f8ff;
    border: 2px solid #2196F3;
    min-height: 150px;
}

#extracted-data-form textarea:not([readonly]) {
    background-color: #f0f8ff;
    border: 1px solid #2196F3;
}

/* Campos con datos extraídos automáticamente */
#extracted-data-form textarea.campo-extraido {
    background-color: #E8F5E9;
    border: 1px solid #4CAF50;
}

/* Campos vacíos pendientes de rellenar */
#extracted-data-form textarea.campo-vacio {
    background-color: #FFF3E0;
    border: 1px solid #FF9800;
}

/* Campos con error de validación */
#extracted-data-form textarea.campo-error {
    border: 2px solid #f44336 !important;
    background-color: #ffebee !important;
}

/* Mensaje de éxito del modo manual */
.vtp-mensaje-manual-exito {
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}