/*!
    
 =========================================================
 * 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;
}

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

.form-control {
	background: #111f20;
	border: 1px solid #20393a;
	color: #6c8989;
}
.form-control:focus {
	border: 1px solid #1c919d;
}

/* 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: #142526;
    border: 1px solid #20393a;
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: #133538;
}

.btn-primary {
    color: #1c919d;
    background-color: transparent;
    border-color: #1c919d;
    -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: #ffffffba !important;
    background-color: #1c919d !important;
    border-color: #1c919d !important;
}

.form-horizontal .control-label {
	text-align: left !important;
}

.table-bordered {
    border: 1px solid #20393a;
}

.table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th {
    border: 1px solid #20393a;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #142526;
}

.table-hover>tbody>tr:hover {
    background-color: #1d3536;
}

.alert-danger {
	color: #ffe2e2;
	background-color: #502c2c;
	border-color: #724a4a;
}

.alert-success {
	color: #d5ffd6;
	background-color: #406830;
	border-color: #82af70;
}

.table>thead>tr>th {
    vertical-align: bottom;
    border-bottom: 2px solid #2b4748;
}

.help-block {
    color: #6c8989;
}
.social-bar-vertical {
    position: fixed;
    top: 35%;
    left: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0,0,0,0.7);
    padding: 10px 5px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    gap: 15px;
}

.social-bar-vertical .social-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    color: #fff;
    background: #222;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-bar-vertical .social-icon:hover {
    transform: scale(1.1);
}

.social-bar-vertical .facebook:hover {
    background: #3b5998;
}

.social-bar-vertical .instagram:hover {
    background: #e4405f;
}

.social-bar-vertical .discord:hover {
    background: #7289da;
}

/* === INFERNO ANIMATED THEME & EMBERS === */
body {
    background: #050202 url('../img/background-inferno.jpg') no-repeat top center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    position: relative;
    overflow-x: hidden;
}

/* Lava Glow Overlay animation */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 100%, rgba(255, 68, 0, 0.22), rgba(200, 20, 0, 0.1) 40%, transparent 80%);
    pointer-events: none;
    z-index: 1;
    animation: infernoLavaPulse 4s ease-in-out infinite alternate;
}

@keyframes infernoLavaPulse {
    0% { opacity: 0.5; transform: scale(1.0); }
    50% { opacity: 0.85; transform: scale(1.03); }
    100% { opacity: 0.6; transform: scale(0.98); }
}

/* Animated Floating Embers Container */
.fire-embers-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.ember-particle {
    position: absolute;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff9d00 20%, #ff3b00 70%, transparent 100%);
    box-shadow: 0 0 10px #ff5500, 0 0 20px #ff2200;
    animation: floatEmber 7s linear infinite;
    opacity: 0;
}

.ember-particle:nth-child(1) { left: 10%; width: 6px; height: 6px; animation-duration: 6s; animation-delay: 0s; }
.ember-particle:nth-child(2) { left: 25%; width: 8px; height: 8px; animation-duration: 8s; animation-delay: 1.5s; }
.ember-particle:nth-child(3) { left: 40%; width: 5px; height: 5px; animation-duration: 5.5s; animation-delay: 0.5s; }
.ember-particle:nth-child(4) { left: 55%; width: 9px; height: 9px; animation-duration: 9s; animation-delay: 2s; }
.ember-particle:nth-child(5) { left: 70%; width: 6px; height: 6px; animation-duration: 7s; animation-delay: 1s; }
.ember-particle:nth-child(6) { left: 85%; width: 7px; height: 7px; animation-duration: 8.5s; animation-delay: 3s; }
.ember-particle:nth-child(7) { left: 18%; width: 5px; height: 5px; animation-duration: 6.5s; animation-delay: 2.5s; }
.ember-particle:nth-child(8) { left: 33%; width: 10px; height: 10px; animation-duration: 10s; animation-delay: 0.8s; }
.ember-particle:nth-child(9) { left: 63%; width: 4px; height: 4px; animation-duration: 5s; animation-delay: 3.5s; }
.ember-particle:nth-child(10) { left: 78%; width: 8px; height: 8px; animation-duration: 7.5s; animation-delay: 4s; }
.ember-particle:nth-child(11) { left: 92%; width: 6px; height: 6px; animation-duration: 6.8s; animation-delay: 1.2s; }
.ember-particle:nth-child(12) { left: 48%; width: 7px; height: 7px; animation-duration: 8.2s; animation-delay: 2.8s; }

@keyframes floatEmber {
    0% {
        transform: translateY(0) translateX(0) scale(0.6);
        opacity: 0;
    }
    15% {
        opacity: 0.9;
    }
    50% {
        transform: translateY(-50vh) translateX(30px) scale(1.1);
        opacity: 0.7;
    }
    85% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-105vh) translateX(-20px) scale(0.3);
        opacity: 0;
    }
}

/* === INFERNO CONTAINER & PANEL DESIGN === */
#container {
    background: rgba(12, 6, 6, 0.92) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 106, 0, 0.25) !important;
    border-top: 3px solid #ff6a00 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 75, 0, 0.15) !important;
    border-radius: 12px 12px 0 0 !important;
    position: relative;
    z-index: 5;
}

/* PAGE TITLE STYLING */
.page-title {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 106, 0, 0.3);
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, #ff6a00, #ffba00);
    box-shadow: 0 0 12px #ff6a00;
}

.page-title span {
    font-family: 'Cinzel', serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #fff 20%, #ffb700 60%, #ff5500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* === MODERN USER CP MODULE CARDS === */
.usercp-grid {
    margin-left: -10px;
    margin-right: -10px;
}

.usercp-card {
    background: linear-gradient(145deg, rgba(32, 14, 12, 0.85), rgba(16, 7, 6, 0.95));
    border: 1px solid rgba(255, 106, 0, 0.22);
    border-radius: 12px;
    padding: 20px 15px 16px 15px;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    height: 100%;
}

.usercp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.6), transparent);
    transition: all 0.35s ease;
    opacity: 0;
}

.usercp-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(255, 120, 0, 0.65);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 106, 0, 0.35), inset 0 0 15px rgba(255, 90, 0, 0.15);
    background: linear-gradient(145deg, rgba(48, 20, 15, 0.95), rgba(24, 9, 7, 0.98));
}

.usercp-card:hover::before {
    opacity: 1;
}

.usercp-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    height: 100%;
}

.usercp-icon-wrapper {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.15) 0%, rgba(0, 0, 0, 0.5) 80%);
    border: 1px solid rgba(255, 106, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.35s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.usercp-card:hover .usercp-icon-wrapper {
    transform: scale(1.1);
    border-color: #ff6a00;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.35) 0%, rgba(50, 10, 0, 0.7) 80%);
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.5);
}

.usercp-icon-img {
    width: 62px !important;
    height: 62px !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
    transition: all 0.35s ease;
}

.usercp-card:hover .usercp-icon-img {
    filter: drop-shadow(0 0 10px rgba(255, 130, 0, 0.8));
}

.usercp-card-title {
    color: #ffc280;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.usercp-card:hover .usercp-card-title {
    color: #ffffff;
    text-shadow: 0 0 10px #ff6a00, 0 0 20px #ff3300;
}

/* === GENERAL PANELS & TABLES === */
.panel {
    background: rgba(20, 10, 9, 0.85) !important;
    border: 1px solid rgba(255, 106, 0, 0.2) !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

.panel-heading {
    background: linear-gradient(90deg, rgba(45, 18, 14, 0.9), rgba(25, 10, 8, 0.9)) !important;
    border-bottom: 1px solid rgba(255, 106, 0, 0.3) !important;
    color: #ffb366 !important;
    font-weight: 700 !important;
    border-top-left-radius: 7px !important;
    border-top-right-radius: 7px !important;
}

.panel-title {
    color: #ffa34d !important;
    font-family: 'Cinzel', serif !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* TABLES STYLING */
.table {
    color: #e0a24c !important;
}

.table>thead>tr>th {
    background: rgba(40, 15, 12, 0.8) !important;
    color: #ffaa55 !important;
    border-bottom: 2px solid rgba(255, 106, 0, 0.4) !important;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: rgba(25, 12, 10, 0.6) !important;
}

.table-hover>tbody>tr:hover {
    background-color: rgba(60, 25, 15, 0.6) !important;
}

/* === INFERNO THEME: TOP BAR, NAVBAR & SERVER WIDGET === */

/* TOP BAR */
.global-top-bar {
    background: rgba(10, 4, 4, 0.95) !important;
    color: #ffaa55 !important;
    border-bottom: 1px solid rgba(255, 106, 0, 0.25) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.global-top-bar a {
    color: #ffaa55 !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.global-top-bar a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px #ff6a00, 0 0 16px #ff2200;
}

.global-top-bar a.logout {
    color: #ff4433 !important;
}

.global-top-bar a.logout:hover {
    color: #ff7766 !important;
    text-shadow: 0 0 10px #ff0000;
}

.admincp-button {
    background: linear-gradient(135deg, #c62828, #ff6a00) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1px solid rgba(255, 150, 0, 0.5) !important;
    box-shadow: 0 0 12px rgba(255, 106, 0, 0.4) !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

.admincp-button:hover {
    background: linear-gradient(135deg, #e53935, #ff8800) !important;
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.8) !important;
    transform: scale(1.05);
}

/* NAVBAR */
#navbar {
    background: linear-gradient(180deg, rgba(22, 8, 7, 0.92), rgba(12, 4, 4, 0.96)) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 2px solid rgba(255, 106, 0, 0.4) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.75) !important;
}

#navbar ul li a {
    color: #ffd080 !important;
    font-family: 'Cinzel', serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    padding: 18px 24px !important;
    transition: all 0.3s ease !important;
    position: relative;
}

#navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ff3300, #ffaa00);
    box-shadow: 0 0 10px #ff6a00;
    transition: all 0.3s ease;
}

#navbar ul li a:hover,
#navbar ul li a:focus,
#navbar ul li.active a {
    color: #ffffff !important;
    text-shadow: 0 0 12px #ff6a00, 0 0 25px #ff2200 !important;
}

#navbar ul li a:hover::after,
#navbar ul li.active a::after {
    width: 80%;
}

/* SERVER INFO WIDGET */
.header-info-container .header-info {
    background: linear-gradient(145deg, rgba(28, 10, 8, 0.88), rgba(14, 5, 4, 0.95)) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 106, 0, 0.35) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), inset 0 0 15px rgba(255, 80, 0, 0.1) !important;
    color: #ffb766 !important;
}

.header-info-container .header-info-block .online-count {
    color: #ff8800 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-shadow: 0 0 10px #ff4400, 0 0 20px #ff2200 !important;
}

.webengine-online-bar {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(255, 106, 0, 0.4) !important;
    border-radius: 6px !important;
}

.webengine-online-bar-progress {
    background: linear-gradient(90deg, #ff2200, #ff8800, #ffcc00) !important;
    box-shadow: 0 0 12px #ff5500 !important;
}

/* LOGO STYLING */
.webengine-mu-logo {
    max-width: 520px !important;
    height: auto !important;
    filter: drop-shadow(0 4px 15px rgba(255, 106, 0, 0.4));
    transition: all 0.35s ease;
}

.webengine-mu-logo:hover {
    filter: drop-shadow(0 0 25px rgba(255, 130, 0, 0.75));
    transform: scale(1.02);
}
