/*!
    
 =========================================================
 * 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: #2A2A2A;
	border: 1px solid #444444;
	color: #FFFFFF;
}
.form-control:focus {
	border: 1px solid #00CC99;
}

/* 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: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: #FF9900;
}

.btn-primary {
    color: #FF9900;
    background-color: transparent;
	border-color: #FF9900;
	-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: #1A1A1A !important;
    background-color: #FF9900 !important;
	border-color: #FF9900 !important;
}

.form-horizontal .control-label {
	text-align: left !important;
}

/* ========================================
   BOOTSTRAP TABLE DARK THEME OVERRIDES WITH GLASSMORPHISM
   Fixes visibility issues on INFO page and other Bootstrap tables
   ======================================== */

/* Base table styling */
.table {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.1);
}

/* Table cells - ensure semi-transparent background and white text */
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    background-color: transparent;
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.1);
}

/* Table headers - teal accent with semi-transparent background */
.table > thead > tr > th {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    color: #00CC99;
    font-weight: bold;
    border-bottom: 2px solid #00CC99;
}

/* Striped rows - alternating semi-transparent backgrounds */
.table-striped > tbody > tr:nth-of-type(odd) {
    background: rgba(42, 42, 42, 0.3);
}

.table-striped > tbody > tr:nth-of-type(even) {
    background: rgba(26, 26, 26, 0.4);
}

.table-striped > tbody > tr:nth-of-type(odd) > td,
.table-striped > tbody > tr:nth-of-type(odd) > th {
    background-color: transparent;
}

.table-striped > tbody > tr:nth-of-type(even) > td,
.table-striped > tbody > tr:nth-of-type(even) > th {
    background-color: transparent;
}

/* Hover effect - lighter semi-transparent background on hover */
.table-hover > tbody > tr:hover {
    background: rgba(51, 51, 51, 0.5);
    backdrop-filter: blur(5px);
}

.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
    background-color: transparent;
    color: #FFFFFF;
}

/* Bordered tables - glassmorphism borders */
.table-bordered {
    border: 1px solid rgba(255,255,255,0.1);
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border: 1px solid rgba(255,255,255,0.1);
}

/* Condensed table padding */
.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
    padding: 8px;
}

/* Text alignment helpers - ensure they work with dark theme */
.table .text-center {
    text-align: center;
}

.table .text-left {
    text-align: left;
}

.table .text-right {
    text-align: right;
}

/* Responsive table wrapper */
.table-responsive {
    border: 1px solid rgba(255,255,255,0.1);
}

/* Active/selected row state */
.table > tbody > tr.active > td,
.table > tbody > tr.active > th {
    background: rgba(51, 51, 51, 0.5);
    backdrop-filter: blur(5px);
}

/* Success, info, warning, danger row states with glassmorphism */
.table > tbody > tr.success > td {
    background: rgba(26, 58, 26, 0.5);
    backdrop-filter: blur(5px);
    color: #FFFFFF;
}

.table > tbody > tr.info > td {
    background: rgba(26, 42, 58, 0.5);
    backdrop-filter: blur(5px);
    color: #FFFFFF;
}

.table > tbody > tr.warning > td {
    background: rgba(58, 58, 26, 0.5);
    backdrop-filter: blur(5px);
    color: #FFFFFF;
}

.table > tbody > tr.danger > td {
    background: rgba(58, 26, 26, 0.5);
    backdrop-filter: blur(5px);
    color: #FFFFFF;
}