﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* ESTILOS NAVBAR */
nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo a la izquierda */
.navbar-left {
    display: flex;
    align-items: center;
}

.logo {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .logo:hover {
        transform: scale(1.05);
    }

/* Navegación al centro */
.navbar-center {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: white !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

    .nav-link:hover {
        background: rgba(255,255,255,0.2);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .nav-link i {
        font-size: 1.1rem;
    }

.logout-btn {
    background: rgba(220, 53, 69, 0.2) !important;
    border-color: rgba(220, 53, 69, 0.3) !important;
}

    .logout-btn:hover {
        background: rgba(220, 53, 69, 0.3) !important;
    }

/* Usuario a la derecha */
.navbar-right {
    display: flex;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

    .user-info i {
        font-size: 1.2rem;
        color: white;
    }

.usuario-label {
    color: white !important;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Contenido principal */
.content {
    min-height: calc(100vh - 160px);
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 60px;
}
    .content button,
    .content input[type="submit"],
    .content input[type="button"],
    .content .asp-button,
    .content select,
    .content option,
    .content .asp-linkbutton,
    .content .asp-gridview,
    .content a {
        background-color: #1c3b64;
        color: #ffffff;
        padding: 10px 18px;
        border: none;
        border-radius: 6px;
        font-family: 'Segoe UI', sans-serif;
        font-size: 14px;
        text-decoration: none;
        display: inline-block;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }
    .content Panel {
        border: 2px solid lightblue;
        padding: 10px;
        border-radius: 5px
    }
    .content label {
        font-weight: bold;
        margin-bottom: 0.3rem;
    }
    .content table {
        width: 100%;
        border-collapse: collapse;
        color: #1f2d3d; /* texto gris-azulado elegante */
    }

    .content th {
        background-color: #dbe9f4;
        color: #1c3b64;
        font-weight: 600;
        padding: 12px;
        border-bottom: 2px solid #b6d0e5;
        text-align: left;
    }

    .content  td {
        background-color: #ffffff;
        padding: 10px;
        border-bottom: 1px solid #e0edf7;
        transition: background-color 0.3s ease;
    }

    .content  tr:hover td {
        background-color: #eaf2fb;
    }

    .content .highlight {
        background-color: #c9e3f8;
        font-weight: bold;
    }
  
.content button:hover,
.content input[type="submit"]:hover,
.content input[type="button"]:hover,
.content .asp-button:hover,
.content .asp-linkbutton:hover,
.content a:hover {
    background-color: #295386;
    transform: scale(1.03);
}
    


    .content .button {
        border: 1px solid black;
        text-decoration: none;
        color: white;
        background-color: #007bff;
        padding: 0.6rem 1.2rem;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.1s ease;
        align-self: start;
    }
    .content .linkbutton {
    border: 1px solid black;
    text-decoration: none;
    color: white;
    background-color: #007bff;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    align-self: start;
    }
    .content .linkbutton-submenu {
        text-decoration: none;
        text-align: right;
        color: black;
        background-color: white;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
        font-weight: 100;
        padding: 2px 5px;
        font-size: 16px;
    }
    .content input[type="text"] {
        border: 1px solid #b6d0e5;
        padding: 8px 12px;
        border-radius: 6px;
        font-family: 'Segoe UI', sans-serif;
        font-size: 14px;
        background-color: #f2f6fa;
        color: #1c3b64;
        width: 100%;
        box-sizing: border-box;
    }
    .content .asp-textbox {
        border: 1px solid #b6d0e5;
        padding: 8px 12px;
        border-radius: 6px;
        font-family: 'Segoe UI', sans-serif;
        font-size: 14px;
        background-color: #f2f6fa;
        color: #1c3b64;
        width: 100%;
        box-sizing: unset;
    }

.linkbutton-submenu {
    text-decoration: none;
    text-align: right;
    color: black;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    font-weight: 100;
    padding: 2px 5px;
    font-size: 16px;
}
/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 1.5rem 0;
    margin-top: auto;
    border-top: 3px solid #667eea;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

    .footer-content i {
        font-size: 1.5rem;
        color: #667eea;
    }

footer h2 {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
}




h1 {
    text-align: center;
    margin-top: 20px;
}

.mensajeError {
    color: red;
    font-weight: bold;
}

.login-container {
    width: 300px;
    margin: 100px auto;
    padding: 30px;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .login-container h2 {
        margin-bottom: 20px;
        color: #333;
    }

.login-label {
    align-self: flex-start;
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

.login-input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #2e8b8b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

    .login-button:hover {
        background-color: #246b6b;
    }

.fecha-nacimiento {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.fecha-label {
    margin-right: 5px;
}

.fecha-input {
    width: 60px;
    padding: 5px;
}

.form-group {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: bold;
    margin-bottom: 0.3rem;
}
.form-labelV{
    font-size:large;
    font-weight:bold;


}

.form-input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.form-button {
    border-style: none;
    border-color: inherit;
    border-width: medium;
    background-color: #007bff;
    color: white;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    align-self: start;
    height: 22px;
}

    .form-button:hover {
        background-color: #0056b3;
    }

    .form-button:active {
        transform: scale(0.98);
    }

/* Enlaces generales */
a {
    color: white;
    text-decoration: none;
}

    a:visited {
        color: white;
    }

    a:hover {
        color: purple;
    }

    a:active {
        color: white;
    }

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .navbar-center {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .content {
        padding: 1rem;
    }

    footer h2 {
        font-size: 1rem;
        text-align: center;
    }

    h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .navbar-center {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    h1 {
        font-size: 20px;
    }

    footer {
        font-size: 12px;
        padding: 10px;
    }
}
.gridview-container {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f2f6fa; /* fondo general muy claro */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 40, 80, 0.08);
    padding: 20px;
    overflow-x: auto;
}

   


