

.new-image-search-btn {
            border: none;
            padding: 10px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            transition: background-color 0.2s;
            color: white;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-decoration: none; /* In case it's an anchor */
        }

        .new-image-search-btn:disabled {
            background-color: #cccccc !important;
            cursor: not-allowed;
        }

        /* Primary Blue (Camera & Search) */
        .new-image-search-btn-primary { 
            background-color: #0056b3; 
        }
        .new-image-search-btn-primary:hover { 
            background-color: #004494; 
        }

        /* Success Green (Cancel) */
        .new-image-search-btn-success {
            background-color: #28a745; 
        }
        .new-image-search-btn-success:hover {
            background-color: #218838;
        }

        /* Danger Red (Remove/Capture) */
        .new-image-search-btn-danger { 
            background-color: #dc3545; 
            color: white;
        }

        /* --- Modal Container Styles --- */
        .new-image-search-overlay {
            display: flex; /* Toggle via JS */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .new-image-search-content {
            background: white;
            width: 90%;
            max-width: 550px;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            font-family: sans-serif;
            box-sizing: border-box;
        }

        /* Header */
        .new-image-search-header {
            padding: 15px 25px;
            border-bottom: 1px solid #dee2e6;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .new-image-search-header h4 {
            margin: 0;
            font-size: 18px;
            color: #333;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .new-image-search-close-btn {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #999;
            transition: color 0.2s;
        }
        .new-image-search-close-btn:hover {
            color: #333;
        }

        /* Body */
        .new-image-search-body {
            padding: 25px;
        }

        /* Camera Option Wrapper */
        .new-image-search-camera-wrapper {
            display: flex;
            justify-content: center;
            margin-bottom: 25px;
        }

        /* Upload Area */
        .new-image-search-drop-zone {
            border: 2px dashed #0056b3;
            background-color: #f8f9fa;
            border-radius: 12px;
            padding: 40px 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }

        .new-image-search-drop-zone:hover {
            background-color: #e9ecef;
            border-color: #004494;
        }

        .new-image-search-drop-zone i {
            font-size: 48px;
            color: #0056b3;
            margin-bottom: 15px;
        }

        .new-image-search-drop-zone h5 {
            font-size: 18px;
            margin: 0 0 5px 0;
            color: #333;
        }

        .new-image-search-drop-zone p {
            font-size: 14px;
            color: #6c757d;
            margin: 0;
        }

        /* Footer */
        .new-image-search-footer {
            padding: 20px 25px;
            border-top: 1px solid #dee2e6;
            display: flex;
            justify-content: flex-end;
            gap: 15px;
        }

        /* Hidden Sections (IDs kept for JS logic, styling localized) */
        #section-camera {
            text-align: center;
            background: #000;
            border-radius: 8px;
            padding: 10px;
            display: none;
        }
        
        #preview-container {
            display: none;
            text-align: center;
            margin-top: 15px;
            position: relative;
        }

        .new-image-search-remove-preview {
            position: absolute;
            top: -10px;
            right: -10px;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        .new-image-search-capture-container {
            text-align: center; 
            margin-top: 10px;
        }