/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 
 * Author Lautaro Angelico (https://lautaroangelico.com/)
 * Copyright (c) 2013-2022 Lautaro Angelico, All Rights Reserved
 
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 
 =========================================================
 
*/
html {
	height: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	background: #1A150C;
	color: #F5F3EF;
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
	margin: 0;
	height: 100%;
}

a {
	color: #F5F3EF;
	text-decoration: none;
	-moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

a:hover {
	color: #ffda8a;
}

img {
	border: 0px;
}

input[type=text], input[type=password], input[type=number] {
	background: #fafafa;
	border: 1px solid #e3e3e3;
	color: #666;
}
input[type=text]:focus, input[type=password]:focus, input[type=number]:focus {
	border: 1px solid #ccc;
}

#header {
	width: 100%;
	margin: 0px auto;
	padding: 80px 0px 10px 0px;
	text-align: center;
	color: #fff;
}

#container {
	background: #2a2a2a;
	width: 100%;
	max-width: 1040px;
	height: auto;
	margin: 0px auto;
	padding: 20px 0px;
	-webkit-border-radius: 5px 5px 0px 0px;
	-moz-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px;
	-khtml-border-radius: 5px 5px 0px 0px;
	border: 2px solid #555;
	box-sizing: border-box;
}

#content {
	width: 100%;
	overflow: auto;
	min-height: 500px;
	padding: 10px 20px;
	color: #ffffff;
	box-sizing: border-box;
}

/* Media Queries para dise単o responsivo */
@media screen and (max-width: 1040px) {
	#container {
		border-radius: 0;
		border-left: none;
		border-right: none;
	}
	
	.footer {
		border-radius: 0;
		margin-bottom: 0;
	}
}

@media screen and (max-width: 768px) {
	body {
		font-size: 16px;
	}
	
	#content {
		padding: 10px;
	}
	
	.panel-news .news-image {
		width: 100%;
		height: auto;
		margin-bottom: 15px;
	}
}

@media screen and (max-width: 480px) {
	body {
		font-size: 14px;
	}
	
	.footer {
		padding: 15px;
	}
}

.footer {
	background: #1a1a1a;
	font-family: 'Segoe UI', 'Lucida Sans Unicode', 'Lucida Grande', 'Tahoma', 'Arial', 'sans-serif';
	width: 100%;
	font-size: 12px;
	color: #ffffff;
	padding: 20px;
	box-sizing: border-box;
	-webkit-border-radius: 0px 0px 5px 5px;
	-moz-border-radius: 0px 0px 5px 5px;
	border-radius: 0px 0px 5px 5px;
	-khtml-border-radius: 0px 0px 5px 5px;
	border: 2px solid #555;
	border-top: none;
}
	.footer > .footer-container {
		width: 100%;
		margin: 0px auto;
	}
		.footer > .footer-container a:hover {
			text-decoration: underline !important;
		}
	.footer hr {
		border-top: 1px solid #cacaca;
	}
	.footer .footer-social-link {
		filter: grayscale(100%);
		transition: all .3s ease;
	}
	.footer .footer-social-link:hover {
		filter: grayscale(0%);
	}

#navbar {
	width: 100%;
	backdrop-filter: blur(5px);
	border-bottom: 2px solid #555;
	background: rgba(26, 26, 26, 0.9);
}

#navbar ul{
	text-align: center;
	margin: 0px;
	-webkit-padding-start: 0px;
}

#navbar ul li {
	list-style-type: none;
	display: inline-block;
	font-size: 16px;
}

#navbar ul li a {
	display: inline-block;
	color: #ffffff !important;
	text-decoration: none;
	padding: 20px 30px;
	transition: all .3s ease;
	text-transform: uppercase;
	font-weight: bold;
}

#navbar ul li a:active, #navbar ul li a:focus, #navbar ul li a:hover {
	color: #cccccc !important;
	text-decoration: none;
	background: rgba(85, 85, 85, 0.3);
}

.admincp-button {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #ffffff !important;
	border: 2px solid #000000 !important;
	color: #000000 !important;
	font-weight: bold !important;
}

.page-title {
	color: #F5F3EF;
	font-family: 'Cinzel', serif;
	font-size: 42px;
	margin-bottom: 10px;
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-align: center;
}

/* NEWS MODULE (refreshed to match dark-gold site theme) */
.panel-news {
    margin-bottom: 24px;
    color: #f0f0f0;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    background: linear-gradient(180deg, #121212 0%, #0f0f0f 100%);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.panel-news:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    transform: translateY(-2px);
}
.panel-news .panel-heading {
    padding: 18px 22px 12px 22px;
    background: linear-gradient(180deg, rgba(193,154,52,0.14) 0%, rgba(0,0,0,0) 100%);
    border-bottom: 1px solid #3a3a3a;
}
.panel-news .panel-title {
    color: #F5F3EF;
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
    letter-spacing: 0.5px;
}
.panel-news .panel-title a {
    color: #e0b95a; /* gold accent */
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}
.panel-news .panel-title a:hover {
    color: #f1d27a;
    text-shadow: 0 0 6px rgba(224,185,90,0.35);
}
.panel-news .panel-body {
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    background: transparent;
}
.panel-news .news-image {
    flex-shrink: 0;
    width: 220px;
    height: 165px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #3a3a3a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
.panel-news .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}
.panel-news .news-image img:hover {
    transform: scale(1.04);
}
.panel-news .news-content {
    flex: 1;
    line-height: 1.7;
    color: #d7d7d7;
    font-size: 15px;
}
.panel-news .panel-footer {
    border-top: 1px solid #2a2a2a;
    background: rgba(0,0,0,0.15);
    font-size: 13px;
    height: auto;
    color: #cfcfcf;
    padding: 12px 22px;
    font-family: 'Cinzel', serif;
    text-shadow: none;
}

/* RANKINGS MODULE */
.rankings-module {
	padding: 15px;
	margin: 15px 0;
	background: linear-gradient(135deg, #000d26 0%, #001a4d 50%, #003d99 100%);
	border: 2px solid #0066ff;
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
	position: relative;
	overflow: hidden;
}
.rankings-module::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #0066ff 0%, #00ccff 50%, #0066ff 100%);
	animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
	0%, 100% { opacity: 0.6; }
	50% { opacity: 1; }
}
.rankings-module .page-title {
	margin-bottom: 20px;
}
.rankings-module .page-title span {
	color: #ffffff;
	font-family: 'Cinzel', serif;
	font-size: 26px;
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
	text-transform: uppercase;
	letter-spacing: 2px;
	display: inline-block;
	padding: 10px 20px;
	background: linear-gradient(135deg, #0033cc 0%, #0066ff 100%);
	border-radius: 12px;
	border: 2px solid #00ccff;
	box-shadow: 0 3px 12px rgba(0, 204, 255, 0.5);
}
.panel-rankings {
	margin-bottom: 30px;
	color: #ffffff;
	border: 2px solid #0066ff;
	-moz-border-radius: 15px;
	border-radius: 15px;
	-moz-box-shadow: 0 4px 20px rgba(0, 102, 255, 0.6);
	-webkit-box-shadow: 0 4px 20px rgba(0, 102, 255, 0.6);
	box-shadow: 0 4px 20px rgba(0, 102, 255, 0.6);
	background: linear-gradient(135deg, #001a4d 0%, #003d99 50%, #0066ff 100%);
	overflow: hidden;
	transition: all 0.3s ease;
}
.panel-rankings:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 30px rgba(0, 102, 255, 0.8);
}
.panel-rankings .panel-heading {
	padding: 20px 25px 15px 25px;
	background: linear-gradient(135deg, #0033cc 0%, #0066ff 100%);
	border-bottom: 2px solid #00ccff;
}
.panel-rankings .panel-title {
	color: #ffffff;
	font-family: 'Cinzel', serif;
	font-size: 28px;
	font-weight: bold;
	margin: 0;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
	text-transform: uppercase;
	letter-spacing: 2px;
}
.panel-rankings .panel-body {
	padding: 15px;
}

.rankings-table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
	border: 2px solid #C2A878;
	border-radius: 10px;
	overflow: hidden;
	margin: 15px 0;
}

.rankings-class-image {
	width: 35px;
	height: auto;
	-moz-box-shadow: 0 0 10px #8A8575;
	-webkit-box-shadow: 0 0 10px #8A8575;
	box-shadow: 0 0 10px #8A8575;
	-moz-border-radius: 8px;
	border-radius: 8px;
	transition: all 0.3s ease;
}
.rankings-class-image:hover {
	transform: scale(1.1);
	box-shadow: 0 0 15px #00ccff;
}
.rankings-table tr td {
	border-bottom: 1px solid #8A8575;
	padding: 10px 8px;
	font-size: 16px;
	font-weight: 600;
	vertical-align: middle !important;
	text-align: center;
	color: #ffffff;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
	transition: all 0.3s ease;
	background: #282111;
}

.rankings-table tr td a {
	color: #00ffff !important;
	font-weight: bold;
	font-size: 18px;
	text-decoration: none;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
	transition: all 0.3s ease;
}
.rankings-table tr td a:hover {
	color: #ffff00 !important;
	text-shadow: 0 0 10px #C2A878;
	transform: scale(1.05);
}
.rankings-table tr:hover td {
	background: #C2A878;
	color: #F5F3EF;
}
.rankings-table tr td:first-child {
	color: #ffcc00;
	font-weight: bold;
	font-size: 18px;
}
.rankings-table-place {
	color: #ffcc00 !important;
	font-weight: bold;
	font-size: 22px;
	text-align: center;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
.rankings-table tr:first-child td {
	color: #F5F3EF !important;
	border-bottom: 2px solid #C2A878;
	background: #1A150C;
	font-weight: bold;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.rankings-update-time {
	text-align: right;
	font-size: 14px;
	color: #00ccff;
	padding: 15px 0px;
	font-weight: 600;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}
.rankings_menu {
	width: 100%;
	overflow: auto;
	text-align: center;
	margin-bottom: 15px;
	padding: 15px;
	background: #1A150C;
	border-radius: 10px;
	border: 2px solid #C2A878;
	box-shadow: 0 3px 12px rgba(0, 102, 255, 0.4);
}
.rankings_menu span {
	width: 100%;
	display: inline-block;
	padding: 10px 0px;
	color: #ffffff;
	font-size: 22px;
	font-family: 'Cinzel', serif;
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
	text-transform: uppercase;
	letter-spacing: 2px;
}
.rankings_menu a {
	display: inline-block;
	width: 140px;
	border: 2px solid #8A8575;
	text-align: center;
	padding: 8px 6px;
	margin: 3px;
	background: #282111;
	-moz-border-radius: 6px;
	border-radius: 6px;
	color: #ffffff;
	font-weight: bold;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.3s ease;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}
.rankings_menu a:hover {
	background: #282111;
	transform: translateY(-2px);
	box-shadow: 0 4px 15px #8A8575;
	color: #F5F3EF;
}
.rankings_menu a.active {
	color: #F5F3EF;
	border-color: #282111;
	background: #C2A878;
	box-shadow: 0 4px 15px #8A8575;
}
.rankings_guild_logo tr td {
	border: 0px !important;
	padding: 0px !important;
	margin: 0px !important;
}
.rankings-gens-img {
	width: auto !important;
	height: 35px !important;
	border: 2px solid #0066ff !important;
	border-radius: 8px !important;
	-moz-box-shadow: 0 0 10px #0066ff !important;
	-webkit-box-shadow: 0 0 10px #0066ff !important;
	box-shadow: 0 0 10px #0066ff !important;
	transition: all 0.3s ease !important;
}
.rankings-gens-img:hover {
	transform: scale(1.1) !important;
	box-shadow: 0 0 15px #00ccff !important;
}

/* MY ACCOUNT MODULE */
.myaccount-table {
	width: 100%;
	background: #2a2a2a;
	border: 1px solid #555;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.myaccount-table tr td:first-child {
	color: #cccccc;
	font-weight: bold;
}
.myaccount-table tr td {
	border-bottom: 1px solid #555;
	padding: 15px !important;
	color: #ffffff;
}
.myaccount-table tr:last-child td {
	border: 0px;
}

/* GENERAL TABLE UI */
.general-table-ui {
	width: 100%;
	table-layout: fixed;
	background: #2a2a2a;
	border: 1px solid #555;
	padding: 10px;
	margin: 10px 0px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.general-table-ui tr td {
	padding: 5px;
	vertical-align: middle !important;
	border-bottom: 1px solid #555;
	color: #ffffff;
}
.general-table-ui tr:first-child td {
	color: #ffffff;
	background: #1A150C;
	font-weight: bold;
}
.general-table-ui tr td {
	background: #282111;
}
.general-table-ui tr td {
	text-align: center;
}
.general-table-ui img {
	width: 50px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

/* TERMS OF SERVICE PAGE */
.tos_list li {
	color: #aa0000;
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 40px;
}
.tos_list li p {
	color: #444;
	text-align: justify;
	text-justify: inter-word;
	text-transform: none;
	padding-right: 35px;
	font-size: 14px;
	font-weight: normal;
}

/* PAYPAL */
.paypal-gateway-container {
	width: 100%;
}

.paypal-gateway-content {
	background: #fef2da;
	border: 3px solid #f79433;
	padding: 15px;
	overflow: auto;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	font-weight: bold;
}

.paypal-gateway-logo {
	width: 100%;
	height: 100px;
	background: #fff9ec url('../img/paypal-logo-200-68.png') no-repeat center;
	background-size: contain;
	margin-bottom: 15px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.paypal-gateway-conversion-rate {
	margin: 0px auto;
	text-align: center;
	color: #000;
	font-size: 18px;
	padding: 10px 0px;
}

.paypal-gateway-form {
	width: 100%;
	margin: 20px auto;
	text-align: center;
}

.paypal-gateway-form div {
	display: inline-block;
	padding: 0px 10px;
	color: #000;
	font-size: 24px;
}

.paypal-gateway-form input[type=text] {
	width: 60px;
	font-size: 24px;
	border: 3px solid #f79433;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #f79433;
}

.paypal-gateway-continue {
	margin: 0px auto;
	text-align: center;
}

.paypal-gateway-continue input[type=submit] {
	background: url('../img/paypal-submit.jpg') no-repeat;
	width: 200px;
	height: 40px;
	border: 0px;
}

.module-requirements {
	font-size: 12px;
	margin-top: 20px;
}

/* SIDEBAR */
.panel-sidebar {
	background: transparent;
}

.panel-sidebar:hover {
}

.panel-sidebar-server {
	background: transparent;
}

.server-grid-container {
  display: flex;
  flex-wrap: wrap;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #8A8575;
  width:100%;
  box-shadow: 0 0 10px #8A8575;
}

.server-grid-item {
  flex: 1 0 25%;   /* 4 columnas (25%) */
  border: 1px solid #8A8575;
  border-width: 0 1px 1px 0;
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  background: #1A150C;
}
.server-grid-item:hover {
    background:#282111;
}

.server-grid-item:hover .hover-server-data {
  color: #C2A878;
}

/* quitar borde derecho en cada 4ta */
.server-grid-item:nth-child(4n) {
  border-right: 0;
}
/* quitar borde inferior en última fila */
.server-grid-item:nth-last-child(-n+4) {
  border-bottom: 0;
}

@media (max-width: 768px) {
    .server-grid-item {
        flex: 1 0 50%; /* 2 columnas */
        border-right: 1px solid #8A8575; /* asegurar líneas verticales */
    }
    
    /* Mobile: quitar borde derecho en cada 2da columna */
    .server-grid-item:nth-child(2n) {
        border-right: 0;
    }
    
    .server-grid-item:nth-child(5n) {
        border-bottom: 1px solid #8A8575;
    }
    
    .server-grid-item:nth-child(6n) {
        border-bottom: 1px solid #8A8575;
    }
}

.panel-sidebar > .panel-heading {
	background: linear-gradient(135deg, #0033cc 0%, #0066ff 100%);
	color: #F5F3EF;
	font-family: 'PT Sans', sans-serif;
	border: 0px;
	-moz-border-radius: 15px 15px 0px 0px;
	border-radius: 15px 15px 0px 0px;
	border-bottom: 2px solid #00ccff;
}

.panel-sidebar .panel-title {
	color: #F5F3EF;
	font-family: 'Cinzel', serif;
	font-size: 20px;
	font-weight: bold;
	margin: 0;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.panel-usercp {
    margin-bottom: 0;
    border: 1px solid #C2A878;
	-moz-border-radius: 15px;
	border-radius: 15px;
	transition: all 0.3s ease;
    background-color: #1A150C;
}


.panel-usercp ul {
	list-style-type: none;
	padding: 15px;
	margin: 0px;
	border-radius: 8px;
}

.panel-usercp ul li {
	display: table;
	vertical-align: middle;
	line-height: 35px;
	padding: 8px 12px;
	margin-bottom: 5px;
	border-radius: 6px;
	background: #282111;
	transition: all 0.3s ease;
    border: 1px solid rgb(194, 168, 120);
}

.panel-usercp ul li:hover {
    border: 1px solid rgb(194, 168, 120);
	transform: translateX(5px);
}

.panel-usercp ul li a {
	color: #F5F3EF !important;
	font-weight: bold;
	font-family: 'Cinzel', serif;
	font-size: 14px;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
	transition: all 0.3s ease;
	text-decoration: none;
	letter-spacing: 0.5px;
}
.panel-usercp ul li a:active, .panel-usercp ul li a:hover {
	color: #C2A878 !important;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.7), 0 0 8px rgba(0, 204, 255, 0.5);
}

.panel-usercp ul li img {
	position: relative;
	top: -2px;
	width: 28px;
	height: 28px;
	margin-right: 8px;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.3);
	transition: all 0.3s ease;
}

.panel-usercp ul li:hover img {
	border-color: rgba(0, 204, 255, 0.7);
	box-shadow: 0 3px 8px rgba(0, 204, 255, 0.3);
}

.sidebar-banner {
	margin: 20px 0px;
	border: 0px;
}

.sidebar-banner img {
	-moz-box-shadow: 0 0 10px #e3e3e3;
	-webkit-box-shadow: 0 0 10px #e3e3e3;
	box-shadow: 0 0 10px #e3e3e3;
	border: 0px;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -khtml-border-radius: 5px;
}

/* GENERAL PANEL STYLING */
.panel-general {
	margin-bottom: 30px;
	background: #2a2a2a;
	border: 1px solid #555;
	-moz-border-radius: 8px;
	border-radius: 8px;
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.panel-body .panel-title {
	color: #ffffff;
	font-family: 'Cinzel', serif;
	font-size: 18px;
	border-bottom: 1px solid #555;
	margin-bottom: 20px !important;
	font-weight: bold;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* ADD STATS MODULE */
.panel-addstats {
	margin-bottom: 30px;
	background: #282111;
	border: 1px solid #8A8575;
	-moz-border-radius: 8px;
	border-radius: 8px;
	color: #F5F3EF;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.panel-addstats .character-avatar img {
	width: 100px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.panel-addstats .character-name {
	color: #ffffff;
	font-family: 'PT Sans', sans-serif;
	font-size: 18px;
	border-bottom: 1px solid #555;
	padding: 20px 0px;
	margin-bottom: 20px !important;
	font-weight: bold;
}

/* GUIDES MODULE */
.panel-guides {
	margin-bottom: 35px;
	color: #ffffff;
	border: 2px solid #228B22;
	-moz-border-radius: 15px;
	border-radius: 15px;
	-moz-box-shadow: 0 5px 20px rgba(34, 139, 34, 0.5);
	-webkit-box-shadow: 0 5px 20px rgba(34, 139, 34, 0.5);
	box-shadow: 0 5px 20px rgba(34, 139, 34, 0.5);
	background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
	overflow: hidden;
	transition: all 0.3s ease;
}
.panel-guides:hover {
	box-shadow: 0 8px 25px rgba(34, 139, 34, 0.7);
	transform: translateY(-3px);
}
.panel-guides .panel-heading {
	padding: 22px 30px 15px 30px;
	background: linear-gradient(135deg, #228B22, #32CD32);
	border-bottom: 2px solid #006400;
}
.panel-guides .panel-title {
	color: #ffffff;
	font-family: 'Cinzel', serif;
	font-size: 32px;
	font-weight: bold;
	margin: 0;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
	letter-spacing: 1px;
}
.panel-guides .panel-title a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.3s ease;
}
.panel-guides .panel-title a:hover {
	color: #FFD700;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 10px rgba(255, 215, 0, 0.5);
}
.panel-guides .panel-body {
	padding: 30px;
	display: flex;
	align-items: flex-start;
	gap: 30px;
	background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
	min-height: 300px;
}
.panel-guides .guide-image {
	flex-shrink: 0;
	width: 280px;
	height: 210px;
	overflow: hidden;
	border-radius: 10px;
	border: 2px solid #228B22;
	box-shadow: 0 4px 12px rgba(34, 139, 34, 0.4);
}
.panel-guides .guide-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.panel-guides .guide-image img:hover {
	transform: scale(1.05);
}
.panel-guides .guide-content {
	flex: 1;
	line-height: 1.8;
	color: #e0e0e0;
	font-size: 16px;
}
.panel-guides .panel-footer {
	border-top: 2px solid #228B22;
	background: linear-gradient(135deg, #006400, #228B22);
	font-style: italic;
	font-size: 14px;
	height: 55px;
	color: #ffffff;
	padding: 18px 30px;
	font-family: 'Cinzel', serif;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}
.panel-guides .guide-category {
	display: inline-block;
	background: linear-gradient(135deg, #228B22, #32CD32);
	color: #ffffff;
	padding: 5px 12px;
	border-radius: 15px;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 15px;
	box-shadow: 0 2px 6px rgba(34, 139, 34, 0.3);
}

/* DOWNLOADS */
.panel-downloads {
	margin-bottom: 30px;
	background: #2a2a2a;
	border: 1px solid #555;
	-moz-border-radius: 8px;
	border-radius: 8px;
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
	.download-description {
		font-size: 11px;
		position: relative;
		top: -7px;
		color: #777;
	}

.online-status-indicator {
	margin-left: 5px;
}

/* WEBENGINE CMS */
.webengine-powered { color: #777 !important; }
.webengine-powered:active, .webengine-powered:hover { color: #ff3214 !important; }

/* GLOBAL TOP BAR */
.global-top-bar {
	width: 100%;
	background: #101010;
	color: #777777;
	padding: 7px 0px 2px 0px;
	text-transform: uppercase;
	font-size: 12px;
}
	.global-top-bar .global-top-bar-content {
		width: 100%;
		margin: 0px auto;
	}
		.global-top-bar .global-top-bar-content .row {
			margin: 0px;
			padding: 0px;
		}
	.global-top-bar a.logout {
		color: #ff0000 !important;
	}
	.global-top-bar a {
		color: #999999 !important;
	}
	.global-top-bar a:hover {
		color: #ffffff !important;
	}
.global-top-bar-nopadding {
	padding: 0px !important;
}
.global-top-bar-separator {
	padding: 0px 5px;
}

/* LANGUAGE PICKER */
.webengine-language-switcher {
	display: inline-block;
	list-style: none;
	padding: 0px !important;
	margin: 0px !important;
	width: 46px;
	height: 19px;
	overflow: hidden;
	transition: all .3s ease;
}
.webengine-language-switcher:hover {
	width: 400px;
}
	.webengine-language-switcher li {
		display: inline-block;
		list-style-type: none;
		background: #333333;
		padding: 0px 5px 2px 5px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		-khtml-border-radius: 3px;
		transition: all .3s ease;
	}
	.webengine-language-switcher li:hover {
		-webkit-filter: brightness(120%);
		filter: brightness(120%);
	}
	.webengine-language-switcher li a {
		color: #999999;
	}
	.webengine-language-switcher li a:hover {
		color: #ffffff !important;
	}

/* WEBSITE LOGO */
.webengine-mu-logo {
	transition: all .3s ease;
	width: auto;
}
@media only screen and (max-width: 576px) {
	.webengine-mu-logo {
	transition: all .3s ease;
	width: 100%;
}
}
	.webengine-mu-logo:hover {
		-webkit-filter: brightness(120%);
		filter: brightness(120%);
	}

/* HEADER INFO */
.header-info-container {
	width: 1040px;
	margin: 0px auto;
	text-align: right;
}
	.header-info-container .header-info {
		display: inline-block;
		width: 350px;
		background: rgba(0, 0, 0, 0.3);
		backdrop-filter: blur(5px);
		margin: 0px;
		padding: 20px;
		overflow: auto;
		-moz-box-shadow: 0 0 15px rgba(0,0,0,0.7);
		-webkit-box-shadow: 0 0 15px rgba(0,0,0,0.7);
		box-shadow: 0 0 15px rgba(0,0,0,0.7);
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		-khtml-border-radius: 5px;
		text-shadow: 1px 1px 3px #000000;
		color: #ffffff;
		border: 1px solid rgba(255,255,255,0.1);
		font-size: 12px;
	}
		.header-info-container .header-info .header-info-block {
			padding: 0px;
			color: #aaaaaa;
		}
		.header-info-container .header-info .header-info-block #tServerTime, .header-info-container .header-info .header-info-block #tLocalTime {
			color: #ffffff;
		}
		.header-info-container .header-info .header-info-block #tServerDate, .header-info-container .header-info .header-info-block #tLocalDate {
			color: #cccccc;
		}
		.header-info-container .header-info .header-info-block .online-count {
			color: #28a745;
		}
	
/* ONLINE BAR */
.webengine-online-bar {
	width: 100%;
	background: #000000;
	border: 1px solid #555555;
	height: 8px;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 0px;
	-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -khtml-border-radius: 4px;
	overflow: hidden;
	transition: all .3s ease;
}
	.webengine-online-bar .webengine-online-bar-progress {
		height: 8px;
		background: #00ff00 url('../img/online_progress_bar.jpg') no-repeat left center;
		-webkit-border-radius: 0px 1px 1px 0px;
		-moz-border-radius: 0px 1px 1px 0px;
		-khtml-border-radius: 0px 1px 1px 0px;
		border-radius: 0px 1px 1px 0px;
	}
	.webengine-online-bar:hover {
		-webkit-filter: brightness(120%);
		filter: brightness(120%);
	}

/* MY ACCOUNT CHARACTER LIST */
.myaccount-table tr td{
    background-color: #282111;
}
.myaccount-character-block {
	background: #333;
	border: 1px solid #666;
	padding: 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: inline-block;
	margin: 0px auto;
	-moz-box-shadow: 0 0 10px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
	.myaccount-character-block img {
		width: 100px;
		height: auto;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		-moz-box-shadow: 0 0 5px #000;
		-webkit-box-shadow: 0 0 5px #000;
		box-shadow: 0 0 5px #000;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
	}
		.myaccount-character-block img:hover {
			-webkit-filter: brightness(120%);
			filter: brightness(120%);
		}
.myaccount-character-block-location {
	font-size: 12px;
	color: #F5F3EF;
	margin-bottom: 20px;
	margin-top: 2px;
	line-height: 1.2;
}
.myaccount-character-block-level {
	position: relative;
	top: -77px;
	display: inline-block;
	background: rgba(0,0,0,0.5);
	padding: 0px 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	color: #fff;
	font-size: 10px;
}
.myaccount-character-name a {
	font-weight: bold;
	color: #F5F3EF;
	font-size: 16px;
}

/* RANKINGS FILTER BY CLASS */

.rankings-class-filter {
	display: inline-block;
	list-style-type: none;
	margin: 15px auto;
	padding: 15px 20px;
	background: #1A150C;
	border: 2px solid #8A8575;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px;
	-khtml-border-radius: 12px;
	box-shadow: 0 3px 15px #8A8575;
}

	.rankings-class-filter li {
		display: inline-block;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
		margin: 10px 8px;
	}
	
	.rankings-class-filter li:hover {
		-webkit-filter: grayscale(0%);
		filter: grayscale(0%);
		transform: translateY(-3px);
	}

.rankings-class-filter-selection {
	display: inline-block;
	width: 70px;
	text-align: center;
	color: #F5F3EF;
	font-size: 12px;
	font-weight: bold;
	cursor: pointer;
	padding: 8px;
	background: #282111;
	border-radius: 8px;
	border: 1px solid #8A8575;
	transition: all 0.3s ease;
	text-shadow: 1px 1px 2px #8A8575;
}

	.rankings-class-filter-selection:hover {
		color: #F5F3EF !important;
		background: #C2A878;
		border-color: #C2A878;
		transform: scale(1.05);
	}

	.rankings-class-filter-selection:hover img {
		-webkit-filter: brightness(130%) drop-shadow(0 0 10px #8A8575);
		filter: brightness(130%) drop-shadow(0 0 10px #8A8575);
	}

.rankings-class-filter-selection img {
	width: 35px;
	height: auto;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	-khtml-border-radius: 50%;
	margin-bottom: 6px;
	border: 2px solid #8A8575;
	-moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
	-webkit-box-shadow: 0px 0px 12px 0px #8A8575;
	-moz-box-shadow: 0px 0px 12px 0px #8A8575;
	box-shadow: 0px 0px 12px 0px #8A8575;
}

.rankings-class-filter-grayscale {
	
}

/* Home - News List */

.home-news-block {
	
}

.home-news-block .home-news-block-header h2 {
	padding: 0px !important;
	margin: 0px 0px 20px 0px !important;
	font-style: italic;
}

.home-news-block .home-news-block-header a {
	display: inline-block;
	padding-top: 5px;
	font-style: italic;
	font-size: 16px;
}

.home-news-block-article {
	margin-top: 10px;
}

.home-news-block-article .home-news-block-article-type {
	display: block;
	border: 1px solid #3f6588;
	padding: 5px;
	text-align: center;
	color: #3f6588;
}

.home-news-block-article .home-news-block-article-title-container {
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-news-block-article .home-news-block-article-title, .home-news-block-article .home-news-block-article-date {
	line-height: 30px;
}

/* Event Timer Block */

.event-schedule-open {
	color: green;
}

.event-schedule-inprogress {
	color: orange;
}

.panel-sidebar-events .smalltext {
	font-size: 11px;
	position: relative;
	top: -5px;
}

/* Home News Cards Container */
.home-news-block-body .col-xs-12 {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: space-between;
}

/* Home News Cards Styles */
.home-news-card {
    position: relative;
    border-radius: 12px;
    background: #282111;
    color: #fff;
    padding: 10px;
    width: 100%;
}

.home-news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 5px; /* grosor del borde */
  background: linear-gradient(to right bottom, #8A8575, transparent 50%, #8A8575);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.home-news-card:hover {
	box-shadow: 0 6px 20px #C2A878;
	transform: translateY(-3px);
}

.home-news-card-header {
	margin: 12px;
	border-radius: 12px 12px 0 0;
	height: 500px;
    position: relative;
}
.home-news-card-bg{
	position: absolute;
	height:100%;
	width:100%;
	background: linear-gradient(to bottom, #000000 0%, #00000000 70%);
	border-radius: 12px;
}

.home-news-card-title {
	margin: 0 0 8px 0;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.3;
	position: absolute;
    top: 25px;
    left: 25px;
}

.home-news-card-title a {
	color: #F5F3EF;
	text-decoration: none;
	transition: color 0.3s ease;
}

.home-news-card-title a:hover {
	color: #F5F3EF;
	text-decoration: none;
	text-shadow: 0 0 8px rgba(0, 204, 255, 0.5);
}

.home-news-card-meta {
	display: flex;
    flex-direction: column;
	align-items: end;
	font-size: 12px;
	color: #F5F3EF;
	position: absolute;
    top: 25px;
    right: 25px;
}

.home-news-card-author {
	font-weight: 500;
}

.home-news-card-date {
	font-style: italic;
}

.home-news-card-body {
	display: flex;
	padding-bottom: 12px;
	padding-left: 12px;
	padding-right: 12px;
	gap: 10px;
	flex-direction: column;
}

.home-news-card-image {
	flex-shrink: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 12px;
	background: #f0f0f0;
	margin-bottom: 8px;
}

.home-news-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
	border-radius: 12px;
}

.home-news-card-image img:hover {
	transform: scale(1.05);
}

.home-news-card-content {
	flex: 1;
	color: #F5F3EF;
	line-height: 1.5;
}

.home-news-card-readmore {
	margin-top: 10px;
}

.home-news-card-readmore .btn {
	font-size: 12px;
	padding: 5px 12px;
}

/* CUSTOM BUTTON STYLES */
/* Login Panel Buttons */
.panel-sidebar .btn-primary {
    background: linear-gradient(to right, #2C4826 35%, #A1291D 100%);
    border: 2px solid #282111;
    color: #F5F3EF;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 13px;
    padding: 6px 16px;
    transition: all 0.3s 
ease;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panel-sidebar .btn-primary:hover {
	border: 2px solid rgb(194, 168, 120);
}

.panel-sidebar .btn-primary:active {
	transform: translateY(0);
}

/* News Read More Buttons */
.home-news-card-readmore .btn {
	background: linear-gradient(to right, #2C4826 35%, #A1291D 100%);
	border: 2px solid #282111;
	color: #F5F3EF;
	font-family: 'Cinzel', serif;
	font-weight: bold;
	font-size: 13px;
	padding: 6px 16px;
	transition: all 0.3s ease;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.home-news-card-readmore .btn:hover {
	color: #F5F3EF;
	text-decoration: none;
	border: 2px solid #C2A878;
}

.home-news-card-readmore .btn:active {
	transform: translateY(0);
	border-color: transparent;
}

/* USER CONTROL PANEL MAIN PAGE STYLES */
.usercp-main-item {
	background: #1A150C;
	border: 2px solid #C2A878;
	border-radius: 12px;
	padding: 12px;
	margin-bottom: 15px;
	transition: all 0.3s ease;
	text-align: center;
	height: 140px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.usercp-main-item:hover {
	box-shadow: 0 6px 20px #8A8575;
	transform: translateY(-3px);
	border-color: #C2A878;
}

.usercp-main-item a {
	color: #ffffff !important;
	text-decoration: none;
	font-family: 'Cinzel', serif;
	font-weight: bold;
	font-size: 13px;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
	transition: all 0.3s ease;
	letter-spacing: 0.3px;
	display: block;
	line-height: 1.2;
}

.usercp-main-item a:hover {
	color: #00ccff !important;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.7), 0 0 8px rgba(0, 204, 255, 0.5);
}

.usercp-main-item img {
	border-radius: 6px;
	border: 1px solid rgba(139, 0, 0, 0.5);
	box-shadow: 0 2px 6px rgba(0,0,0,0.4);
	transition: all 0.3s ease;
	margin-bottom: 8px;
	width: 60px !important;
	height: 60px !important;
}

.usercp-main-item:hover img {
	border-color: rgba(255, 215, 0, 0.7);
	box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
	transform: scale(1.03);
}

/* INFO MODULE STYLES */
.info-module .table {
	background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
	border: 2px solid #8A8575;
	border-radius: 12px;
	box-shadow: 0 4px 15px #C2A878;
	overflow: hidden;
	transition: all 0.3s ease;
	margin-bottom: 25px;
}

.info-module .table:hover {
	box-shadow: 0 6px 20px #C2A878;
	transform: translateY(-2px);
}
.table-hover>tbody>tr:hover>* {
    --bs-table-color-state: #8A8575;
    --bs-table-bg-state: #8A8575;
}
.info-module .table > thead > tr > th {
	background: #1A150C !important;
	color: #ffffff !important;
	font-family: 'Cinzel', serif !important;
	font-weight: bold !important;
	font-size: 16px !important;
	text-shadow: 2px 2px 4px #8A8575 !important;
	border-bottom: 2px solid #8A8575 !important;
	padding: 15px 20px !important;
	letter-spacing: 0.5px !important;
	text-align: center !important;
}

.info-module .table > tbody > tr > td {
	background: #1A150C !important;
	color: #F5F3EF !important;
	border-bottom: 1px solid #8A8575 !important;
	padding: 12px 20px !important;
	font-size: 14px !important;
	transition: all 0.3s ease;
}

.info-module .table > tbody > tr:nth-of-type(odd) > td {
	background: #282111 !important;
}

.info-module .table > tbody > tr:hover > td {
	background: rgba(139, 0, 0, 0.2) !important;
	color: #ffffff !important;
	transform: scale(1.01);
}

.info-module .table > tbody > tr > td:first-child {
	font-weight: bold;
	color: #C2A878 !important;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.info-module h2 {
	color: #ffffff;
	font-family: 'Cinzel', serif;
	font-size: 28px;
	margin: 30px 0 20px 0;
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
	text-align: center;
	border-bottom: 3px solid #8A8575;
	padding-bottom: 10px;
	letter-spacing: 1px;
}

.info-module iframe {
	border: 3px solid #8A8575;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
	transition: all 0.3s ease;
	width: 100%;
	height: 400px;
}

.info-module iframe:hover {
	box-shadow: 0 6px 20px #C2A878;
	transform: translateY(-2px);
	border-color: #8A8575;
}

/* DOWNLOADS MODULE STYLES */
.downloads-module .panel-downloads {
	background: #1A150C;
	border: 2px solid #C2A878;
	border-radius: 12px;
	box-shadow: 0 4px 15px #8A8575;
	overflow: hidden;
	transition: all 0.3s ease;
	margin-bottom: 25px;
	color: #ffffff;
}

.downloads-module .panel-downloads:hover {
	box-shadow: 0 6px 20px #C2A878;
	transform: translateY(-2px);
}

.downloads-module .panel-downloads .panel-body {
	padding: 0;
	background: transparent;
}

.downloads-module .panel-downloads .panel-title {
	background: #282111;
	color: #F5F3EF;
	font-family: 'Cinzel', serif;
	font-size: 20px;
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
	padding: 18px 25px;
	margin: 0;
	border-bottom: 2px solid #8A8575;
	letter-spacing: 0.5px;
	text-align: center;
}

.downloads-module .panel-downloads .table {
	margin: 0;
	background: transparent;
	border: none;
}

.downloads-module .panel-downloads .table tr {
	transition: all 0.3s ease;
}

.downloads-module .panel-downloads .table tr:hover {
	background: rgba(139, 0, 0, 0.2) !important;
	transform: scale(1.01);
}

.downloads-module .panel-downloads .table tr td {
	background: rgba(42, 42, 42, 0.8) !important;
	color: #e0e0e0 !important;
	border-bottom: 1px solid rgba(139, 0, 0, 0.3) !important;
	padding: 15px 20px !important;
	font-size: 14px !important;
	vertical-align: middle !important;
}

.downloads-module .panel-downloads .table tr:nth-of-type(odd) td {
	background: rgba(26, 26, 26, 0.8) !important;
}

.downloads-module .panel-downloads .table tr:hover td {
	background: rgba(139, 0, 0, 0.2) !important;
	color: #ffffff !important;
}

.downloads-module .panel-downloads .table tr td:first-child {
	font-weight: bold;
	color: #FFD700 !important;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.downloads-module .download-description {
	font-size: 12px !important;
	color: #cccccc !important;
	font-style: italic;
	margin-top: 5px;
	display: block;
}

.downloads-module .btn-primary {
	background: linear-gradient(135deg, #8B0000, #A52A2A) !important;
	border: 2px solid #660000 !important;
	color: #ffffff !important;
	font-family: 'Cinzel', serif !important;
	font-weight: bold !important;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.7) !important;
	box-shadow: 0 3px 8px rgba(139, 0, 0, 0.4) !important;
	transition: all 0.3s ease !important;
	border-radius: 6px !important;
	padding: 8px 16px !important;
	font-size: 12px !important;
	letter-spacing: 0.3px !important;
}

.downloads-module .btn-primary:hover {
	background: linear-gradient(135deg, #A52A2A, #DC143C) !important;
	border-color: #8B0000 !important;
	box-shadow: 0 4px 12px rgba(139, 0, 0, 0.6) !important;
	transform: translateY(-1px) !important;
	color: #FFD700 !important;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.7), 0 0 8px rgba(255, 215, 0, 0.5) !important;
}

.downloads-module .btn-primary:active {
	transform: translateY(0) !important;
	box-shadow: 0 2px 6px rgba(139, 0, 0, 0.4) !important;
}

/* Estilos para el fondo fijo */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    background-color: #000;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0.5; /* Ajusta la opacidad según sea necesario */
}

/* Contenido principal */
.container {
    position: relative;
    z-index: 1;
    background: #1A150CBF; /* Fondo semitransparente para mejor legibilidad */
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    display: flex;              /* 👈 habilitamos flexbox */
    flex-direction: column;     /* apilar vertical */
    background-color: #000;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0.5;
}

/* Contenido principal */
.container {
    position: relative;
    z-index: 1;
    background: #1A150CBF;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    flex: 1;   /* 👈 este hace que el footer baje */
}

/* Footer */
footer {
    z-index: 1;
    background: #111;
    color: #fff;
    text-align: center;
    padding: 20px;
}
/* Real-time validation feedback (registration) */
#registrationForm input.is-valid,
#registrationForm .form-control.is-valid {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

#registrationForm input.is-invalid,
#registrationForm .form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

#registrationForm .validation {
  display: block;
  margin-top: 4px;
}

#registrationForm .validation.text-success { color: #28a745; }
#registrationForm .validation.text-danger  { color: #dc3545; }

/* ============================================
   REGISTRATION FORM - REAL-TIME VALIDATION
   ============================================ */

/* Estados de validación para inputs */
#registrationForm .form-control.is-valid {
  border-color: #28a745 !important;
  background-color: rgba(40, 167, 69, 0.15) !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
  color: #ffffff !important;
}

#registrationForm .form-control.is-invalid {
  border-color: #dc3545 !important;
  background-color: rgba(220, 53, 69, 0.15) !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
  color: #ffffff !important;
}

/* Mensajes de validación */
#registrationForm .validation {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  min-height: 20px;
  transition: all 0.3s ease;
}

#registrationForm .validation.text-success {
  color: #28a745 !important;
  text-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
}

#registrationForm .validation.text-danger {
  color: #dc3545 !important;
  text-shadow: 0 0 5px rgba(220, 53, 69, 0.3);
}

/* Animación de entrada para mensajes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#registrationForm .validation:not(:empty) {
  animation: fadeIn 0.3s ease;
}

/* Estilo del botón de submit cuando está deshabilitado */
#submitBtn:disabled {
  background: #6c757d !important;
  border-color: #6c757d !important;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Focus states mejorados (solo registro) */
#registrationForm .form-control:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(194, 168, 120, 0.25) !important;
  border-color: #C2A878 !important;
  color: #ffffff !important;
}

#registrationForm .form-control.is-valid:focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.35) !important;
  color: #ffffff !important;
  background-color: rgba(40, 167, 69, 0.15) !important;
}

#registrationForm .form-control.is-invalid:focus {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.35) !important;
  color: #ffffff !important;
  background-color: rgba(220, 53, 69, 0.15) !important;
}

/* Estilos para help-block */
.help-block {
  display: block;
  margin-top: 5px;
  margin-bottom: 10px;
  color: #999;
  font-size: 12px;
}

/* Responsivo */
@media (max-width: 576px) {
  .validation {
    font-size: 12px;
  }
}

/* Asegurar color de texto visible en todos los estados (solo registro) */
#registrationForm .form-control {
  color: #ffffff !important;
}

#registrationForm .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Asegurar que el texto sea visible mientras se escribe (solo registro) */
#registrationForm input[type=text], 
#registrationForm input[type=password], 
#registrationForm input[type=email] {
  color: #ffffff !important;
}

#registrationForm input[type=text].is-valid, 
#registrationForm input[type=password].is-valid, 
#registrationForm input[type=email].is-valid {
  color: #ffffff !important;
  background-color: rgba(40, 167, 69, 0.15) !important;
}

#registrationForm input[type=text].is-invalid, 
#registrationForm input[type=password].is-invalid, 
#registrationForm input[type=email].is-invalid {
  color: #ffffff !important;
  background-color: rgba(220, 53, 69, 0.15) !important;
}
