/* ========================================
   EXIF Stamper - Estilos del plugin
   ======================================== */

/* -- Contenedor principal -- */
.exif-stamper-wrap {
    font-family: Verdana, sans-serif;
    font-size: 14px;
    line-height: 30px;
    color: #343a40;
}

.exif-marco {
    position: relative;
    min-height: 470px;
    padding: 16px;
    background: #efefef;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin: 10px 0;
}

.exif-titulo {
    margin-bottom: 8px;
    font-size: 15px;
}

/* -- Filas del formulario -- */
.exif-row {
    margin: 6px 0;
}

.exif-row span {
    margin-left: 4px;
}

/* Reset de margins que aplican algunos temas WP */
.exif-stamper-wrap input,
.exif-stamper-wrap textarea,
.exif-stamper-wrap select {
    margin: 0;
}

/* Centrado forzado para input[type=submit] */
.exif-stamper-wrap input[type="submit"].exif-boton {
    text-align: center;
}

.exif-ancho {
    width: 100%;
    padding: 4px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-family: Verdana, sans-serif;
    box-sizing: border-box;
}

/* -- Input file personalizado -- */
.exif-file {
    position: relative;
    display: inline-block;
    cursor: pointer;
    height: 2.5rem;
    width: 100%;
    box-sizing: border-box;
}

.exif-file input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    margin: 0;
    cursor: pointer;
    z-index: 10;
}

.exif-file-custom {
    position: absolute;
    top: 0; right: 0; left: 0;
    z-index: 5;
    height: 2.5rem;
    padding: 0.5rem 1rem;
    line-height: 1.5;
    color: #555;
    background-color: #fff;
    border: 0.075rem solid #ddd;
    border-radius: 0.25rem;
    box-shadow: inset 0 0.2rem 0.4rem rgba(0, 0, 0, 0.05);
    user-select: none;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 90px;
}

.exif-file-custom::before {
    content: "Buscar";
    position: absolute;
    top: -0.075rem;
    right: -0.075rem;
    bottom: -0.075rem;
    display: block;
    height: 2.5rem;
    padding: 0.5rem 1rem;
    line-height: 1.5;
    color: #fff;
    background-color: #6870e1;
    border: 0.075rem solid #ddd;
    border-radius: 0 0.25rem 0.25rem 0;
    box-sizing: border-box;
}

/* -- Botones -- */
.exif-boton {
    display: block;
    width: 100%;
    padding: 0;
    height: 2.5rem;
    line-height: 2.5rem;
    text-align: center;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    font-family: Verdana, sans-serif;
    text-decoration: none;
    box-sizing: border-box;
    margin-top: 6px;
}

.exif-boton:hover {
    opacity: 0.85;
    color: #fff;
    text-decoration: none;
}

.exif-boton-generar {
    background: #4650dd;
}

.exif-boton-generar:disabled {
    background: #aaa;
    cursor: not-allowed;
}

.exif-boton-download {
    background: #dc3545;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 0.5rem;
}

/* -- Estado / mensajes -- */
.exif-status {
    font-size: 13px;
    color: #555;
    margin: 6px 0 0;
    min-height: 20px;
}

/* -- Branding -- */
.exif-branding {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

/* ========================================
   Estilos del overlay (usado por html2canvas)
   Deben estar en esta hoja para que los
   compute el navegador correctamente.
   ======================================== */

.exif-ov-centrar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.exif-ov-row {
    font-family: 'Lato', Verdana, sans-serif;
    text-align: left;
    color: #fff;
    font-size: 52pt;
    padding: 3px;
}

.exif-ov-icon {
    vertical-align: middle;
    margin-top: -5px;
    margin-right: 10px;
}

.exif-ov-icon2 {
    vertical-align: middle;
    margin-top: -2px;
    margin-left: 15px;
    margin-right: 30px;
}
