html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.toritofeed-card-title
{
    font-weight:bold;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    max-width: 100%;
    overflow-x: hidden;
    background-color: ghostwhite; 
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.nohover:hover {
    background-color:rgba(0,0,0,100);
}

.editor-container {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

/* Área de escritura */
.editor {
    min-height: 200px;
    max-height: 200px;
    padding: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    outline: none;
    overflow-y: auto;
    border-bottom: 1px solid #e0e0e0;
}

.editor:empty::before {
    content: "Escribe aquí...";
    color: #aaa;
}

/* Panel de Emojis */
.emoji-panel {
    background: #fafafa;
    padding: 12px;
}

/* Buscador y pestañas */
.search-bar {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 0.9rem;
    outline: none;
}

.categories-tabs {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
}

.tab-btn {
    background: #eee;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background 0.2s;
}

.tab-btn.active {
    background: #007bff;
    color: white;
}

/* Contenedor de la cuadrícula de emojis */
.emoji-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(35px, 1fr));
    gap: 6px;
    max-height: 150px;
    overflow-y: auto;
    padding-right: 5px;
}

.emoji-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: transform 0.1s, background 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.emoji-btn:hover {
    background: #e2e8f0;
    transform: scale(1.15);
}
