body {
    font-family: Arial, sans-serif;
}

.profile-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.profile-info form {
    display: flex;
    flex-direction: column;
}

.profile-info label,
.profile-info input {
    margin-bottom: 10px;
}

button {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.chat-container {
    width: 60%;
    margin: 0 auto;
    padding: 20px;
}

.chat-box {
    height: 300px;
    overflow-y: scroll;
    background-color: #f9f9f9;
    padding: 10px;
    border: 1px solid #ccc;
}

.message {
    margin-bottom: 10px;
}

.message strong {
    font-weight: bold;
}

#message {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}



input, select {
    font-size: 16px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Efectos de Enfoque (Focus) */
input:focus, select:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
    outline: none;
}

/* Estilo para los Selectores */
select {
    cursor: pointer;
    appearance: none; /* Elimina los estilos predeterminados del select en algunos navegadores */
    background-color: #fff;
    background-image: url('https://www.svgrepo.com/show/13273/arrow-down.svg');
    background-position: right 10px center;
    background-repeat: no-repeat;
    padding-right: 40px;
    font-size: 16px;
    width:100%;
    padding: 12px 15px;
}

/* Hover effect */
select:hover {
    border-color: #8c8c8c;
}

textarea{
    width:100%;
    padding: 12px 15px;
}


/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f7f7f7;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    background: linear-gradient(to right, #ff6f61, #ffcc5c);
    color: white;
    padding: 20px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.navbar .logo h1 a {
    color: white;
    font-size: 36px;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links li a {
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    text-align: center;
}

.hero-content {
    max-width: 600px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-btn {
    background-color: #ffcc5c;
    color: #333;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    background-color: #ff6f61;
}

/* Section: C贸mo funciona */
.how-it-works {
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    font-size: 36px;
    margin-bottom: 40px;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 250px;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.card p {
    font-size: 16px;
    color: #555;
}

/* Section: Profesionales Destacados */
.featured-professionals {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

.professional-cards {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.professional-card {
    background-color: #fff;
    width: 250px;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.professional-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.professional-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.professional-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.professional-card .cta-btn {
    background-color: #ff6f61;
    color: white;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0px;
    position: relative;
    bottom: 0px;
    width: 100%;
}
.footer p {
    color: #b8b8b8;
    text-align: center;
}
.footer a {
    color: #fff;
    font-weight:bold;
}



.form-container {
    background-color: #fff;
    padding: 10px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    transition: all 0.3s ease-in-out;
}

.form-container:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}



.footer {
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-category, .footer-info, .footer-links {
    width: 30%;
    margin: 10px;
}

.footer-category h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-category ul {
    list-style: none;
    padding: 0;
}

.footer-category ul li {
    margin: 5px 0;
}

.footer-category ul li a {
    text-decoration: none;
    color: #fdfdfd;
    font-weight:normal;
}

.footer-category ul li a:hover {
    color: #809be9;
}

.footer-info p, .footer-links ul {
    font-size: 14px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin: 5px 0;
}

.footer-links ul li a {
    text-decoration: none;
    color: #fdfdfd;
    font-weight:normal;
}

.footer-links ul li a:hover {
    color: #809be9;
}







h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    font-weight: 700;
}

/* Estilo para los labels */
label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Estilo para los inputs */
input[type="email"],
input[type="password"],
input[type="text"],
input[type="submit"] {
    width: -webkit-fill-available;
    padding: 12px 15px;
    margin: 8px 0 20px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
    background-color: #f7f7f7;
    color: #333;
    transition: border 0.3s ease;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    border: 1px solid #6200ea;
    outline: none;
    background-color: #fff;
}

input[type="submit"] {
    background-color: #6200ea;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #3700b3;
}

/* Estilos para el enlace de registro */
p {
    text-align: center;
    font-size: 14px;
    color: #555;
}

p a {
    color: #6200ea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

p a:hover {
    color: #3700b3;
}

.profile-container p{
    text-align:left;
}

/* Estilos para el mensaje de error */
.error-message {
    color: red;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

.listado-interno{
    background: linear-gradient(to right, #ff6f61, #ffcc5c);
    color: white;
    border-radius:0px;
    list-style-type: none;
    padding:10px;
}

.listado-interno li{
    background-color:#fff;
    border-radius:5px;
    -webkit-box-shadow: 3px 3px 3px 3px rgba(0,0,0,0.3);
    box-shadow: 3px 3px 3px 3px rgba(0,0,0,0.3);
    padding:10px;
    margin:25px;
    color:#333;
}
.listado-interno li a{
    color: #333;
    background-color: #ffcc5c;
    padding: 1px 7px;
    border-radius: 5px;
    box-shadow: 1px 1px 2px color(srgb 0.7173 0.5651 0.2566);
}
form{
    background-color:#fff;
    padding:10px;
}
form textarea{
    width:80%;
    padding:10px 10%;
}



/* Estilos para el menú en pantallas grandes (Desktop) */
nav {
    color: white;
    padding: 10px 20px;
    position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding: 0;
}

.nav-links li {
    margin: 10px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    padding: 10px;
    display: block;
}

.nav-links a:hover {
    background-color: #444;
}

/* Estilo para el icono de hamburguesa en pantallas pequeñas */
.menu-toggle {
    display: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

/* Media Queries: Menú móvil */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Ocultar el menú por defecto */
        flex-direction: column;
        align-items: center;
        width: 100%;
        position: absolute;
        top: 60px; /* Abajo del encabezado */
        left: 0;
        z-index: 10;
    }

    .nav-links.active {
        display: flex; /* Mostrar el menú cuando tenga la clase active */
        background-color: #333;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: block; /* Mostrar el icono de hamburguesa en pantallas pequeñas */
    }

    .nav-links a {
        padding: 15px;
    }
    
    .cards-container{
        display:block;
    }
    .card{
        width:auto;
    }
    .professional-cards{
        display:block;
    }
    .professional-card{
        width:auto;
    }
}

.mensaje-success {
    color: green;
    font-weight: bold;
}

.mensaje-error {
    color: red;
    font-weight: bold;
}

