

/* General Styles */
body {
    background-color: #f6f9fc;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    padding-bottom: 100px;
}

h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

/* Table Container Styling */
.table-container {
    background-color: white;
    border-radius: 0;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    overflow: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 1.2rem;
    white-space: nowrap;
    text-align: left;
}

.table thead th {
    background-color: #2c3e50;
    color: white;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: none;
}

.table tbody tr {
    background-color: white;
    transition: background-color 0.2s ease;
}

.table tbody tr:hover {
    background-color: #f1f4f9;
}

.table td {
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: #5a5a5a;
}

.table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #34495e;
    max-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Status Indicators */
.status-up {
    color: #27ae60;
    font-size: 1.2rem;
    font-weight: bold;
}

.status-down {
    color: #e74c3c;
    font-size: 1.2rem;
    font-weight: bold;
}

.truncate-url {
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 250px;
}

/* Form Styling */
.form-container {
    background-color: white;
    padding: 2rem;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.form-container .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 0;
    width: 100%;
}

.form-label {
    font-weight: bold;
    color: #34495e;
}

.form-control {
    border: 2px solid #ced4da;
    border-radius: 0;
    transition: border-color 0.3s ease;
    padding: 0.8rem;
}

.form-control:focus {
    border-color: #4a90e2;
    box-shadow: none;
}

/* Button Styling */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #4a90e2;
    border-color: #4a90e2;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #357ABD;
    border-color: #357ABD;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

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

.btn-danger:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.action-buttons i {
    margin-right: 0.5rem;
}

/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 1rem 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 0.9rem;
}

footer span {
    font-weight: bold;
}

.navbar .navbar-nav .active {
    color: #4a90e2 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .table-container {
        margin: 1rem;
    }

    .table th,
    .table td {
        padding: 0.75rem;
    }

    .form-control {
        padding: 0.7rem;
    }

    .btn-primary {
        font-size: 1rem;
    }
}