/* Extra small font size, smaller than Bootstrap's .fs-6, only on mobile */
@media (max-width: 576px) {
    .fs-7 {
        font-size: 0.8rem !important;
    }
}
body {
    background-color: #f8f9fa; /* Used in index.php */
}

.hero-section {
    background: linear-gradient(135deg, #ff6200, #ffd700);
    background-size: 200% 200%;
    animation: gradientAnimation 15s ease infinite;
    color: white;
    padding: 100px 0;
    text-align: center;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.feature-section {
    padding: 50px 0;
}

.feature-card {
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.footer {
    background-color: #343a40;
    color: white;
    padding: 20px 0;
    text-align: center;
}

body.gradient-body {
    background: linear-gradient(135deg, #ff6200, #ffd700);
    background-size: 200% 200%;
    animation: gradientAnimation 15s ease infinite;
    min-height: 100vh;

}

.login-card, .register-card {
    max-width: 400px;
    width: 100%;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.login-card .card-header, .register-card .card-header {
    background-color: #343a40;
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 20px;
    text-align: center;
}

.login-card .card-body, .register-card .card-body {
    background-color: white;
    border-radius: 0 0 15px 15px;
    padding: 30px;
}

.register-link, .login-link {
    color: #ff6200;
    text-decoration: none;
    font-weight: 500;
}

.register-link:hover, .login-link:hover {
    text-decoration: underline;
}

.dashboard-card, .page-card {
    max-width: 1200px;
    margin: 2rem auto;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    background-color: white;
}

.dashboard-card .card-header, .page-card .card-header {
    background-color: #343a40;
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 20px;
    text-align: center;
}

.dashboard-card .card-body, .page-card .card-body {
    padding: 30px;
}

.table {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
}

.table th {
    background-color: #f8f9fa;
    color: #343a40;
}

.table tr:hover {
    background-color: #f1f3f5;
}

.status-up {
    color: #28a745;
    font-weight: bold;
}

.status-down {
    color: #dc3545;
    font-weight: bold;
}

.status-inactive {
    color: #6c757d;
    font-weight: bold;
}

.copy-btn.copied {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}