body {
background-color: #f8f9fa;
font-family: 'Roboto', sans-serif;
--bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
}

.form-control:focus {
box-shadow: 0 0 0 .25rem rgba(0, 0, 0, 0.25) !important;
border-color: #777777 !important;
}

.page-item .page-link {
background-color: #1d2124 !important;
border: 1px solid black;
}

.page-link {
color: white !important;
}

.dt-button-collection {
background: #343a40 !important;
}

.dt-button.buttons-collection {
background-color: #343a40 !important;
color: white !important;
border-color: #343a40 !important;
}

.dt-button.buttons-collection:hover {
background-color: #23272b !important;
border-color: #1d2124 !important;
}

.dt-button {
background-color: #343a40 !important;
color: white !important;
border-color: #343a40 !important;
}

.dt-button:hover {
background-color: #23272b !important;
border-color: #1d2124 !important;
}

.container {
max-width: 800px;
}

.input-group.searching {
animation: pulse 1s infinite;
box-shadow: 0 0 10px rgba(29, 33, 36, 0.5);
}

@keyframes pulse {
0% {
    transform: scale(1);
}
50% {
    transform: scale(1.05);
}
100% {
    transform: scale(1);
}
}

#subdomain-table thead {
background-color: #007bff;
color: white;
}

#subdomain-table thead th {
    background-color: #212529 !important;
    color: white !important;
}

table.dataTable thead th,
table.dataTable thead tr {
    background-color: #212529 !important;
    color: white !important;
    border-bottom: 1px solid #dee2e6;
}

#subdomain-count {
font-size: 1.2em;
font-weight: bold;
}

.export-dropdown {
position: relative;
display: inline-block;
}

.export-dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
box-shadow: #1d2124;
z-index: 1;
border-radius: 5px;
}

.export-dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}

.export-dropdown-content a:hover {
background-color: #f1f1f1;
}

.export-dropdown:hover .export-dropdown-content {
display: block;
}

#subdomain-table th,
#subdomain-table td {
border: 1px solid #dee2e6;
}

.personal-navbar {
justify-content: flex-start !important;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #343a40;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin: 0 auto;
}

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

.badge {
    display: inline-block;
    padding: 0.25em 0.5em;
    font-size: 90%;
    font-weight: 600;
    border-radius: 0.25rem;
    text-align: center;
    color: white;
}

.badge-active {
    background-color: #4CAF50; /* Material Green */
}

.badge-inactive {
    background-color: #F44336; /* Material Red */
}

.badge-dark {
    background-color: #9E9E9E; /* Material Grey for N/A */
}

.badge-error {
    background-color: #FF5722; /* Material Orange for Error */
}

.badge-primary {
    background-color: #007bff;
    color: white;
}

.badge-dark {
    background-color: #6c757d;
    color: white;
}

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

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

.badge-warning {
    background-color: #ffc107;
    color: black;
}

.badge-dark {
    background-color: #343a40;
    color: white;
}

/* Article Card Styles */
.article-card {
    transition: all 0.3s ease;
    margin: 2rem 0;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card .card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.article-card .card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.article-card .card-title {
    font-weight: 600;
    line-height: 1.4;
}

.article-card .card-text {
    color: #6c757d;
    line-height: 1.6;
}

.article-card .badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.article-card .btn-outline-primary {
    border-radius: 50px;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.article-card .btn-outline-primary:hover {
    transform: translateY(-2px);
}