/* Downloads module visual tweaks */
.panel-downloads .panel-body { background: rgba(0,0,0,0.35) repeat top center; border:1px solid #2a2a2a; border-radius:8px; }
.panel-downloads .panel-title { color:#ffda8a; font-weight:700; font-family:'Cinzel', Arial, serif; font-size:18px; margin-bottom:10px; }
.panel-downloads table.table tr td { vertical-align: middle; }
.download-description { color:#cfcfcf; font-size:12px; }
.download-icon { width:28px; height:28px; margin-right:8px; vertical-align:middle; }
.download-icon-svg { width:24px; height:24px; margin-right:8px; fill:#ffda8a; vertical-align:middle; }
.btn-download { border-radius:6px; padding:6px 10px; }

/* Donation module */
.panel-donation .panel-body { background: rgba(0,0,0,0.35) repeat top center; border:1px solid #2a2a2a; border-radius:10px; box-shadow:0 10px 30px rgba(0,0,0,0.35); }
.donation-header { text-align:center; margin-bottom:14px; }
.donation-header__title { color:#ffda8a; font-weight:800; font-family:'Cinzel', Arial, serif; font-size:20px; letter-spacing:.3px; text-shadow:0 2px 10px rgba(0,0,0,.4); }
.donation-header__rate { color:#dcdcdc; margin-top:4px; font-size:13px; }
.conversion-box { margin-top:8px; background:rgba(20,20,20,.7); border:1px solid #2a2a2a; border-radius:8px; padding:8px 10px; color:#eaeaea; display:inline-block; }
.conversion-box__label { color:#aaa; margin-right:6px; font-size:12px; }
.btn-payssion { background-image: linear-gradient(180deg,#28a745,#218838) !important; border-color:#1e7e34 !important; color:#ffffff !important; font-weight:800; letter-spacing:.2px; }
.btn-payssion:hover { filter: brightness(1.05); }
.form-actions .help-block { color:#cfcfcf; }

/* PayPal module visual polish */
.paypal-gateway-container { background: rgba(0,0,0,0.35) repeat top center; border:1px solid #2a2a2a; border-radius:10px; box-shadow:0 10px 30px rgba(0,0,0,0.35); padding: 12px; max-width: 560px; margin: 8px auto; }
.paypal-gateway-content { display:flex; flex-direction:column; gap:10px; }
.paypal-gateway-logo { position: relative; height: 56px; border:1px solid #2a2a2a; border-radius:10px; background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); box-shadow: inset 0 1px 6px rgba(0,0,0,0.35); }
.paypal-gateway-logo:after { content:"PayPal"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-family:'Cinzel', Arial, serif; font-weight:800; letter-spacing:.5px; color:#009cde; text-shadow:0 2px 8px rgba(0,0,0,.35); font-size:22px; }
.paypal-gateway-form { color:#dcdcdc; font-size:14px; }
.paypal-gateway-form #amount { display:inline-block; width: 120px; max-width: 40%; margin: 6px 8px; padding: 8px 10px; background:#101010; color:#f1f1f1; border:1px solid #2b2b2b; border-radius:8px; height: 42px; box-sizing: border-box; }
.paypal-gateway-form #amount:focus { border-color:#ff471a; box-shadow:0 0 0 2px rgba(255,71,26,0.25); outline: none; }
.paypal-gateway-continue { position: relative; height: 56px; margin-top: 10px; }
.paypal-gateway-continue input[type="submit"][name="submit"] { position:absolute; inset:0; width:100%; height:100%; opacity:0; z-index:2; cursor:pointer; }
.paypal-gateway-continue:after { content:"Comprar ahora con PayPal"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background-image: linear-gradient(180deg,#ffc439,#f7b500); border:1px solid #e0a100; color:#111; font-weight:800; letter-spacing:.2px; border-radius:10px; box-shadow:0 6px 18px rgba(0,0,0,0.35), inset 0 -2px 0 rgba(0,0,0,0.12); }
.paypal-gateway-continue:hover:after { filter: brightness(1.03); }
.paypal-gateway-continue:active:after { transform: translateY(1px); box-shadow:0 4px 12px rgba(0,0,0,0.35), inset 0 -1px 0 rgba(0,0,0,0.12); }
.paypal-gateway-content p { color:#cfcfcf; margin: 4px 0; }

/* Botón Salir abajo a la derecha dentro del panel usuario */
.panel-usercp .usercp-logout { text-align: right; margin-top: 8px; }

/* UserCP visual redesign */
.panel-usercp .usercp-list { list-style:none; margin:0; padding:0; display:grid; grid-template-columns: 1fr; gap:8px; }
.panel-usercp .usercp-list li { margin:0; display:block !important; line-height: initial; }
.panel-usercp .usercp-link { display:flex; align-items:center; gap:10px; background:#141414; border:1px solid #2a2a2a; border-radius:8px; padding:8px 10px; color:#f1f1f1 !important; font-weight:700; box-shadow:0 6px 18px rgba(0,0,0,0.25); transition: all .15s ease; }
.panel-usercp .usercp-link:hover { transform: translateY(-1px); border-color:#ff471a; box-shadow:0 10px 24px rgba(0,0,0,0.35); color:#ffda8a !important; }
.panel-usercp .usercp-link.is-active { background: rgba(255,71,26,0.12); border-color:#ff471a; }
.panel-usercp .usercp-link img { width:20px; height:auto; margin:0; padding:0; position:static; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4)); }
.panel-usercp .usercp-link span { display:inline-block; }

@media (min-width: 992px) {
  .panel-usercp .usercp-list { grid-template-columns: 1fr; }
}

/* UserCP myaccount summary */
.panel-usercp-summary .panel-body { background: rgba(0,0,0,0.35) repeat top center; border:1px solid #2a2a2a; border-radius:10px; box-shadow:0 10px 30px rgba(0,0,0,0.35); }
.account-summary-header { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.account-summary-username { font-family:'Cinzel', Arial, serif; color:#ffda8a; font-size:18px; font-weight:700; }
.account-summary-email { color:#cfcfcf; font-size:12px; }
.donation-grid { display:flex; flex-wrap:wrap; gap:12px; }
.donation-card { flex:1 1 30%; min-width: 200px; background:#141414; border:1px solid #2a2a2a; border-radius:10px; overflow:hidden; box-shadow:0 6px 18px rgba(0,0,0,0.35); transition: transform .15s ease, box-shadow .15s ease; }
.donation-card:hover { transform: translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,0.45); }
.donation-card__image { position: relative; aspect-ratio: 16/9; width: 100%; overflow: hidden; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.35)); }
.donation-card__image:after { content:""; position:absolute; inset:0; background: radial-gradient(ellipse at top, rgba(255,255,255,.08), transparent 65%); pointer-events:none; }
.donation-card__image img { width:100%; height:100%; display:block; object-fit: contain; image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.donation-card .donation-title { padding:8px 10px; color:#ffda8a; font-weight:700; font-family:'Cinzel', Arial, serif; text-align:center; }
/* Variante de grid con iconos más pequeños */
/* Variante pequeña (si se usa en el futuro) */
.donation--small-icons .donation-card img { width: 50% !important; height: auto !important; margin: 10px auto; display: block; object-fit: contain; }
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    border-top: none !important;
}

a:focus, a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.form-control {
	background: #fafafa;
	border: 1px solid #e3e3e3;
	color: #666;
}
.form-control:focus {
	border: 1px solid #ccc;
}

/* http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

/* http://stackoverflow.com/questions/20547819/vertical-align-with-bootstrap-3 */
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.thumbnail {
    background-color: #f1f1f1;
    border: 1px solid #e3e3e3;
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: #ff0000;
}

.btn-primary {
    color: #ff0000;
    background-color: transparent;
	border-color: #ff0000;
	-moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
    color: #fff !important;
    background-color: #ff0000 !important;
	border-color: #ff0000 !important;
}

/* Login actions layout */
.form-actions .btn { margin-top: 0; }

/* Alinea el contenido del módulo de registro a la izquierda */
.register-module { text-align: left !important; }
.register-module .form-horizontal .col-sm-4 { text-align: left; }
/* Mueve los inputs a la derecha dentro de su columna */
.register-module .form-horizontal .col-sm-8 { text-align: left; }
.register-module .form-horizontal .col-sm-8 .form-control { display: block; width: 100%; max-width: 100%; }

@media (max-width: 767px) {
  .register-module .form-horizontal .col-sm-8 { text-align: left; }
  .register-module .form-horizontal .col-sm-8 .form-control { width: 100%; }
}

/* Visual polish for Register module */
.register-module {
  background: rgba(0,0,0,0.35) repeat top center;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  max-width: 560px;
  margin: 6px auto !important; /* más pegado arriba */
  padding: 12px 12px 10px 12px; /* menos padding lateral para evitar desbordes */
  overflow: hidden; /* previene desbordes visuales */
}
.register-module .form-horizontal .form-group {
  margin-bottom: 14px;
}
.register-module .form-horizontal { margin-left: 0; margin-right: 0; }
.register-module .form-horizontal .form-group { margin-left: 0; margin-right: 0; }
.register-module .form-horizontal .col-sm-offset-4 { margin-left: 0 !important; }
.register-module .form-horizontal .col-sm-8, .register-module .form-horizontal .col-sm-4 { padding-left: 0; padding-right: 0; }
.register-module label {
  font-weight: 600;
  color: #ffda8a;
}
.register-module .form-control {
  background: #101010;
  color: #f1f1f1;
  border: 1px solid #2b2b2b;
  border-radius: 6px;
  height: 42px;
  box-sizing: border-box;
  max-width: 100%;
}
.register-module .form-control:focus {
  border-color: #ff471a;
  box-shadow: 0 0 0 2px rgba(255,71,26,0.25);
}
.register-module .help-block {
  color: #cfcfcf;
  font-size: 12px;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.register-module .help-block span { display:block; width:100%; box-sizing:border-box; white-space:normal; word-break:break-word; overflow-wrap:anywhere; }
.register-module .btn.btn-primary {
  width: 100%;
  padding: 10px 14px;
  font-weight: 700;
  border-radius: 8px;
  box-sizing: border-box;
}
.register-module .form-group:last-child { margin-bottom: 8px; }
.register-module .form-group .help-block { white-space: normal; word-break: break-word; }
.register-module .g-recaptcha { max-width: 100%; }
.register-module * { box-sizing: border-box; }

/* Oculta etiquetas y usa una sola columna */
.register-module .control-label { display: none !important; }
.register-module .form-horizontal .col-sm-4 { display: none !important; }
.register-module .form-horizontal .col-sm-8 { width: 100% !important; float: none !important; }


/* Panel body continuity with heading (news module) */
.panel-body {
    background: #141414 repeat top center !important;
    margin-top: 0 !important;
    padding-top: 15px;
}
/* UserCP landing (usercp.php) FAQ styling */
.panel-usercp-faq .panel-body { background: rgba(0,0,0,0.35) repeat top center; border:1px solid #2a2a2a; border-radius:10px; box-shadow:0 10px 30px rgba(0,0,0,0.35); }
.ucp-faq { display:flex; flex-direction:column; gap:10px; }
.ucp-faq-item { background:#141414; border:1px solid #2a2a2a; border-radius:10px; padding:10px 12px; box-shadow:0 6px 18px rgba(0,0,0,0.25); }
.ucp-faq-q { color:#ffda8a; font-weight:800; font-family:'Cinzel', Arial, serif; margin-bottom:6px; }
.ucp-faq-a { color:#dcdcdc; font-size:13px; line-height:1.6; }
.ucp-faq-a a { color:#ff471a !important; }