* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    display: flex;
    height: 100vh;
    font-family: Arial, sans-serif;
}
.left-panel {
	width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: url('../img/A11.png') no-repeat center center;
	background-size: 90%;
	background-color: #f4f4f4;
}
.right-panel {
	width: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: url('../img/bg-blue.jpg') no-repeat center center;
}

.quests{
    width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: url('../img/bg-blue.jpg') no-repeat center center;
}
.login-form {
	background: white;
	padding: 30px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	width: 80%;
	max-width: 400px;
}
.login-form a{
    text-decoration: none;
    color: #0056b3;
}
.login-form header {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 20px;
	text-align: center;
}
.login-form .input-group {
	margin-bottom: 15px;
}
.login-form label {
	font-weight: bold;
}
.login-form input {
	width: 100%;
	padding: 10px;
	margin-top: 5px;
	border: 1px solid #ccc;
	border-radius: 5px;
}
.login-form button {
	width: 100%;
	padding: 10px;
	background: #007BFF;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
}
.login-form button:hover {
	background: #0056b3;
}
.left-panel h1 {
	font-size: 28px;
	color: black;
	text-align: center;
	background: transparent;
	padding: 10px 20px;
	border-radius: 10px;
	margin-bottom : 80%;
}


@media screen and (max-width: 768px) {
	.left-panel{
		display: none;
	}

	.right-panel {
		width: 100%;
	
	}
}





.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.login-box {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 300px;
}

button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}
button:hover {
    background: #0056b3;
}
.question {
    margin-top: 10px;
}



#ma-body {
    height: 100vh;
	background-image: url(../img/bg-blue.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: white; 
    color: black;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ccc; 
    transition: 0.3s;
    margin-right: 10px
}

.logo img:hover {
    border-color: #007bff;
}


.logo span {
    font-size: 18px;
    font-weight: bold;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px; 
    margin-right: 30px; 
    position: relative;
}


#user-name {
    font-size: 16px;
    margin-right: 15px;
    font-weight: bold;
}

.panel-btn, .logout-btn {
    background: #007bff;
    color: black;
    border: none;
    padding: 8px 12px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.panel-btn:hover, .logout-btn:hover {
    background: #0056b3;
}


.perfil {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #ccc;
    transition: 0.3s;
}

.perfil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.perfil:hover {
    border-color: #007bff;
}

#top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #f0f0f0; /* Color gris claro */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

/* Estilos del logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ccc;
    margin-right: 10px;
}

.logo span {
    font-size: 18px;
    font-weight: bold;
}

.opciones {
    display: flex;
    align-items: center;
    gap: 10px; 
}


.opciones button {
    background: transparent;
    border: none;
    color: black;
    font-size: 16px;
    padding: 10px 15px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.opciones button a{
    background: transparent;
    border: none;
    color: black;
    font-size: 16px;
    padding: 10px 15px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
    text-decoration: none;
}

.opciones button:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: #ccc; 
}


.opciones button:hover {
    background: #d6d6d6; 
}


.perfil {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #ccc;
    transition: 0.3s;
}

.perfil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.perfil:hover {
    border-color: #007bff;
}


.dropdown-menu {
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    width: 150px;
    display: none;
}


.dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu ul li {
    padding: 10px;
    text-align: center;
    transition: background 0.3s;
}

.dropdown-menu ul li:hover {
    background: #f0f0f0;
}

.dropdown-menu ul li a {
    text-decoration: none;
    color: black;
    display: block;
    font-size: 14px;
}


@media screen and (max-width: 768px) {
    
    .opciones {
        display: none;
    }

    .perfil {
        position: absolute;
        top: -20px;
        right: 20px;
        cursor: pointer;
    }

    .dropdown-menu {
        display: none; 
        position: absolute;
        top: 60px;
        right: 0;
        background: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        width: 150px;
        z-index: 999;
    }

    .dropdown-menu.active {
        display: block; 
		right: -100x;
    }

	
}

@media screen and (min-width: 769px) {
    .opciones {
        display: flex;
    }
}


.desplegable {
    position: absolute;
    top: 70px;  
    left: 10px;  
}

.desplegable button {
    display: none;
}

@media (max-width: 768px) {
    .desplegable button {
        display: inline-block;  
        background-color: transparent;
        border: none;
        cursor: pointer;
        font-size: 24px;  
    }

    .desplegable button i {
        color: white;  
    }
}


.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #333;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    padding: 8px 16px;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.sidebar ul li a:hover {
    background-color: #575757;
}

.sidebar.open {
    width: 250px; 
}


.desplegable button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
    transition: transform 0.5s; 
}

.desplegable button.move-right {
    transform: translateX(260px); 
}

.informacion-central {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    margin-top: 0; 
}


.informacion-central {
    display: flex;
    justify-content: center; 
    align-items: center; 
    height: 100vh;
}

.tarjetas {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px; 
}

.new-badge {
    position: absolute;
    top: 5px;
    right: 15px;
    width: 25px; 
    height: auto;
}



.tarjeta {
    background: #fff;
    position: relative;
    display: inline-block;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 250px;
}


.tarjeta a{
	text-decoration: none;
}

.tarjeta img {
    width: 80px;
    height: auto;
}

.tarjeta:hover {
    transform: translateY(-10px);
}

.tarjeta h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #1a1a1a;
}

.tarjeta p {
    font-size: 1rem;
    color: #666;
}




@media screen and (max-width: 768px) {
    .informacion-central{
        margin-top: 100px;
    }
}

@media (max-width: 768px) {
    .informacion-central {
        flex-direction: column;
        height: auto; 
        padding: 20px; 
    }
}

.barra-busqueda {
    position: absolute;
    top: 120px; 
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    background: #fff;
    padding: 5px;
    border-radius: 25px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 400px;
}

@media screen and (max-width: 768px) {
    .informacion-central{
        margin-top: 100px;
    }

	.barra-busqueda{
		width: 300px;
	}

    .back {
        display: block; 
    }

   

}

.barra-busqueda input {
    border: none;
    outline: none;
    padding: 8px;
    flex: 1;
    border-radius: 25px 0 0 25px;
}

.barra-busqueda button {
    background: #007BFF;
    border: none;
    padding: 8px 12px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    color: white;
	width: 20%;
}

.barra-busqueda button:hover {
    background: #0056b3;
}

.barra-busqueda i {
    font-size: 16px;
}


.contenedor-tabla {
	margin-top: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; 
    flex-direction: column;
    padding: 20px;
	width: 100%;
}

.hidden {
    display: none;
}

table {
    width: 50%; 
    max-width: 900px; 
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #f9f9f9; 
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(141, 130, 130, 0.1);
}


th, td {
    padding: 16px; 
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: white;
    color: black;
}

td {
    font-size: 14px; 
}

.btn-ver {
    text-decoration: none;
    color: white;
    background-color: #28a745;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    transition: 0.3s;
    width: auto;
}

.btn-ver:hover {
    background-color: #218838; 
}

.error {
    color: red;
    text-align: center;
    font-weight: bold;
    padding: 20px;
    background-color: #ffe6e6;
    border: 1px solid #ff6666;
    border-radius: 5px;
}

.dataTables_filter,  
.dataTables_length {  
    display: none;
}


.form-container {
	width: auto;
	height: 70%;
	margin: 0 auto;
	padding: 30px;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.form-container h2 {
	text-align: center;
	color: #0066cc;
	margin-bottom: 20px;
}
.form-container label {
	color: #333;
}
.form-container .btn-primary {
	background-color: #0066cc;
	border: none;
	padding: 10px 20px;
	width: 100%;
	font-size: 16px;
    margin-top: 5%;
    margin-bottom: 20%;
}
.form-container .btn-primary:hover {
	background-color: #005bb5;
}
.form-container input {
	margin-bottom: 15px;
	width: 100%;
	height: 30px;

}

.verificacion-iconos{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
}

.verificacion-iconos i{
	margin-left: 1em;
	margin-top: 0.5em;
}


.btn-flotante {
    position: fixed;
    bottom: 20px; 
    right: 20px; 
    background-color: transparent; 
    border: none;
    border-radius: 50px; 
    padding: 15px 20px; 
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 1000; 
    width: 7%;
}

.img-btn{
    width: 100%;
    height: 100%;
}

.btn-flotante:hover {
    background-color: #0056b3; 
}

.btn-flotante-re{
    position: fixed;
    bottom: 20px; 
    left: 20px; 
    background-color: transparent; 
    border: none;
    border-radius: 50px; 
    padding: 15px 20px; 
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 1000; 
    width: 7%;
}

.btn-flotante-re:hover {
    background-color: #0056b3; 
}

.back{
    display: none;
}

@media screen and (max-width: 768px) {
    .back {
        display: block; 
    }
    .a-back{
        text-decoration: none;
    }

    

}