input::-ms-reveal,
input::-ms-clear {
    display: none;
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #111;
    color: #fff;
    display: flex;
    flex-direction: column;
}

header {
    background: #111;
    color: #fff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 3;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

header nav a {
    color: #ddd;
    margin-left: 20px;
    text-decoration: none;
    transition: 0.3s;
}

header nav a:hover {
    color: #fff;
}

.btn {
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #ff375f;
    color: #fff;
}

.btn-primary:hover {
    background: #ff5d7a;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #111;
}

footer {
    background: #111;
    color: #ccc;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: auto;
}

footer a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: #fff;
}

footer .links,
footer .copy {
    margin: 10px 0;
}

input, select {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #333;
    font-size: 1rem;
    background: #222;
    color: #fff;
}

input::placeholder, select option {
    color: #aaa;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.profile-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

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

/* Contenedor de búsqueda */
.nav-search-container {
    position: relative;
    flex: 1;
    margin: 0 20px;
}

.nav-search-container input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    outline: none;
    font-size: 1rem;
}

.nav-search-container input::placeholder {
    color: #aaa;
}

/* Resultados de búsqueda */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    margin-top: 4px;
    z-index: 100;
}

.search-results.hidden {
    display: none;
}

.search-results div {
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-results div:hover {
    background: #333;
}
.search-results div img {
    width: 40px;        /* tamaño fijo */
    height: 40px;       /* tamaño fijo */
    border-radius: 50%; /* opcional, para hacerla circular */
    object-fit: cover;  /* recorta la imagen para llenar el área */
    margin-right: 10px; /* espacio entre imagen y texto */
    vertical-align: middle;
}
.nav-search-container {
    position: relative;
    flex: 1;
    margin: 0 20px;
    min-width: 200px; /* ancho mínimo opcional */
}

.search-results {
    width: 100%;
}