/* General Styles */
.main-content {
    text-align: center;
    padding: 15px;
}

/* Table Wrapper for Responsiveness */
.table-wrapper {
    overflow-x: auto; /* Allow horizontal scrolling if needed */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
    margin-bottom: 20px;
}

/* Table Styles */
.camera-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto; /* Center the table inside the wrapper */
}

.camera-table th, .camera-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.camera-table th {
    background-color: #f2f2f2;
    color: #333;
}

.camera-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

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

/* Buttons */
.add-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-btn:hover {
    background-color: #45a049;
}

/* Table Responsiveness */
@media (max-width: 768px) {
    .camera-table {
        font-size: 14px; /* Adjust font size for smaller screens */
    }

    .camera-table th, .camera-table td {
        padding: 8px;
    }
}

/* Submit Button */
.detect-btn, .results-btn {
    background-color: #0077ff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.detect-btn:hover, .results-btn:hover {
    background-color: #005fcc;
}

.edit-icon, .delete-icon {
    font-size: 30px;
}

.edit-btn, .delete-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0px 5px;
}

.edit-btn:hover {
    color: #4CAF50;
}

.delete-btn:hover {
    color: #f00;
}

.custom-link {
    color: inherit; /* Inherit color from the parent element */
    text-decoration: none; /* Remove underline */
}
