body {
    font-family: Arial, sans-serif;
     background-color: #fff;
    color: #3d405b;
    margin: 0;
    padding: 0;
}

header, footer {
    background-color: rgba(255, 255, 255, .5);
    /* padding: 1rem;*/
    text-align: center;
}

main {
    padding: 1rem;
}

article {
    background-color: #f2cc8f;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.comment {
    background-color: #e07a5f;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.pagination a {
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #3d405b;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.pagination a.active {
    background-color: #81b29a;
}

.social-share {
    margin-top: 1rem;
}

.social-share a {
    margin-right: 1rem;
    color: #3d405b;
    text-decoration: none;
}

header h1 {
    margin: 0;
    font-size: 1rem;
    color: #3d405b;
}
.header-h1 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
}
/* Estilos para la cabecera con imagen y texto */
.header-image {
    position: relative;
    width: 100%;
    height: 180px; /* Altura de la cabecera */
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajustar la imagen sin distorsionar */
}

.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    /*background-color: rgba(0, 0, 0, 0.5);  Fondo semitransparente */
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
}

.header-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.header-text p {
    font-size: 1.2rem;
    margin: 0;
}

/* Estilos responsive para la cabecera */
@media (max-width: 768px) {
    .header-image {
        height: 300px; /* Altura reducida en móviles */
    }

    .header-text h1 {
        font-size: 2rem;
    }

    .header-text p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .header-image {
        height: 200px; /* Altura reducida en pantallas pequeñas */
    }

    .header-text h1 {
        font-size: 1.5rem;
    }

    .header-text p {
        font-size: 0.9rem;
    }
}
/* Estilos para la barra de navegación */
.navbar {
    /*background-color: #81b29a;  Color de fondo pastel */
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar-logo img {
    height: 50px; /* Ajusta el tamaño del logo */
}

.navbar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-menu li {
    margin-left: 1.5rem;
}

.navbar-menu a {
    text-decoration: none;
    color: #3d405b;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar-menu a:hover {
    color: #025f40; /* Color de texto al pasar el mouse */
}

/* Estilos para el botón de menú en móviles */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggle-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #3d405b;
    position: relative;
}

.navbar-toggle-icon::before,
.navbar-toggle-icon::after {
    content: '';
    width: 25px;
    height: 2px;
    background-color: #3d405b;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.navbar-toggle-icon::before {
    top: -6px;
}

.navbar-toggle-icon::after {
    top: 6px;
}

/* Estilos para el menú en móviles */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #81b29a;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem 0;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu li {
        margin: 0;
        text-align: center;
        padding: 0.5rem 0;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-toggle.active .navbar-toggle-icon {
        background-color: transparent;
    }

    .navbar-toggle.active .navbar-toggle-icon::before {
        transform: rotate(45deg);
        top: 0;
    }

    .navbar-toggle.active .navbar-toggle-icon::after {
        transform: rotate(-45deg);
        top: 0;
    }
}

/* Estilos para el menú desplegable */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color:rgba(255, 255, 255, .5); /* Color de fondo pastel */
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
}

.dropdown-content li {
    padding: 0;
}

.dropdown-content a {
    color: #3d405b;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #6a9c7d; /* Color de fondo al pasar el mouse */
    color: #f4f1de;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Estilos para el menú en móviles */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        background-color: transparent;
        box-shadow: none;
    }

    .dropdown-content a {
        padding: 0.5rem 1rem;
        text-align: center;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }
}

/* Estilos para el contenedor */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}



/* Estilos para la cuadrícula de publicaciones */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tres columnas */
    gap: 1.5rem; /* Espacio entre las publicaciones */
    margin-bottom: 2rem;
}

.post-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.post-card img {
    width: 100%;
    height: 200px; /* Altura fija para las imágenes */
    object-fit: cover; /* Ajustar la imagen sin distorsionar */
    border-bottom: 1px solid #eee;
}

.post-content {
    padding: 1rem;
}

.post-content h2 {
    font-size: 1.25rem;
    color: #3d405b;
    margin: 0 0 0.5rem 0;
}

.post-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.post-content small {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 1rem;
}

.post-content .btn-auth {
   /* display: inline-block;*/
    background-color: #81b29a;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.post-content .btn-auth:hover {
    background-color: #6a9c7d;
}

/* Estilos para la paginación */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination a {
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #81b29a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.pagination a.active {
    background-color: #6a9c7d;
}

.pagination a:hover {
    background-color: #6a9c7d;
}

/* Estilos responsive */
@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr); /* Dos columnas en tabletas */
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr; /* Una columna en móviles */
    }
}

/* Estilos para el perfil de usuario */
.profile-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-form .form-group {
    margin-bottom: 1rem;
}

.profile-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #3d405b;
}

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="password"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.profile-form .btn {
    background-color: #81b29a;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.profile-form .btn:hover {
    background-color: #6a9c7d;
}

/* Estilos para mensajes de éxito */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    font-weight: bold;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Estilos para la página de categoría */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

h1 {
    color: #3d405b;
    text-align: center;
    margin-bottom: 2rem;
}

.post {
    background-color: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post h2 {
    color: #3d405b;
    margin-top: 0;
}

.post img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.post p {
    color: #3d405b;
    line-height: 1.6;
}

.post .btn {
    display: inline-block;
    background-color: #81b29a;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.post .btn:hover {
    background-color: #6a9c7d;
}

/* Estilos para el mensaje de "No hay publicaciones" */
.no-posts {
    text-align: center;
    color: #3d405b;
    font-style: italic;
}

/* Estilos para el panel de administración */
.posts-list {
    margin-top: 2rem;
}

.posts-list h2 {
    color: #3d405b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.post-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 1rem;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.post-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.post-title {
    font-size: 1rem;
    color: #3d405b;
    font-weight: 500;
}

.post-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-edit, .btn-delete {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-edit {
    background-color: #81b29a;
    color: white;
}

.btn-delete {
    background-color: #e07a5f;
    color: white;
}

.btn-edit:hover {
    background-color: #6a9c7d;
}

.btn-delete:hover {
    background-color: #c86a53;
}

/* Estilos para el textarea */
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    resize: vertical;
    min-height: 150px;
}

textarea:focus {
    border-color: #81b29a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(129,178,154,0.2);
}

/* Estilos para el select */
select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

select:focus {
    border-color: #81b29a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(129,178,154,0.2);
}

/* Formulario para crear publicaciones */
.dashboard-form {
    margin-bottom: 2rem;
}

.dashboard-form .form-group {
    margin-bottom: 1rem;
}

.dashboard-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #3d405b;
}

.dashboard-form input[type="text"],
.dashboard-form textarea,
.dashboard-form select,
.dashboard-form input[type="file"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.dashboard-form textarea {
    resize: vertical;
    min-height: 150px;
}

.dashboard-form .btn {
    background-color: #81b29a;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.dashboard-form .btn:hover {
    background-color: #6a9c7d;
}

/* Lista de publicaciones */
.posts-list {
    list-style: none;
    padding: 0;
}

.posts-list li {
    background-color: #f4f1de;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.posts-list li .post-title {
    font-weight: bold;
    color: #3d405b;
}

.posts-list li .actions {
    display: flex;
    gap: 0.5rem;
}

.posts-list li .actions a {
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.posts-list li .actions a.edit {
    background-color: #81b29a;
    color: #fff;
}

.posts-list li .actions a.delete {
    background-color: #e07a5f;
    color: #fff;
}

.posts-list li .actions a:hover {
    opacity: 0.9;
}

/* Mensajes de éxito o error */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    font-weight: bold;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Estilos para la cuadrícula de publicaciones */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tres columnas */
    gap: 1.5rem; /* Espacio entre las publicaciones */
    margin-bottom: 2rem;
}

.post-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.post-card img {
    width: 100%;
    height: 200px; /* Altura fija para las imágenes */
    object-fit: cover; /* Ajustar la imagen sin distorsionar */
    border-bottom: 1px solid #eee;
}

.post-content {
    padding: 1rem;
}

.post-content h2 {
    font-size: 1.25rem;
    color: #3d405b;
    margin: 0 0 0.5rem 0;
}

.post-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.post-content small {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 1rem;
}

.post-content .btn {
    display: inline-block;
    background-color: #81b29a;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.post-content .btn:hover {
    background-color: #6a9c7d;
}

/* Estilos responsive */
@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr); /* Dos columnas en tabletas */
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr; /* Una columna en móviles */
    }
}

/* Estilos para el mensaje de cierre de sesión */
.logout-message {
    text-align: center;
    padding: 2rem;
    background-color: #d4edda; /* Fondo verde claro */
    border: 1px solid #c3e6cb; /* Borde verde */
    border-radius: 8px;
    color: #155724; /* Texto verde oscuro */
    margin: 2rem auto;
    max-width: 600px;
}

.logout-message p {
    margin: 0;
    font-size: 1.1rem;
}

/* Estilos generales para autenticación */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 20vh;
    padding: 1rem;
    background-color: #f8f9fa;
}

.auth-card {
    background: white;
    width: 100%;
    /*max-width: 450px;*/
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    width: 120px;
    margin-bottom: 1.5rem;
}

.auth-header h1 {
    color: #3d405b;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Formulario */
.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    color: #3d405b;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.auth-form input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.auth-form input:focus {
    border-color: #81b29a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(129,178,154,0.2);
}

.btn-auth {
    width: 100%;
    padding: 1rem;
    background-color: #81b29a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-auth:hover {
    background-color: #6a9c7d;
}

/* Enlaces adicionales */
.auth-links {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-links a {
    display: block;
    color: #3d405b;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0.5rem 0;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #81b29a;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-card {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .auth-header h1 {
        font-size: 1.5rem;
    }
}
/* Estilos para el contenedor principal */
.main-content {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

/* Estilos para el contenedor del formulario de búsqueda */
.search-container {
    width: 300px; /* Ancho fijo para el formulario */
    margin-left: auto; /* Alinear a la derecha */
}

/* Estilos para el formulario de búsqueda */
.search-form {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-form input[type="text"] {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
}

.search-form input[type="text"]:focus {
    box-shadow: 0 0 0 3px rgba(129,178,154,0.2);
}

.search-button {
    background-color: #81b29a;
    border: none;
    border-radius: 4px;
    padding: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #6a9c7d;
}

.search-button i {
    color: white;
    font-size: 1rem;
}

/* Estilos para la cuadrícula de publicaciones */
.posts-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tres columnas */
    gap: 1.5rem; /* Espacio entre las publicaciones */
}

/* Estilos responsive */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
    }

    .search-container {
        width: 100%;
        margin-left: 0;
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr); /* Dos columnas en tabletas */
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr; /* Una columna en móviles */
    }
}
/* Estilos para el footer */
.footer {
    background-color: #81b29a; /* Fondo verde pastel */
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Para que sea responsive */
}

/* Estilos para los grupos de íconos */
.icon-group {
    display: flex;
    gap: 1.5rem;
}

.icon-group.left {
    justify-content: flex-start; /* Alinear a la izquierda */
}

.icon-group.right {
    justify-content: flex-end; /* Alinear a la derecha */
}

.icon-link {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.icon-link:hover {
    color: #f4f1de; /* Cambiar color al pasar el mouse */
    transform: translateY(-5px); /* Efecto de elevación */
}

/* Estilos para el texto del footer */
.footer-text {
    flex: 1;
    text-align: center;
}

.footer-text p {
    color: white;
    font-size: 1rem;
    margin: 0;
}

/* Estilos responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 1rem;
    }

    .icon-group {
        gap: 1rem;
    }

    .icon-link {
        font-size: 1.2rem;
    }

    .footer-text p {
        font-size: 0.9rem;
    }
}

/* Estilos para el contenedor de autenticación */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem;
    background-color: #f8f9fa;
}

/* Estilos para la tarjeta de autenticación */
.auth-card-register {
    background: white;
    width: 100%;
    max-width: 450px;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

/* Estilos para el encabezado de la tarjeta */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    width: 120px;
    margin-bottom: 1.5rem;
}

.auth-header h1 {
    color: #3d405b;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Estilos para el formulario de autenticación */
.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    color: #3d405b;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus {
    border-color: #81b29a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(129,178,154,0.2);
}

/* Estilos para el botón de autenticación */
.btn-auth {
    width: 100%;
    padding: 1rem;
    background-color: #81b29a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-auth:hover {
    background-color: #6a9c7d;
}

/* Estilos para los enlaces adicionales */
.auth-links {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-links a {
    color: #3d405b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #81b29a;
}

/* Estilos para mensajes de error */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-weight: bold;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Estilos responsive */
@media (max-width: 768px) {
    .auth-card {
        padding: 1.5rem;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }
}
