@font-face {
    font-family: 'Placas Font';
    src: url('../font/font.woff');
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    margin: 0;
    padding: 0;
}

#textoPlaca {
    position: absolute;
    /* Posiciona el texto absolutamente dentro del contenedor */
    top: 4.5%;
    /* Centra verticalmente (aproximado) */
    left: 50%;
    /* Centra horizontalmente (aproximado) */
    transform: translate(-50%, -50%);
    /* Centrado perfecto */
    font-size: 104px;
    /* Tamaño de la fuente */
    font-family: 'Placas Font';
    /* Usa la fuente definida */
    text-align: center;
    /* Asegura que el texto esté centrado */
    width: 100%;
    /* El ancho del texto no debe exceder el de la imagen */
}

.tav-container {
    background: #fff;
    max-width: 610px;
    margin: 40px auto 0 auto;
    padding: 30px 20px 20px 20px;
    box-shadow: none;
}

.img-responsive {
    width: 340px;
    display: block;
    margin: 0 auto 10px auto;
}

.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

h3 {
    margin: 0 0 0 0;
}

h4 {
    margin: 10px 0 15px 0;
    font-size: 22px;
    font-weight: bold;
}

h5 {
    margin: 26px 0 6px 0;
    font-size: 16px;
    font-weight: bold;
}

strong {
    font-weight: bold;
}

.text-justify {
    text-align: left;
    font-size: 15px;
    color: #333;
}

.table {
    width: 100%;
    max-width: 100%;
    background-color: transparent;
    border-collapse: collapse;
    margin: 15px 0 0 0;
    font-size: 15px;
}

.table-condensed th,
.table-condensed td {
    padding: 7px 9px;
}

.table th,
.table td {
    border-top: 1px solid #ddd;
    line-height: 1.5;
}

.table th {
    border-bottom: 2px solid #ddd;
    text-align: left;
    background: none;
}

.table tr:first-child th,
.table tr:first-child td {
    border-top: none;
}

.table .header {
    background: #4a7698;
    color: #fff;
    font-weight: bold;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 2px solid #4a7698;
}

.tdNumber {
    text-align: right;
}

.placa-form {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.form-group {
    margin-bottom: 10px;
}

label {
    display: inline-block;
    margin-bottom: 7px;
    font-weight: normal;
    font-size: 15px;
    color: #222;
}

.form-control {
    display: block;
    width: 95%;
    padding: 7px 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: none;
    margin-bottom: 10px;
}

.form-control:focus {
    border-color: #4a7698;
    outline: none;
}

.btn {
    display: inline-block;
    padding: 6px 18px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    white-space: nowrap;
    background: #fff;
    color: #333;
    font-size: 15px;
    transition: background 0.2s, border 0.2s;
    margin-bottom: 15px;
}

.btn-default {
    background: #fff;
    border-color: #ccc;
    color: #333;
}

.btn-default:hover {
    background: #f4f4f4;
    border-color: #888;
}

hr {
    margin: 22px 0;
    border: 0;
    border-top: 1px solid #ddd;
}

#vinMarca {
    margin: auto;
    width: 150px;
}

.contenedor-imagen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
}

/* Overlay de carga */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: none;
    /* Oculto inicialmente */
}

/* Spinner */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 700px) {
    .tav-container {
        padding: 10px 3vw 12px 3vw;
        max-width: 100vw;
    }

    .img-responsive {
        width: 90vw;
        min-width: 140px;
        max-width: 95vw;
    }
}