/* Add these styles to the existing CSS file */

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    background-color: #6c757d;
    color: #fff;
    margin-left: 0.5rem;
}

.badge-expired {
    background-color: #dc3545;
}

/* Date filter */
.date-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.date-filter label {
    margin-bottom: 0;
}

.date-filter input {
    width: auto;
}

/* Chart container */
.chart-container {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    position: relative;
    height: 300px;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.pagination .btn.active {
    background-color: #007bff;
    color: #fff;
}

/* Password form */
.password-form {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Bulk create form */
.bulk-create textarea {
    min-height: 200px;
    font-family: monospace;
}

/* API documentation */
.api-endpoint {
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 1rem;
    margin-bottom: 1rem;
}

.api-method {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: #007bff;
    color: #fff;
    border-radius: 3px;
    font-weight: 600;
    margin-right: 0.5rem;
}
/* Auth forms */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 0;
}

.auth-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.auth-form h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links p {
    margin: 0.5rem 0;
}

/* Settings */
.settings-sections {
    display: grid;
    gap: 2rem;
}

.settings-section {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.settings-section h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.api-key-container {
    display: flex;
    gap: 0.5rem;
}

.api-key-container input {
    flex: 1;
}

/* Footer enhancements */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #495057;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .auth-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .settings-section {
        padding: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
/* Responsive tables */
 @media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
    }
    
    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Password form and error pages */
.password-form, .error-page {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.password-form {
    text-align: left;
}

.error-page h2 {
    color: #dc3545;
    margin-bottom: 15px;
}

.error-page p {
    margin-bottom: 20px;
    color: #6c757d;
}
/* Copy button styles */
.copy-btn {
    background: #4a6cf7;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: #3a5cd8;
}

.copy-btn.copied {
    background: #28a745;
}

/* URL container */
.url-container {
    display: flex;
    margin: 1rem 0;
}

.url-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}
}