.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {

    vertical-align: middle;
}

.pac-container {
    z-index: 10000 !important;
}

.main-footer {
    padding: 5px 15px;
}
.text-dark {
    color: #444;
}
.callout-gray {
    background-color: #EEE;
    border-left: 5px solid #DDD;
}
.callout-gray a {
    color: #333;

}
.callout-gray a:hover {
    color: #444;

}

@media (min-width: 767px) {
    .modal-dialog {
        width: 760px;
    }
}

.notopborder {border-top: 0px!important;}

.whitetext {color: #FFF;}

.dt-margin{
    margin-left:0px !important;
    margin-right:0px !important;
}

.todo-list {
    min-height: 40px;
}


.no-sort::after { display: none!important; }

.no-sort { pointer-events: none!important; cursor: default!important; }

.timeline-item {
    background-color: #fff!important;
    border: 1px solid #f1f1f1!important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.timeline-image {

    left: 16px;
    position: absolute;
    top: 0;
}

.chart-legend ul {
    list-style-type: none;
}

.chart-legend li span{
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-top:4px;
    margin-right: 5px;
    border-radius:50%;
}




.fullboby-bg {
  background: url(../assets/bg2.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.fullboby-bg a {
    color: #FFF;
}

.fullboby-bg .login-logo {
    color: #FFF;
}

.roles h4 {
    padding-top: 12px;
    padding-bottom: 0px;
    margin-bottom: 0px;

}

.dt-buttons {
    margin-left: -15px;
}

.dt-buttons .btn-default {
    background-color: #FFF;
    padding: 3px 6px;
    font-size: 12px;
    border-radius: 0px;
}

table.dataTable {
    max-width: 100% !important;
}

canvas {
    z-index: 999999;
}

.chart {
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
}


.fileinput{
    padding-top: 5px;
    padding-bottom: 5px;
}

.datepicker {
    z-index:9999 !important;
}

td .btn-group {
  display: flex;
}


.label-lite-blue {
    background-color:#FFF;
    color:#0073b7;
    border:1px solid #0073b7;
}

.label-lite-green {
    background-color:#FFF;
    color:#00a65a;
    border:1px solid #00a65a;
}

.label-lite-yellow {
    background-color:#FFF;
    color:#f39c12;
    border:1px solid #f39c12;
}

.label-lite-purple {
    background-color:#FFF;
    color:#605ca8;
    border:1px solid #605ca8;
}

.label-lite-red {
    background-color:#FFF;
    color:#dd4b39;
    border:1px solid #dd4b39;
}

.label-lite-gray {
    background-color:#FFF;
    color:#000;
    border:1px solid #d2d6de;
}


.spacer { margin:0; padding:0; height:50px; }

.callout.callout-ok {
  border-right:1px solid #00733e;
  border-top:1px solid #00733e;
  border-bottom:1px solid #00733e;
  border-color: #00733e;
  background-color:#FFF;
}

.callout.callout-ok h4 {
    margin-bottom: 3px;
}

/* Maintenance Announcements - Timeline Layout */
.maintenance-timeline-container {
    position: relative;
    padding-left: 30px;
}

.maintenance-timeline-container::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e3e3e3;
}

.timeline-item-maintenance {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.timeline-marker {
    position: absolute;
    left: -33px;
    top: 0;
    z-index: 2;
}

.marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 3px solid white;
}

.marker.completed {
    background: #28a745;
}

.marker.active {
    background: #ffc107;
    animation: pulse 2s infinite;
}

.marker.planned {
    background: #17a2b8;
}

.marker.cancelled {
    background: #dc3545;
}

.timeline-content {
    flex: 1;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-left: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e3e3e3;
}

.timeline-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
}

.timeline-title i {
    margin-right: 8px;
    color: #666;
}

.timeline-status {
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.completed {
    background: #28a745;
    color: white;
}

.status-badge.active {
    background: #ffc107;
    color: #212529;
}

.status-badge.planned {
    background: #17a2b8;
    color: white;
}

.status-badge.cancelled {
    background: #dc3545;
    color: white;
}

.timeline-body {
    padding: 20px;
}

.timeline-datetime {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.timeline-message {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

.timeline-message.completed {
    color: #28a745;
    font-weight: 500;
}

.timeline-message.active {
    color: #ffc107;
    font-weight: 500;
}

.timeline-message.planned {
    color: #555;
}

.timeline-message.cancelled {
    color: #dc3545;
    font-weight: 500;
}

.timeline-details {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    width: 16px;
    text-align: center;
    font-size: 12px;
}

.detail-item span {
    color: #555;
}

/* Animation for active maintenance */
.marker.active i {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .maintenance-timeline-container {
        padding-left: 20px;
    }
    
    .maintenance-timeline-container::before {
        left: 10px;
    }
    
    .timeline-marker {
        left: -15px;
    }
    
    .marker {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .timeline-status {
        align-self: flex-end;
    }
    
    .timeline-content {
        margin-left: 15px;
    }
}

/* Enhanced Public Page Styles */
.content-header h1 {
    color: #2c3e50;
    font-weight: 300;
    margin-bottom: 10px;
}

.content-header h1 i {
    margin-right: 10px;
    color: #3498db;
}

/* Logo styling for public page */
.logo-container {
    margin-bottom: 15px;
}

.page-logo {
    max-height: 80px;
    max-width: 300px;
    height: auto;
    width: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.page-logo:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .page-logo {
        max-height: 60px;
        max-width: 200px;
    }
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb > li + li:before {
    color: #95a5a6;
}

.breadcrumb > .active {
    color: #7f8c8d;
}

.box {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: none;
    margin-bottom: 25px;
}

.box-header {
    border-radius: 8px 8px 0 0;
    border-bottom: 2px solid #ecf0f1;
}

.box-title {
    font-weight: 600;
    color: #2c3e50;
}

.box-title i {
    margin-right: 8px;
}

.box-tools .label {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
}

.table {
    border-radius: 6px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

.callout {
    border-radius: 6px;
    border-left: 4px solid;
}

.callout-info {
    background-color: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

.main-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    border-top: 3px solid #3498db;
}

.main-footer .row {
    align-items: center;
}

.main-footer i {
    margin-right: 5px;
    color: #3498db;
}

/* Status indicators enhancement */
.fa-circle.text-green {
    color: #27ae60 !important;
    text-shadow: 0 0 5px rgba(39, 174, 96, 0.3);
}

.fa-circle.text-yellow {
    color: #f39c12 !important;
    text-shadow: 0 0 5px rgba(243, 156, 18, 0.3);
}

.fa-circle.text-red {
    color: #e74c3c !important;
    text-shadow: 0 0 5px rgba(231, 76, 60, 0.3);
}

.fa-circle.text-gray {
    color: #95a5a6 !important;
    text-shadow: 0 0 5px rgba(149, 165, 166, 0.3);
}

/* Donut charts enhancement */
.donut {
    transition: transform 0.3s ease;
}

.donut:hover {
    transform: scale(1.1);
}

/* DataTables enhancement */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 15px;
}

.dataTables_wrapper .dataTables_info {
    padding-top: 15px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 4px;
    margin: 0 2px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #3498db;
    border-color: #3498db;
    color: white !important;
}

/* Alert enhancements */
.alert {
    border-radius: 6px;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Tab Navigation Styles */
.nav-tabs {
    border-bottom: 2px solid #3498db;
    margin-bottom: 20px;
}

.nav-tabs > li > a {
    border: none;
    border-radius: 6px 6px 0 0;
    margin-right: 5px;
    color: #555;
    font-weight: 500;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.nav-tabs > li > a:hover {
    background-color: #f8f9fa;
    border-color: transparent;
    color: #3498db;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    background-color: #3498db;
    border-color: #3498db;
    color: white;
    font-weight: 600;
}

.nav-tabs > li > a i {
    margin-right: 8px;
}

/* Tab Content Styles */
.tab-content {
    padding-top: 20px;
}

.tab-pane {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Empty state styling */
.box-default .box-body.text-center {
    padding: 40px 20px;
}

.box-default .box-body.text-center i {
    margin-bottom: 15px;
    opacity: 0.5;
}

.box-default .box-body.text-center h3 {
    margin-bottom: 10px;
    font-weight: 300;
}

.box-default .box-body.text-center p {
    font-size: 14px;
    line-height: 1.6;
}
