﻿

.form {
    background: white;
    padding: 20px 25px; /*Arriba, izq */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow: hidden;
    box-sizing: border-box;
}


.page-center {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-top {
    min-height: 100vh;
    display: flex;
    justify-content: center;    
    align-items: flex-start; /*Top*/
    padding-top: 40px; /* separa del borde superior */
}

input[type="file"] {    
    font-size: 11px;
    font-family: Arial;
    height: 22px;
}

input[type="text"] {
    height: 20px;
    font-family: Arial;
    font-size: 12px;
    border: 1px solid #a9a9a9;
    padding-left: 4px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background-color: #ffffff;
}

/* cuando toma foco */
input[type="text"]:focus {
    outline: none;
    border: 1px solid orange;
    background-color: #fff9cc; /* amarillo muy claro */
}

input[type="number"] {
    height: 20px;
    font-family: Arial;
    font-size: 12px;
    border: 1px solid #a9a9a9;
    padding-left: 4px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background-color: #ffffff;
}

    /* cuando toma foco */
    input[type="number"]:focus {
        outline: none;
        border: 1px solid orange;
        background-color: #fff9cc; /* amarillo muy claro */
    }

label {
    height: 20px;
    font-family: Arial;
    font-size: 12px;
    background-color: #f0f0f0;
    border: 1px solid #a9a9a9;
    padding-left: 4px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

input.label {
    display: inline-block;
    background-color: #f0f0f0;
    border: 1px solid #a9a9a9;
    color: #000;
    cursor: default;
}

    /* evita foco amarillo */
    input.label:focus {
        outline: none;
        border: 1px solid #a9a9a9;
        background-color: #f0f0f0;
    }

    /* opcional: evita edición */
    input.label[readonly] {
        background-color: #f0f0f0;
    }
input[type="submit"] {
    height: 20px;
    font-family: Arial;
    font-size: 12px;
    border: 1px solid #a9a9a9;
    padding-left: 4px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;    
}

input[type="file"] {
    font-size: 11px;
    font-family: Arial;
    height: 23px;
}

.botonbusca {
    height: 20px;
    padding: 1px;
    margin: 0px;
    border: none;
    border-radius: 4px;
    border: 1px solid #a9a9a9;
    cursor: pointer;
    font-family: Arial;
    font-size: 11px;
}

.botonverde {
    padding: 8px;
    margin: 5px;
    border: none;
    border-radius: 4px;
    background-color: forestgreen;
    color: white;
    cursor: pointer;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 12px;
}

    .botonverde:hover {
        background-color: forestgreen;
    }

.botonazul {
    border: none;
    border-radius: 4px;
    background-color: #0d6efd;
    color: white;
    cursor: pointer;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 12px;
}

    .botonazul:hover {
        background-color: #0d6efd;
    }


.botonrojo {    
    padding: 8px;
    margin: 5px;
    border: none;
    border-radius: 4px;
    background-color: darkred;
    color: white;
    cursor: pointer;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 12px;
}

    .botonrojo:hover {
        background-color: darkred;
    }


@media (min-width:600px) {
    
    td {
        font-family: Arial;
        font-Size: 8pt;
        border: solid 1px "#EBEBEB";
    }

    th {
        background-color: #a9b0b4;
        color: white;
        font-family: Arial;
        font-Size: 8pt;
        font-weight: normal;
    }
}

@media (max-width:600px) {
    .form {
        background-color: white;
        text-align: left;
        padding: 0px;
    }

    td {
        font-family: Arial;
        font-Size: 9pt;
        border: solid 1px "#EBEBEB";
    }

    th {
        background-color: #a9b0b4;
        color: white;
        font-family: Arial;
        font-Size: 9pt;
        font-weight: normal;
    }
}
