﻿.dashboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 102%;
    margin: 0px;
    min-height: 81vh;
    background-image: url(/Imagenes/inicio-profesional.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: static;
}

#blazor-error-ui {
    display: none !important; /* Oculta el elemento */
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none !important;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.welcome-message {
    text-align: center;
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 20px; 
    background-color: rgba(0, 0, 0, 0.5); 
    border-radius: 10px;
    z-index: -1;
}

    .welcome-message h1 {
        font-size: 1.5rem;
        color: #343a40;
        margin: 0;
    }

.clock {
    font-size: 1.5rem;
    color: #6c757d;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #dee2e6;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    }

    .card h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        color: #000;
    }

    .card p {
        font-size: 2rem;
        color: #3d7699;
        margin: 0;
    }


/* perfil */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #4CAF50;
    color: white;
}

tr:hover {
    background-color: #f1f1f1;
}


.title {
    font-size: 1.5em;
    margin: 10px 0;
    color: #333;
}
.divider {
    height: 2px;
    background-color: #508eb363;
    margin: 10px 0;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgb(0 0 0 / 31%);
}

    .responsive-table th, .responsive-table td {
        border: 1px solid #ffffff;
        padding: 9px;
        text-align: left;
    }

    .responsive-table th {
        background-color: #508eb3;
        
    }

    .responsive-table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .responsive-table tr:hover {
        background-color: #f1f1f1;
    }

    
td input, td select {
    width: 100%;
    padding: 8px;
    margin: 4px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Estilos para pantallas pequeñas */
@media (max-width: 600px) {
    .responsive-table th, .responsive-table td {
        display: block;
        width: 95.9%;
    }

    .responsive-table tr {
        margin-bottom: 0px;
        display: block;
    }

    .responsive-table {
        width: 102%;
        border-collapse: collapse;
        margin: 22px -10px;
        border-radius: 8px;
    }
}


/* Media Queries para Responsividad */
@media (max-width: 768px) {
    .dashboard {
        width: 109.9%;
        margin: -8px -18px;
        min-height: 81.9vh;
    }
    .form-group {
        margin-bottom: 10px;
    }
}





.row {
    margin: 20px 0;
}


.form-group label {
    font-weight: bold;
    color: #333;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

    .btn-primary:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }




.form-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-group {
    flex: 1 1 45%; 
    margin: 10px; 
}

.input {
    width: 90%;
    padding: 8px;
    margin: 15px 5px 50px 1px;
    border-radius: 5px;
    border: 1px solid #ccc;
}


.boto {
    margin: 0;
    padding: 9px;
    background: #508eb3;
    color: #fff;
    border: none;
    border-radius: 8px;
}