/* Estilo para el mensaje de bienvenida */
.welcome-message {
    font-size: 1.25rem;
    color: var(--tibia-dark);
    margin-top: 1rem;
    text-align: center;
  }
  
.text-home {
    color: var(--tibia-dark);
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
  }

  
/* Estilos generales para la vista de login */
.login-container {
    background-color: var(--tibia-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--tibia-border);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 50%;
}

.login-header {
    background-color: var(--tibia-header);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.login-form .field {
    margin-bottom: 1.5rem;
}

.login-form input {
    background-color: var(--tibia-light);
    border: 1px solid var(--tibia-border);
    padding: 0.75rem;
    border-radius: 4px;
    width: 100%;
    font-family: 'Georgia', serif;
    color: var(--tibia-dark);
}

.login-form input:focus {
    outline: none;
    border-color: var(--tibia-header);
    box-shadow: 0 0 5px var(--tibia-header);
}

.login-form .btn-login {
    background-color: var(--tibia-button);
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    text-shadow: 1px 1px black;
    border-radius: 5px;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-form .btn-login:hover {
    background-color: var(--tibia-button-hover);
}

.login-form .btn-login:active {
    background-color: #8c6e3a;
}

/* Para el formulario */
.login-form label {
    font-size: 1rem;
    font-weight: bold;
    color: var(--tibia-header);
}

.login-form .forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.login-form .forgot-password a {
    color: var(--tibia-header);
    font-weight: bold;
    text-decoration: none;
}

.login-form .forgot-password a:hover {
    text-decoration: underline;
}

/* Estilo para el checkbox de "Recordarme" */
.login-form .field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    background-color: var(--tibia-bg);
    border: 2px solid var(--tibia-border);
    border-radius: 3px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.login-form .field input[type="checkbox"]:checked {
    background-color: var(--tibia-header);
    border-color: var(--tibia-header);
}

.login-form .field input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 5px var(--tibia-header);
}
.tibia-news-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  display: block;
}

.tibia-news-card:hover .hover-card {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.tibia-news-card .card {
  border-radius: 1rem;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
}

.tibia-news-card .card-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.1rem;
}

.tibia-news-card .badge {
  font-size: 0.75rem;
  letter-spacing: 0.3px;
}

.tibia-header {
  font-family: 'Cinzel Decorative', serif;
  letter-spacing: 0.5px;
  color: #eccfa2;
}

.text-primary {
  color: #007bff !important;
}

/* ==============================
   🎨 Paleta base TibiaXplorer
   ==============================

   #eccfa2  → Dorado base
   #f1dcae  → Dorado claro
   #c9a56b  → Borde dorado medio
   #3d2812  → Texto oscuro
   #6c3a12  → Título cálido
   ============================== */

/* 🏰 Fondo principal del área de noticias */
body {
  background: linear-gradient(180deg, #f1dcae 0%, #eccfa2 100%);
  font-family: 'Merriweather', serif;
  color: #3d2812;
}

/* 📜 Contenedor general */
.tibia-article {
  background: linear-gradient(180deg, #f1dcae 0%, #eccfa2 100%);
  border: 2px solid #c9a56b;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(60, 35, 10, 0.25);
}

/* ✨ Título principal */
.tibia-title {
  font-family: 'Cinzel Decorative', serif;
  color: #6c3a12;
  text-shadow: 1px 1px 3px rgba(255, 240, 200, 0.6);
}

/* 📜 Línea decorativa */
.tibia-divider {
  width: 180px;
  border-top: 3px solid #c9a56b;
  opacity: 0.9;
  margin: 1rem auto;
}

/* 📘 Tarjetas de noticias */
.tibia-card {
  background: #fffdf8;
  border: 1px solid #d3b278;
  transition: all 0.25s ease-in-out;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(90, 60, 20, 0.15);
  overflow: hidden;
}

/* 🖋 Títulos dentro de tarjeta */
.tibia-card-title {
  font-family: 'Cinzel', serif;
  color: #3d2812;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease-in-out;
}
.tibia-card:hover .tibia-card-title {
  color: #7b3a0c;
}

/* 📜 Texto general */
.tibia-card p,
.tibia-card small {
  color: #4a341a;
}

/* 🪄 Badge */
.tibia-badge {
  background: #f5dd9b;
  border: 1px solid #b28b45;
  color: #4a3212;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4);
  padding: 0.25rem 0.5rem;
}

/* 📜 Pie de tarjeta - Bosque encantado */
.tibia-card-footer {
  background: linear-gradient(90deg, #1c360e 0%, #2e4c1a 50%, #3a5c1e 100%);
  border-top: 1px solid #c9a56b;
  color: #f6efdb; /* tono marfil */
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}
.tibia-card-footer:hover {
  background: linear-gradient(90deg, #3a5c1e, #4f7328, #eccfa2);
  color: #fff8e6;
  box-shadow: 0 0 10px rgba(236, 207, 162, 0.4);
  transform: translateY(-2px);
}


/* ✨ Hover general de footer y texto */
.hover-card:hover .tibia-card-footer span {
  color: #f6efdb; /* marfil claro */
  text-shadow: 0 0 6px rgba(236, 207, 162, 0.7);
}




/* ⚔️ Botones */
.btn-gradient {
  background: linear-gradient(90deg, #7b1111, #a81f1f);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}
.btn-gradient:hover {
  background: linear-gradient(90deg, #a81f1f, #7b1111);
  transform: translateY(-1px);
}

/* ✨ Efecto de brillo sutil en hover (opcional) */
@keyframes shimmer {
  0% { box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  50% { box-shadow: 0 0 12px rgba(255, 240, 180, 0.6); }
  100% { box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
}
.tibia-card:hover {
  animation: shimmer 1.8s ease-in-out;
}
:root {
  --tibia-bg: #f1e0c6; /* Fondo suave, color crema */
  --tibia-header: #1c350f; /* Color de fondo de los encabezados, marrón oscuro */
  --tibia-border: #a58b6f; /* Borde dorado */
  --tibia-dark: #654321; /* Texto principal oscuro, para buen contraste */
  --tibia-light: #edcfa2; /* Un tono más claro para detalles */
  --tibia-button: #c29f70; /* Color de fondo de botones dorado */
  --tibia-button-hover: #a27e50; /* Color de fondo en hover más oscuro */
}

.tibia-card {
  background-color: var(--tibia-bg);
  border: 2px solid var(--tibia-border);
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  font-family: 'Georgia', serif;
  color: var(--tibia-light);
}

.tibia-bg {
  background-color: var(--tibia-bg);
  border: 2px solid var(--tibia-border);
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  font-family: 'Georgia', serif;
  color:#59090a;
}

.tibia-header {
  background-color: var(--tibia-header);
  border-bottom: 2px solid var(--tibia-border);
  font-weight: bold;
  font-size: 1.3rem;
  text-align: center;
  padding: 10px;
  margin-bottom: 1rem;
}


.text-red-wine {
  color: #59090a;
}

.border-double-red-wine {
  border: 4px double #59090a;
  border-radius: 8px;
  padding: 1.5rem;
  background-color: var(--tibia-bg);
}


.bg-red-wine {
  background-color: #59090a; /* Color rojo vino */
  color: white; /* Texto blanco para contraste */
}


/* Estilo para las descripciones largas */
.description-scroll {
  height: 80px;                /* 🔒 altura fija para todos */
  overflow-y: auto;            /* 📜 scroll si se pasa */
  font-size: 0.85rem;
  color: #333;
  padding: 0.5rem;
  background-color: #f8f9fa;   /* opcional para dar contraste */
  border-radius: 4px;          /* opcional para estética */
  text-align: left;
}


/* Estilo para los badges */
.badge {
  font-size: 1rem;
  padding: 10px;
}

.bg-success {
  background-color: #28a745; /* Verde para miembros online */
}

.bg-primary {
  background-color: #007bff; /* Azul para miembros totales */
}

.bg-danger {
  background-color: #dc3545; /* Rojo para guerra */
}

.bg-secondary {
  background-color: #6c757d; /* Gris para no en guerra */
}

/* Estilo para la lista de miembros */
.member-list {
  list-style-type: none;
  padding: 0;
}

.member-list li {
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
}

.member-list .status {
  font-size: 0.9rem;
}

.member-list .online {
  color: green;
}

.member-list .offline {
  color: red;
}

.guild-logo-wrapper {
  width: 100px;
  height: 100px;
  background-color: #f8f9fa; /* opcional */
  border: 1px solid #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* oculta bordes extra si la imagen se pasa */
}

.guild-logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tibia-news-box {
  background-color: #f9f5e9;
  transition: background-color 0.3s ease;
}

.tibia-news-box:hover {
  background-color: #e7e0c5;
}

.hover-text-green:hover {
  color: #1e7e34 !important;
}

.tibia-btn {
  display: inline-block;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffd700;
  text-align: center;
  background-color: #1a1a1a;
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.1);
  transition: all 0.2s ease-in-out;
}

.tibia-btn:hover {
  background-color: #262626;
  color: #fffbe6;
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(255, 215, 0, 0.3);
}

.tibia-btn:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.4);
}


.btn-red-wine {
  background-color: #59090a;
  color: #fff;
  border: 1px solid #59090a;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.btn-red-wine:hover,
.btn-red-wine:focus {
  background-color: #7a0c0d;
  border-color: #7a0c0d;
  color: #fff;
  transform: scale(1.03);
}







/*




 */
/* app/assets/stylesheets/application.scss */
/* line 10, app/assets/stylesheets/application.scss */
body {
  background-image: url(/assets/WebsiteArtworkSummer2020-a0f6d84b5bed772b4c0280ac16a7261d22ee18de27d104c9eb8a21a1656bb384.jpg);
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  font-family: 'Georgia', serif;
}

/* line 18, app/assets/stylesheets/application.scss */
.chart-pie {
  max-width: 300px;
  max-height: 300px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* line 29, app/assets/stylesheets/application.scss */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* Oculta los selects mientras Select2 se inicializa */
/* line 35, app/assets/stylesheets/application.scss */
select.select2 {
  visibility: hidden;
}

/* Muestra los Select2 ya renderizados */
/* line 40, app/assets/stylesheets/application.scss */
.select2-container {
  visibility: visible !important;
}
