/* Status Page Specific Styles */

.status-container {
    padding-top: 30px;
    padding-bottom: 50px;
}

/* Header styling to match main site */
.header {
    padding-bottom: 94px;
    text-align: center;
}

.header .container h1 {
    padding-top: 20px;
    text-shadow: 2px 3px 2px rgba(0,0,0,0.3);
    color: #E2E2E2;
    font-size: 48px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: default;
}

.header .container h1 span {
    color: #3994A8;
}

.header .container h2 {
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    font-size: 29px;
    color: #9B9B9B;
    padding-bottom: 30px;
}

.h {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Status Header */
.status-header {
    text-align: center;
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 30px;
}

.status-header h1 {
    font-size: 36px;
    color: #E2E2E2;
    margin-bottom: 10px;
}

.status-header .fa-check-circle {
    color: #28a745;
}

.status-header .fa-exclamation-triangle {
    color: #dc3545;
}

.status-header .fa-wrench {
    color: #ffc107;
}

.status-description {
    color: #9B9B9B;
    font-size: 16px;
}

/* Status indicators in top bar */
.status-online {
    color: #28a745;
    font-weight: bold;
}

.status-offline {
    color: #dc3545;
    font-weight: bold;
}

.status-maintenance {
    color: #ffc107;
    font-weight: bold;
}

/* Notices Section */
.notices-section {
    margin-bottom: 40px;
}

.notices-section h2 {
    color: #E2E2E2;
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #3994A8;
    padding-bottom: 10px;
}

.notice {
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid;
}

.notice-info {
    background: rgba(23, 162, 184, 0.1);
    border-left-color: #17a2b8;
    color: #E2E2E2;
}

.notice-warning {
    background: rgba(255, 193, 7, 0.1);
    border-left-color: #ffc107;
    color: #E2E2E2;
}

.notice-error {
    background: rgba(220, 53, 69, 0.1);
    border-left-color: #dc3545;
    color: #E2E2E2;
}

.notice-success {
    background: rgba(40, 167, 69, 0.1);
    border-left-color: #28a745;
    color: #E2E2E2;
}

.notice h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.notice p {
    margin-bottom: 5px;
}

.notice small {
    color: #9B9B9B;
}

/* Services Section */
.services-section {
    margin-bottom: 40px;
}

.services-section h2 {
    color: #E2E2E2;
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #3994A8;
    padding-bottom: 10px;
}

.no-monitors {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.no-monitors p {
    font-size: 18px;
    color: #9B9B9B;
    margin-bottom: 20px;
}

/* Service Items */
.service-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s ease;
    border-top: 4px solid #D4D4D4;
    opacity: 0.9;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-top-color: #3994A8;
    border-color: #3994A8;
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(57, 148, 168, 0.2);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.service-info h3 {
    color: #E2E2E2;
    font-size: 20px;
    margin: 0;
}

.service-info .fa {
    margin-right: 10px;
}

.service-url {
    color: #9B9B9B;
    font-size: 14px;
    margin: 5px 0 0 0;
}

.service-uptime {
    text-align: right;
}

.uptime-percentage {
    font-size: 24px;
    font-weight: bold;
    color: #3994A8;
    display: block;
}

.uptime-label {
    font-size: 12px;
    color: #9B9B9B;
}

/* Uptime Bars */
.uptime-bars {
    display: flex;
    gap: 2px;
    margin-bottom: 15px;
    height: 30px;
    align-items: end;
}

.uptime-bar {
    flex: 1;
    height: 100%;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.uptime-bar:hover {
    transform: scaleY(1.1);
}

.bar-excellent {
    background: #28a745;
}

.bar-good {
    background: #ffc107;
}

.bar-poor {
    background: #fd7e14;
}

.bar-down {
    background: #dc3545;
}

.service-footer {
    color: #9B9B9B;
    font-size: 12px;
}

/* Statistics Section */
.stats-section {
    margin-bottom: 40px;
}

.stats-section h2 {
    color: #E2E2E2;
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #3994A8;
    padding-bottom: 10px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #D4D4D4;
    transition: all 0.6s ease;
    opacity: 0.9;
}

.stat-card:hover {
    border-top-color: #3994A8;
    opacity: 1;
    transform: translateY(-2px);
}

.stat-card h4 {
    color: #E2E2E2;
    margin-bottom: 15px;
    font-size: 16px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.stat-label {
    color: #9B9B9B;
}

.stat-value {
    color: #3994A8;
    font-weight: bold;
}

/* Admin Panel Styles */
.admin-container {
    padding-top: 30px;
    padding-bottom: 50px;
}

.admin-header {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.admin-header h1 {
    color: #E2E2E2;
    margin-bottom: 10px;
}

.admin-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.admin-section h2 {
    color: #E2E2E2;
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #3994A8;
    padding-bottom: 10px;
}

.form-group label {
    color: #E2E2E2;
    font-weight: normal;
}

.form-control {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #E2E2E2;
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: #3994A8;
    color: #E2E2E2;
    box-shadow: 0 0 0 0.2rem rgba(57, 148, 168, 0.25);
}

.table {
    background: rgba(255, 255, 255, 0.05);
    color: #E2E2E2;
}

.table th {
    border-color: rgba(255, 255, 255, 0.2);
    color: #3994A8;
}

.table td {
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
    color: #212529;
}

/* Login Form */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-container h2 {
    text-align: center;
    color: #E2E2E2;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 767px) {
    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-uptime {
        text-align: left;
        margin-top: 10px;
    }
    
    .uptime-bars {
        height: 20px;
    }
    
    .status-header h1 {
        font-size: 28px;
    }
    
    .admin-section {
        padding: 15px;
    }
}