/* General */
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

#left-column {
    width: 20%;
    padding: 15px;
    background-color: #f0f0f0;
    border-right: 1px solid #ccc;
}

#center-column {
    width: 60%;
    padding: 20px;
    background-color: #fff;
}

/* Recomendaciones */
.user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.user-card:hover {
    background-color: #e9e9e9;
}

.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ddd;
    margin-right: 10px;
}

.user-card span {
    font-weight: bold;
    flex: 1;
}

.user-card button {
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

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

/* Publicaciones */
#post-area {
    margin-bottom: 20px;
}

textarea#post-content {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
}

button[type="submit"] {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #218838;
}

/* Posts */
.post-card {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.post-card:hover {
    background-color: #f1f1f1;
}

.post-card strong {
    font-size: 16px;
    color: #333;
}

.post-card p {
    font-size: 14px;
    color: #555;
    margin: 10px 0;
}

.post-card small {
    font-size: 12px;
    color: #777;
}

/* Botón de eliminación */
.delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    color: #ff4d4d;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
}

.delete-btn:hover {
    color: #d63333;
}

/* Logout Button */
#logout-container button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

#logout-container button:hover {
    background-color: #c82333;
}

.like-container {
    display: flex;
    justify-content: flex-end;
    /* Alinea a la derecha */
    align-items: center;
    margin-top: 10px;
    /* Separación del contenido del post */
}

.like-btn {
    background-color: transparent;
    color: #007bff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    margin-right: 5px;
    /* Espacio entre botón y contador */
}

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

.likes-count {
    font-size: 14px;
    color: #555;
}











.comments-section {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.comments-section textarea {
    width: 100%;
    margin-top: 5px;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.comments-section button {
    margin-top: 5px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
}

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

.comment {
    position: relative;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.comment p {
    flex: 1;
    /* Expande el texto para ocupar espacio */
    margin: 0;
}

.comment small {
    color: #777;
    margin-left: 10px;
}

.comment .delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    color: #ff4d4d;
    border: none;
    font-size: 1em;
    cursor: pointer;
}

.comment .delete-btn:hover {
    color: #d63333;
}








.search-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.search-result:hover {
    background-color: #f1f1f1;
}

.search-result button {
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

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

#user-search-input {
    width: 98%; /* Ajusta según el diseño */
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 20px; /* Bordes redondeados */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra */
    outline: none; /* Quita el borde azul al hacer clic */
    transition: all 0.3s ease; /* Transición para efectos */
}

#user-search-input:focus {
    border-color: #007bff; /* Cambia el color del borde al enfocarse */
    box-shadow: 0px 4px 8px rgba(0, 123, 255, 0.3); /* Sombra más intensa */
    background-color: #f9f9f9; /* Color de fondo al enfocarse */
}

#search-results {
    margin-top: 10px; /* Para separar los resultados */
}
