/* General Container */
.mb-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    min-height: 80vh;
    padding: 10px 20px;
    text-align: center;
    width: 100%;
    max-width: 800px; /* Keeps form manageable on large screens */
    margin: 20px auto;
}

/* Navigation Bar */
.mb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    background: #222;
    border-radius: 5px;
    margin-bottom: 20px;
    width: 100%;
}

.mb-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.mb-nav a:hover {
    background: #444;
}

/* Input fields */
#mb-upload-form label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
}

#mb-upload-form input,
#mb-upload-form select {
    width: 90%;
    padding: 8px;
    margin-top: 5px;
    margin-right: 3px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
/* Input fields */
#mb-edit-form label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
}

#mb-edit-form input,
#mb-edit-form select {
    width: 90%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
/* Upload button */
#mb-submit-button {
    display: block;
    width: auto;
    max-width: 250px;
    margin: 20px auto;
}

#mb-submit-button:hover {
    background: #388e3c;
}
/* Upload List */
.mb-upload-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    width: 100%;
} 

/* Login Box */
.mb-login-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
    margin: auto;
}

.mb-login-box h2 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #333;
    font-weight: bold;
    text-align: center;
}

.mb-login-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

/* Login Buttons */
.mb-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.mb-login-btn {
    display: block;
    padding: 12px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    transition: background 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.mb-login-btn.google {
    background: #db4437;
}

.mb-login-btn.google:hover {
    background: #c1351d;
}

.mb-login-btn.facebook {
    background: #4267B2;
}

.mb-login-btn.facebook:hover {
    background: #365899;
}

/* Styled List */
.mb-login-box ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
    margin: 15px 0;
}

.mb-login-box ul li {
    background: url('/assets/svg/greencheckmark.svg') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .mb-container {
        width: 90%;
        padding: 10px;
    }
    .mb-login-box {
        padding: 20px;
    }
    .mb-login-btn {
        font-size: 14px;
        padding: 10px;
    }
    .mb-nav {
        flex-direction: column;
        gap: 10px;
    }
    .mb-nav a {
        padding: 8px 12px;
    }
    #mb-upload-form {
        padding: 15px;
    }
    #mb-edit-form {
        padding: 15px;
    }
}
@media (max-width: 768px) {
    #mb-edit-form input,
    #mb-edit-form select,
    #mb-edit-form button,
    #mb-edit-form label {
        font-size: 16px;
        padding: 10px;
    }

    #mb-edit-form {
        padding: 15px;
    }

    .mb-game-option {
        font-size: 14px;
    }

    .mb-button {
        font-size: 15px;
        padding: 12px 18px;
    }
}
/* Override width for date picker */
#mb-date-taken {
    width: auto; /* Prevents it from stretching */
    max-width: 250px; /* Ensures it matches other elements */
    min-width: 150px; /* Prevents it from being too small */
    text-align: center; /* Centers text inside */
}

/* If the date picker is inside a flexbox container */
.mb-form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Mobile adjustment */
@media (max-width: 600px) {
    #mb-date-taken {
        width: 100%; /* Makes it full-width on small screens */
    }
}
/* Main Viewer Container */
.myb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Background Viewer */
.myb-viewer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 3 / 2;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
    overflow: hidden;
}

/* Camo Overlay */
#myb-camo-overlay {
    position: absolute;
   /* width: 100%; */
    height: 70%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

/* Ensure alignment */
.myb-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

/* Adjust dropdown width */
.myb-controls select {
    width: auto;
    min-width: 150px; /* Prevents them from becoming too small */
    max-width: 250px; /* Prevents excessive stretching */
    padding: 5px;
    font-size: 16px;
}

/* Ensure the resize container is flexible */
.myb-resize {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between elements */
    text-align: center;
    margin-top: 10px;
}

#myb-resize-camo {
    width: 150px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .myb-controls {
        flex-direction: column;
        align-items: center;
    }

    .myb-controls select {
        width: 90%; /* Allows dropdowns to fit smaller screens */
        max-width: none;
    }

    .myb-viewer {
        aspect-ratio: 16 / 9; /* Adjusted for mobile */
    }

    #myb-resize-camo {
        flex-direction: column;
    }
    .myb-resize button {
        width: 80%;
    }    
    .myb-nav {
        gap: 10px;
    }
    .myb-nav a {
        width: 40px;
        height: 40px;
        background: none; /* Remove button background */
        padding: 5px;
    }

    .myb-nav a span {
        display: none; /* Hide text */
    }

    .myb-nav a img {
        display: inline-block; /* Show SVGs */
        width: 30px;
        height: 30px;
    }
    .myb-nav a::after {
        font-size: 10px;
        bottom: -25px; /* Adjust tooltip position */
    }
/* Ensure tooltips show properly */
    .myb-nav a[data-tooltip]::after {
        font-size: 12px;
        bottom: -25px; /* Adjust tooltip position */
    }
}
.myb-nav a span {
    display: inline-block;
}
.myb-nav a img {
    display: none; /* Hide SVGs on larger screens */
}
.myb-nav a:hover img {
    transform: scale(1.1); /* Subtle hover effect */
}
.myb-nav a svg path {
    stroke-width: 1.5; /* Ensure stroke is not too thick */
}
/* Show tooltips only when SVGs are visible */
.myb-nav a[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 12px;
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
}
.myb-nav a:hover[data-tooltip]::after {
    opacity: 1;
    visibility: visible;
}
    /* Adjust tooltip position */
.myb-nav a::after {
    font-size: 10px;
    bottom: -25px; /* Slightly reduce gap */
}


@media (max-width: 1100px) {
    .myb-viewer {
        max-width: 100%;
        aspect-ratio: 16 / 9;
    }
}
/* Deer Vision Filter */
.myb-deer-vision {
    filter: url(#protanopia) blur(2px);
}

/* Apply deer vision filter */
.myb-viewer.myb-deer-vision {
    filter: url(#protanopia) blur(1px);
}

/* Ensure camo overlay is also affected */
.myb-viewer.myb-deer-vision #myb-camo-overlay {
    filter: url(#protanopia) blur(1px);
}
#myb-toggle-deer-vision {
    display: inline-block;
    margin: 5px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: #019c06; /* Green */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

#myb-toggle-deer-vision:hover {
    background-color: #8d8e38; /* Darker green */
}

#myb-toggle-deer-vision:active {
    background-color: #ff0000;
}

.myb-deer-vision #myb-toggle-deer-vision {
    background-color: #ff0000; /* Red when active */
}
.mybg-container h2 {
    text-align: center;
    font-size: 1.8em; /* Adjust size if needed */
    margin-bottom: 15px;
}
/* Ensure the label and slider stay together */
.myb-resize label {
    white-space: nowrap;
    margin-right: 5px;
}

.myb-resize input[type="range"] {
    flex-grow: 1; /* Allow the slider to expand */
    max-width: 200px;
}

/* Ensure the button aligns properly */
.myb-resize button {
    flex-shrink: 0; /* Prevents the button from shrinking */
    padding: 6px 12px;
    font-size: 0.9em;
}
/* Navigation Bar */
.myb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 10px 0;
}


.myb-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    background-color: #333;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
    position: relative;
}

.myb-nav a:hover {
    background: #444;
}
/* Ensure environment description does not stretch form */
#mb-env-description {
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 8px;
    border-radius: 5px;
    font-size: 14px;
    color: #ff0000;
    min-height: 40px; /* Prevents resizing effect */
    max-width: 90%;
    overflow-wrap: break-word;
}
/* Make legend visible but not intrusive */
.mb-game-checkboxes legend {
    font-weight: bold;
    font-size: 14px;
    padding: 0 5px;
    color: #fff; /* ✅ White text to match other labels */
    background: none;
    position: relative; /* Remove absolute positioning */
}
/* Game selection container */
.mb-game-checkboxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns for larger screens */
    gap: 10px;
    justify-content: center;
}
/* Styled checkboxes in a button-like appearance */
/* Fix checkboxes being misaligned or unclickable */
.mb-game-checkboxes label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}



/* Highlight on hover */
.mb-game-option:hover {
    background: rgba(255, 255, 255, 0.2); /* ✅ Light hover effect */
}
/* Individual checkbox option */
.mb-game-option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 14px;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}
.mb-game-option {
    border: 1px dashed red;
}
/* Improve checkbox appearance */
.mb-game-option input[type="checkbox"] {
    appearance: none;
  min-width: 20px;
  max-width: 20px;
  min-height: 20px;
  max-height: 20px;
  background-color: white;
  border: 2px solid #4caf50;
  border-radius: 4px;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}
.mb-game-option input[type="checkbox"]:checked::before {
    content: "✔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* ✅ Perfectly center ✔ */
    font-size: 14px;
    color: #4caf50;
    pointer-events: none;
}
/* Properly align checkboxes */
/* Ensure the checkboxes and labels align nicely */
.mb-game-option input {
    position: relative;
    z-index: 2;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .mb-game-checkboxes {
        grid-template-columns: repeat(2, 1fr); /* Two columns for smaller screens */

    }
    
    .mb-game-option {
        flex: 1 1 calc(50% - 8px); /* Ensures a two-column layout on smaller screens */
        justify-content: flex-start;
    }
}
/* Single column on extra small screens */
@media (max-width: 480px) {
    .mb-game-checkboxes {
        grid-template-columns: repeat(1, 1fr);
    }
    #mb-country, #mb-state, #mb-region, #mb-environment {
        width: 100%;
        min-width: unset; /* ← remove fixed width */
    }
}
#myb-background {
    width: 100%; /* Ensures the image always fits the container */
    height: auto; /* Maintains aspect ratio */
    object-fit: contain; /* Ensures the whole image is visible */
    max-width: 100%;
}
.mb-index-links-container {
    text-align: center;
    margin: 10px auto;
    padding: 20px;
    max-width: 600px;
  }
  
  .mb-section-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }
  
  .mb-link-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
.mb-button {
    background-color: #1976d2; /* Blue background for general buttons */
    color: white;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    text-decoration: none; /* Remove underline on links */
    text-align: center;
    display: inline-block;
}

.mb-button:hover {
    background-color: #1565c0; /* Darker blue on hover */
}

.mb-button:active {
    background-color: #0d47a1; /* Even darker blue when clicked */
}

/* Red style for delete button */
.mb-button.delete {
    background-color: #d32f2f;
}

.mb-button.delete:hover {
    background-color: #b71c1c;
}

.mb-button.delete:active {
    background-color: #a21313;
}

.mb-button.delete:disabled {
    background-color: #888;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Style the info icon */
.info-icon {
    width: 18px;
    height: 18px;
    margin-left: 5px;
    cursor: pointer;
    vertical-align: middle;
}

/* Region Popup */
.region-popup {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 300px;
    text-align: center;
}

/* Show popup when active */
.region-popup.active {
    display: block;
}
/* Ensure the SVG has a proper size */
.region-popup img {
    width: 100%; /* Scales with container */
    max-width: 300px; /* Prevents it from being too large */
    height: auto; /* Maintains aspect ratio */
    display: block; /* Ensures it takes up space */
}
/* Fix for Select2 dropdown visibility */
.select2-container--default .select2-selection--multiple {
    background-color: #fff !important; /* Ensure a white background */
    border: 1px solid #ccc !important;
    color: #333 !important; /* Darker text for visibility */
}

/* Ensure dropdown text is visible */
.select2-container--default .select2-results__option {
    color: #333 !important; /* Dark text */
    background-color: #fff !important; /* White background */
}

/* Highlight selected options properly */
.select2-container--default .select2-results__option--highlighted {
    background-color: #4CAF50 !important; /* Green highlight */
    color: white !important;
}

/* Ensure dropdown menu has a visible background */
.select2-dropdown {
    background-color: #fff !important;
    border: 1px solid #ccc !important;
}

/* Override any inherited transparency issues */
.select2-container {
    z-index: 9999; /* Ensures it appears above other elements */
}
/* Stack checkbox and label text */
#mb-share-community {
    display: inline-block;
    margin-right: 8px;
    cursor: pointer;
}

/* Ensure the label stacks text below */
#mb-share-community + label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
/* Ensure dropdowns adjust based on content */
#mb-country, #mb-state, #mb-region, #mb-environment {
    width: auto; /* Allows dropdown to size according to content */
    min-width: 200px; /* Prevents dropdown from being too small */
    max-width: 100%; /* Ensures it doesn’t overflow on large screens */
}

/* Make dropdowns full-width on smaller screens */
@media (max-width: 768px) {
    #mb-country, #mb-state, #mb-region, #mb-environment {
        width: 100%; /* Full width on small screens */
    }
}
#mb-progress-container {
    display: block !important; /* ✅ Force it to appear */
    width: 100%;
    text-align: center;
    margin-top: 15px;
    visibility: visible !important;
    opacity: 1 !important;
}

#mb-upload-progress {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background-color: #ddd;
}

#mb-progress-text {
    display: block;
    margin-top: 5px;
    font-weight: bold;
}
/* === MyDVTool Styling Consistent with MyBGTool === */

.mb-toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Target only <select> and buttons inside toolbar that aren't .mb-button */
.mb-toolbar select,
.mb-toolbar .mb-toolbar-button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mb-toolbar .mb-toolbar-button:hover {
    background-color: #e0e0e0;
}

.mb-image-viewer {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

#mb-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    transition: filter 0.3s ease;
}

.mb-metadata {
    color: #000;
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.mb-metadata p {
    margin: 0.5rem 0;
}

.mb-metadata strong a {
    text-decoration: none;
    color: #2c3e50;
}

.mb-metadata a {
    color: #0055aa;           /* Richer blue for contrast */
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.mb-metadata a:hover {
    color: #cc0000;           /* Red on hover to match action theme */
}

@media (max-width: 600px) {
    .mb-toolbar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .mb-metadata {
        font-size: 0.95rem;
    }
}
.mb-icon {
    width: 14px;
    height: 14px;
    margin-left: 4px;
    vertical-align: text-bottom;
    fill: currentColor;
    opacity: 0.7;
}
.mb-green-button {
    background-color: #3a6e3a;
    color: white;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    transition: background-color 0.3s ease;
}

.mb-green-button:hover {
    background-color: #2f5d2f;
}
.mb-toolbar .mb-green-button {
    background-color: #3a6e3a !important;
    color: white !important;
    font-weight: bold;
}

.mb-toolbar .mb-green-button:hover {
    background-color: #2f5d2f !important;
}
.mb-toolbar #mb-toggle-deer {
    background-color: #ffcd60 !important;
    color: white !important;
    font-weight: bold;
}

.mb-toolbar #mb-toggle-deer:hover {
    background-color: #b93c3c !important;
}
.mb-link-buttons a img {
    border: 2px solid transparent;
    border-radius: 6px;
    transition: transform 0.3s ease, border-color 0.3s ease;
  }
  
  .mb-link-buttons a:hover img {
    transform: scale(1.05);
    border-color: #cc0000; /* red border on hover */
  }
  
  /* Description below the image links */
  .mb-index-description {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.5;
    color: #e2e2e2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  
  .mb-index-description p {
    margin-bottom: 12px;
  }
  .mb-index-description a {
    color: #cc0000;
    text-decoration: none;
    font-weight: bold;
  }
  
  .mb-index-description a:hover {
    text-decoration: underline;
  }
  .public-approved {
    color: #00cc00; /* bright green */
    font-weight: bold;
}

.private {
    color: #ff8800; /* orange-ish for private */
    font-weight: bold;
}

.expired {
    color: #cc0000; /* red */
    font-weight: bold;
}
.mb-info-note {
    text-align: center;
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 20px;
}
/* ✅ Tighten the private uploads grid */
.mb-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 10px;
}

/* ✅ Each thumbnail item */
.mb-upload-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* ✅ Thumbnail image itself */
.mb-thumbnail {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

/* ✅ Upload info (dates) */
.mb-upload-info {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

/* ✅ Upload actions (buttons) */
.mb-upload-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ✅ Individual buttons */
.mb-upload-actions .mb-button {
    display: inline-block;
    padding: 8px 12px;
    background-color: #d14124;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
    cursor: pointer;
}

.mb-upload-actions .mb-button:hover {
    background-color: #b23219;
}

/* ✅ Mobile Adjustment */
@media (max-width: 600px) {
    .mb-upload-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}
.mb-index-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.mb-index-upload-button {
    display: inline-block;
    background-color: #007b4b;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1.2em;
    text-decoration: none;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

.mb-index-upload-button:hover {
    background-color: #005f35;
}

.mb-index-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #e2e2e2; /* ✅ Now matches your dark background */
}
.mb-myuploads-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.mb-myuploads-card {
    background-color: #333;
    border: 1px solid #555;
    border-radius: 10px;
    padding: 20px;
    width: 280px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.mb-myuploads-card h2 {
    margin-bottom: 10px;
    color: #ffcc00;
}

.mb-myuploads-card p {
    margin: 8px 0;
    color: #ccc;
}

@media (max-width: 768px) {
    .mb-myuploads-grid {
        flex-direction: column;
        align-items: center;
    }
}
.mb-upload-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.mb-badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
}

.mb-badge.public {
    background-color: #4caf50; /* Green for Public */
    color: white;
}

.mb-badge.private {
    background-color: #ff9800; /* Orange for Private */
    color: white;
}

.mb-upload-note {
    margin-top: 12px;
    font-size: 0.9em;
    color: #aaa;
}
#myb-camo-overlay {
    cursor: grab;
}

#myb-camo-overlay:active {
    cursor: grabbing;
}
#myb-camo-overlay {
    touch-action: none;
}