/* Satisfactory Admin Dashboard Styles */

:root {
    --satisfactory-orange: #f5a623;
    --satisfactory-dark: #1a1a2e;
    --satisfactory-darker: #16162a;
}

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--satisfactory-darker) 0%, var(--satisfactory-dark) 100%);
}

.login-card {
    width: 100%;
    max-width: 420px;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-weight: 600;
}

/* Cards */
.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

/* Status indicators */
.status-online {
    color: #28a745;
}

.status-offline {
    color: #dc3545;
}

.status-loading {
    color: #ffc107;
}

/* Tables */
.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* Buttons */
.btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
}

/* Progress bars */
.progress {
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Forms */
.form-control:focus,
.form-check-input:focus {
    border-color: var(--satisfactory-orange);
    box-shadow: 0 0 0 0.25rem rgba(245, 166, 35, 0.25);
}

.form-check-input:checked {
    background-color: var(--satisfactory-orange);
    border-color: var(--satisfactory-orange);
}

/* Alerts */
.alert {
    border: none;
    border-radius: 0.5rem;
}

/* Badges */
.badge {
    font-weight: 500;
}

/* Console styles */
.console-output {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .display-1 {
        font-size: 3rem;
    }

    .display-3 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 1.5rem;
    }

    .card-body {
        padding: 1rem;
    }

    .btn-group {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .btn-group .btn {
        border-radius: 0.25rem !important;
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--satisfactory-darker);
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Modal styling */
.modal-content {
    border: none;
    border-radius: 0.75rem;
}

.modal-header {
    border-radius: 0.75rem 0.75rem 0 0;
}

/* Table row hover */
.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Empty state styling */
.text-center.py-5 i {
    opacity: 0.3;
}

/* Form switches */
.form-switch .form-check-input {
    width: 3em;
    height: 1.5em;
}

/* Input group styling */
.input-group-text {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}
