/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 =========================================================
 
*/
.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;
}

/* Info tables: force dark background and light text to match MuDreams look (#0B0E17) */
#content table, #content thead, #content tbody, #content td, #content th,
.panel-sidebar table, .panel-sidebar td, .panel-sidebar th,
.dream-container table, .dream-container td, .dream-container th {
	background: #0B0E17 !important;
	color: #dce0ee !important;
	border-color: #1c2238 !important;
}

.panel-sidebar .panel-heading, .panel-sidebar .panel-body {
	background: #0B0E17 !important;
	color: #dce0ee !important;
}

/* Ensure links inside tables remain readable */
#content a, .panel-sidebar a, .dream-container a {
	color: #f5c65d !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: #3f6588;
    background-color: transparent;
	border-color: #3f6588;
	-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: #3f6588 !important;
	border-color: #3f6588 !important;
}

.form-horizontal .control-label {
	text-align: left !important;
}

/* ---------------------------------------------------- */
/* MuDreams layout overrides                            */
/* ---------------------------------------------------- */
html {
	min-width: 0;
}

.dream-body {
	background: radial-gradient(120% 120% at 30% 10%, rgba(245, 198, 93, 0.08), transparent 30%),
	            radial-gradient(100% 100% at 80% 0%, rgba(119, 141, 255, 0.08), transparent 35%),
	            #05060d url('../assets/bg/power_bg.webp') center top no-repeat fixed;
	background-size: cover;
	color: #dce0ee;
	font-family: 'Montserrat', 'PT Sans', sans-serif;
}

.dream-layout {
	display: flex;
	min-height: 100vh;
	background: radial-gradient(140% 140% at 15% 20%, rgba(255, 198, 93, 0.08), transparent 35%),
	            radial-gradient(80% 80% at 80% 0%, rgba(119, 141, 255, 0.06), transparent 30%),
	            #05060d;
}

.dream-sidebar {
	width: 280px;
	padding: 22px 18px;
	background: rgba(7, 9, 15, 0.92);
	border-right: 1px solid #141a2a;
	box-shadow: 0 10px 45px rgba(0, 0, 0, 0.45);
	display: flex;
	flex-direction: column;
	gap: 14px;
	position: sticky;
	top: 0;
	height: 100vh;
	overflow-y: auto;
}

.dream-logo img {
	max-width: 200px;
	height: auto;
	display: block;
}

.dream-sidebar-copy {
	color: #a5afc5;
}

.dream-kicker {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 4px;
	color: #f5c65d;
	font-weight: 700;
}

.dream-subtitle {
	margin: 0;
	font-weight: 600;
	color: #e4e7f1;
}

.dream-online {
	background: linear-gradient(145deg, rgba(11, 14, 23, 0.98), rgba(11, 14, 23, 0.9));
	border: 1px solid #1c2238;
	border-radius: 12px;
	padding: 12px;
	box-shadow:
		0 10px 32px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.dream-online::before {
	content: "";
	position: absolute;
	inset: -30% -40%;
	background: radial-gradient(60% 50% at 25% 30%, rgba(245, 198, 93, 0.12), transparent 65%),
	            radial-gradient(55% 45% at 80% 20%, rgba(123, 255, 189, 0.08), transparent 65%);
	opacity: 0.9;
	z-index: 0;
}

.dream-online-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #f0f3ff;
	font-weight: 600;
	position: relative;
	z-index: 1;
	margin-bottom: 8px;
}

.dream-online-row span {
	color: #9fb0d5;
	letter-spacing: 0.04em;
}

.dream-online-row strong {
	color: #f5c65d;
	font-size: 20px;
	text-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.dream-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dream-nav li a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	color: #d9deef;
	background: #0b0e17;
	border-radius: 10px;
	border: 1px solid transparent;
	transition: all .2s ease;
}

.dream-nav li a:hover,
.dream-nav li a:focus {
	border-color: #f5c65d;
	color: #ffffff !important;
	text-decoration: none !important;
}

.dream-side-actions .btn-dream {
	width: 100%;
	margin-bottom: 8px;
}

.btn-dream {
	background: linear-gradient(135deg, #f5c65d, #d37b27);
	color: #0c0f17;
	font-weight: 700;
	border: none;
	border-radius: 10px;
	padding: 10px 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	display: inline-block;
}

.btn-dream:hover,
.btn-dream:focus {
	color: #0c0f17;
	opacity: .9;
	text-decoration: none !important;
}

.btn-dream.ghost {
	background: transparent;
	color: #f5c65d;
	border: 1px solid #f5c65d;
}

.btn-dream.outline {
	background: #0b0e17;
	color: #f5c65d;
	border: 1px solid #f5c65d;
}

.dream-times {
	font-size: 12px;
	color: #a3adc6;
	background: #0b0e17;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #1c2238;
}

.dream-main {
	flex: 1;
	padding: 22px 26px;
	background: linear-gradient(180deg, rgba(5, 6, 13, 0.92) 0%, rgba(5, 6, 13, 0.92) 100%), url('../assets/new_land/top_img_1920.webp') center top no-repeat fixed;
	background-size: cover;
	background-position: 50% 22%;
}

.dream-topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	color: #dce0ee;
}

.dream-topbar a {
	color: #f5c65d;
	font-weight: 600;
}

.dream-divider {
	color: #404965;
	margin: 0 6px;
}

.dream-topbar-left ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 10px;
}

.dream-topbar-left ul li a {
	color: #dce0ee;
}

.dream-hero {
	position: relative;
	min-height: 520px;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 22px;
	background: #0b0e17;
}

.dream-hero picture {
	display: block;
	width: 100%;
	height: 520px;
	line-height: 0;
}

/* Contenedor principal del hero */
.dream-hero {
    height: 350px !important;
    min-height: 350px !important;
    max-height: 350px !important;
    padding: 0 !important;
}

/* Contenido interno del hero */
.dream-hero-content {
    height: 350px !important;
    min-height: 350px !important;
    max-height: 350px !important;
    padding: 0 !important;
}

/* El video */
.dream-hero video.dream-hero-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    display: block !important;
}




.dream-hero-copy {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 30px;
	background: linear-gradient(180deg, rgba(5, 6, 13, 0.15) 0%, rgba(5, 6, 13, 0.88) 70%, rgba(5, 6, 13, 0.95) 100%);
}

.dream-hero h1 {
	margin: 0 0 8px;
	font-weight: 700;
	color: #ffffff;
	font-size: 32px;
	text-shadow: 0 6px 35px rgba(0, 0, 0, 0.35);
}

.dream-hero-text {
	margin: 0;
	color: #cdd4e9;
	max-width: 540px;
}

.dream-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

@media (max-width: 992px) {
	.dream-hero {
		min-height: 380px;
	}
	.dream-hero picture {
		height: 380px;
	}
	.dream-hero-copy {
		padding: 18px;
	}
}

.dream-stats {
	margin-bottom: 22px;
}

.dream-section-header {
	margin-bottom: 16px;
}

.dream-section-header h2 {
	margin: 4px 0 6px;
	font-weight: 800;
	font-size: 28px;
	letter-spacing: 0.04em;
	color: #e7ebf8;
}

.dream-section-lead {
	color: #aeb9d6;
	margin: 0;
}

.dream-feature-section {
	background: linear-gradient(180deg, rgba(23, 35, 73, 0.82), rgba(11, 14, 23, 0.95));
	border: 1px solid #1c2238;
	border-radius: 18px;
	padding: 24px;
	margin-bottom: 22px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

.dream-feature-hero {
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #24345b;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.05),
		0 10px 30px rgba(0, 0, 0, 0.35);
	margin-bottom: 18px;
}

.dream-feature-hero img {
	display: block;
	width: 100%;
	height: auto;
}

.dream-feature-slider {
	position: relative;
	margin-bottom: 18px;
	border: 1px solid #24345b;
	border-radius: 14px;
	overflow: hidden;
	background: #0b0e17;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.05),
		0 12px 36px rgba(0, 0, 0, 0.32);
}

.dream-slide {
	display: none;
	position: relative;
	min-height: 320px;
}

.dream-slide.active {
	display: block;
}

.dream-slide-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: saturate(1.05);
	opacity: 0.9;
}

.dream-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(5, 6, 13, 0.2) 0%, rgba(5, 6, 13, 0.82) 70%, rgba(5, 6, 13, 0.95) 100%);
	z-index: 1;
}

.dream-slide-copy {
	position: relative;
	z-index: 2;
	padding: 24px;
	color: #e7ebf8;
	max-width: 640px;
	text-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
}

.dream-slide-copy h3 {
	margin: 4px 0 8px;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.dream-slide-copy p {
	margin: 0;
	color: #c3cce2;
}

.dream-slide-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(11, 14, 23, 0.8);
	border: 1px solid #24345b;
	color: #f5c65d;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
	transition: all .2s ease;
	z-index: 3;
}

.dream-slide-btn:hover {
	background: rgba(36, 52, 91, 0.9);
}

.dream-slide-btn.prev { left: 12px; }
.dream-slide-btn.next { right: 12px; }

.dream-slide-dots {
	position: absolute;
	bottom: 12px;
	left: 0;
	right: 0;
	display: flex;
	gap: 8px;
	justify-content: center;
	z-index: 3;
}

.dream-slide-dots button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid #f5c65d;
	background: rgba(11, 14, 23, 0.8);
	cursor: pointer;
	padding: 0;
}

.dream-slide-dots button.active {
	background: #f5c65d;
	box-shadow: 0 0 12px rgba(245, 198, 93, 0.6);
}

.dream-feature-grid {
	margin: 0 -10px;
}

.dream-feature-card {
	background: #0b0e17;
	border: 1px solid #1c2238;
	border-radius: 12px;
	padding: 14px;
	height: 100%;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
	text-align: center;
}

.dream-feature-card h3 {
	margin: 10px 0 6px;
	font-size: 18px;
	font-weight: 700;
	color: #e7ebf8;
}

.dream-feature-card p {
	margin: 0;
	color: #9fb0d5;
}

.dream-feature-thumb {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	border: 1px solid #24345b;
	background: #0e1423;
	padding: 6px;
}

.dream-create-section {
	background: linear-gradient(180deg, rgba(68, 45, 29, 0.6), rgba(11, 14, 23, 0.95));
	border: 1px solid #2a1a12;
	border-radius: 18px;
	padding: 28px 24px;
	margin-bottom: 22px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

.dream-create-wrapper {
	display: flex;
	align-items: center;
}

.dream-create-copy h2 {
	margin: 6px 0 12px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: 0.03em;
}

.dream-create-copy .dream-section-lead {
	margin-bottom: 16px;
}

.dream-create-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.dream-create-visual img {
	width: 100%;
	max-width: 520px;
	display: block;
	margin: 0 auto;
	border-radius: 14px;
	border: 1px solid #2c1f17;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.dream-stat-card {
	background: #0b0e17;
	border: 1px solid #1c2238;
	padding: 16px;
	border-radius: 12px;
	text-align: center;
	color: #dfe4f6;
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.dream-stat-card span {
	display: block;
	color: #9aa6c0;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 12px;
}

.dream-stat-card strong {
	display: block;
	margin-top: 6px;
	font-size: 20px;
	color: #f5c65d;
}

#container {
	width: 100%;
	background: transparent;
	margin: 0;
	padding: 0 0 24px 0;
}

#content {
	padding: 0;
	background: transparent;
	min-height: 0;
}

.dream-container #content {
	background: #0b0e17;
	border: 1px solid #1c2238;
	border-radius: 14px;
	padding: 18px;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
}

.dream-footer {
	margin-top: 18px;
	padding: 16px;
	background: #0b0e17;
	border: 1px solid #1c2238;
	border-radius: 14px;
	color: #9aa6c0;
}

.webengine-online-bar {
	background: linear-gradient(135deg, rgba(16, 19, 31, 0.95), rgba(16, 19, 31, 0.7));
	border-radius: 20px;
	overflow: hidden;
	height: 10px;
	margin-top: 8px;
	border: 1px solid #1c2238;
	box-shadow:
		0 0 0 1px rgba(245, 198, 93, 0.08),
		0 8px 24px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	position: relative;
	z-index: 1;
}

.webengine-online-bar-progress {
	background: linear-gradient(90deg, #f5c65d, #ff8b3d, #7bffbd, #f5c65d);
	background-size: 200% 100%;
	height: 100%;
	position: relative;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.3),
		0 0 18px rgba(245, 198, 93, 0.35);
	animation: dreamOnlineFlow 3.8s linear infinite;
}

.webengine-online-bar-progress::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(120% 180% at 20% 50%, rgba(255, 255, 255, 0.35), transparent 60%);
	mix-blend-mode: screen;
	opacity: 0.85;
	animation: dreamOnlineGlow 2.4s ease-in-out infinite alternate;
}

@keyframes dreamOnlineFlow {
	0% { background-position: 0% 50%; }
	100% { background-position: 200% 50%; }
}

@keyframes dreamOnlineGlow {
	0% { opacity: 0.4; filter: blur(0px); }
	100% { opacity: 0.95; filter: blur(1px); }
}

@media (max-width: 992px) {
	.dream-feature-section,
	.dream-create-section {
		padding: 18px 14px;
	}
	.dream-feature-card {
		margin-bottom: 10px;
	}
	.dream-create-wrapper {
		flex-direction: column;
	}
}

/* Sidebar panels (login / info) */
.panel-sidebar {
	background: #0b0e17;
	border: 1px solid #1c2238;
	border-radius: 12px;
	color: #dce0ee;
	box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.panel-sidebar .panel-heading {
	background: linear-gradient(90deg, rgba(245, 198, 93, 0.2), rgba(19, 27, 44, 0.9));
	border-bottom: 1px solid #1c2238;
	border-radius: 12px 12px 0 0;
	color: #f5c65d;
}

.panel-sidebar .panel-title {
	font-weight: 700;
}

.panel-sidebar .panel-body {
	background: rgba(10, 13, 21, 0.85);
}

.panel-sidebar input.form-control {
	background: #0f1321;
	border: 1px solid #1f2942;
	color: #dce0ee;
}

.panel-sidebar input.form-control:focus {
	border-color: #f5c65d;
	box-shadow: 0 0 0 1px rgba(245, 198, 93, 0.45);
}

.panel-sidebar .btn-primary {
	background: linear-gradient(135deg, #f5c65d, #d37b27);
	color: #0c0f17 !important;
	border: none;
	border-radius: 10px;
}

.panel-sidebar .btn-primary:hover,
.panel-sidebar .btn-primary:focus {
	opacity: .9;
}

/* Mobile sidebar to top navbar */
@media (max-width: 768px) {
	.dream-layout {
		flex-direction: column;
	}
	.dream-sidebar {
		position: relative;
		top: auto;
		width: 100%;
		height: auto;
		flex-direction: column;
		border-right: 0;
		border-bottom: 1px solid #141a2a;
		box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
		gap: 10px;
	}
	.dream-logo img {
		max-width: 160px;
		margin: 0 auto;
	}
	.dream-side-actions {
		display: flex;
		gap: 8px;
		width: 100%;
	}
	.dream-side-actions .btn-dream {
		margin-bottom: 0;
		flex: 1 1 auto;
		text-align: center;
	}
	.dream-nav ul {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px;
		justify-content: center;
	}
	.dream-nav li {
		flex: 1 1 48%;
	}
	.dream-nav li a {
		justify-content: center;
		text-align: center;
	}
	.dream-times .row > div {
		text-align: left;
	}
	.dream-main {
		padding: 14px 12px 18px;
	}
	.dream-hero,
	.dream-hero picture {
		min-height: 320px;
		height: 320px;
	}
}
/* PANEL GENERAL */
.panel-downloads {
    background: #0B0E17 !important;
    border: 1px solid #222 !important;
    color: #fff !important;
}

/* TÍTULO DEL PANEL */
.panel-downloads .panel-title {
    color: #fff !important;
    border-bottom: 1px solid #222 !important;
    font-weight: 600;
}

/* TEXTO DENTRO DEL PANEL */
.panel-downloads .panel-body {
    color: #fff !important;
}

/* DESCRIPCIÓN DEL DOWNLOAD */
.download-description {
    color: #ccc !important;
}

/* TABLA INTERNA */
.panel-downloads .table {
    color: #fff !important;
    background: transparent !important;
}

.panel-downloads .table tr td {
    color: #fff !important;
    border-color: #222 !important;
}

/* BOTÓN DE DESCARGA */
.panel-downloads a.btn-primary {
    background: #ff6600 !important;   /* naranja MU */
    border-color: #ff6600 !important;
    color: #fff !important;
}

.panel-downloads a.btn-primary:hover {
    background: #ff7f2a !important;
    border-color: #ff7f2a !important;
}

/* HACER QUE TODO EL TEXTO INTERNO SEA BLANCO */
.panel-downloads * {
    color: #fff !important;
}
