/* Bulk Edit Styles */

/* Selection mode active - hide the image icons */
.bulk-edit-mode .comic .row-icon,
.bulk-edit-mode .comic .no-cover {
    display: none !important;
}

/* Prevent clicking on the gallery link in bulk edit mode */
.bulk-edit-mode .comic .gallery-popup {
    pointer-events: none;
}

/* Prevent text selection during bulk edit mode */
.bulk-edit-mode {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Selection circles */
.bulk-select-circle {
    display: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    margin-left: -13px;
    margin-right: 0px !important;
    margin-top: -3px;
}

.list-content .bulk-edit-mode .comic .bulk-select-circle,
.bulk-edit-mode .comic .bulk-select-circle {
    display: inline-block !important;
    vertical-align: middle;
    text-align: center;
    line-height: 16px;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    border: 1px solid #ddd !important;
    background-color: #f5f5f5 !important;
    cursor: pointer !important;
    /* margin-right: 8px !important; */
}

.list-content .bulk-edit-mode .comic .bulk-select-circle.selected,
.bulk-edit-mode .comic .bulk-select-circle.selected,
span.bulk-select-circle.selected {
    background-color: #3a8cf0 !important;
    background: #3a8cf0 !important;
    border-color: #3a8cf0 !important;
    border: 1px solid #3a8cf0 !important;
}

.bulk-edit-mode .bulk-select-circle.selected::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    display: inline-block;
    margin-left: 15px;
}

/* Bulk edit toolbar */
.bulk-edit-toolbar {
    display: flex;
    background-color: #f9f9f9;
    border-top: 1px solid #ebebeb;
    padding: 10px 15px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 500px;
    width: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    border-radius: 8px 8px 0 0;
}

.bulk-edit-toolbar.active {
    max-height: 100px;
    opacity: 1;
    padding-top: 10px;
    padding-bottom: 10px;
}

.bulk-edit-toolbar .bulk-edit-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.bulk-edit-toolbar .btn-bulk-edit {
    color: #1476ed;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.bulk-edit-toolbar .btn-bulk-edit:hover {
    color: #0e5fc0;
    text-decoration: underline;
}

.bulk-edit-toolbar .btn-bulk-cancel {
    color: #999;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

.bulk-edit-toolbar .btn-bulk-cancel:hover {
    color: #666;
    text-decoration: underline;
}

#modal_bulk_edit .search-error {
    max-width: 100%;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .bulk-select-circle {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }

    .bulk-edit-toolbar {
        padding: 12px;
        bottom: 85px;
    }

    .bulk-edit-toolbar .bulk-edit-actions {
        gap: 12px;
    }
}
/* Bulk edit success notification styles - matching add-success style */
.notifyjs-bulk-edit-success-base {
    background-color: rgba(123, 201, 80, 0.95);
    border: 1px solid #61b036;
    padding: 15px;
    padding-left: 70px;
    color: #fff;
    -webkit-box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
}

.notifyjs-bulk-edit-success-base h3 {
    margin: 0;
    color: #fff;
}

.notifyjs-bulk-edit-success-base h3:after {
    content: '\e007';
    font-family: 'bcb';
    position: absolute;
    top: 10px;
    left: -10px;
    width: 70px;
    height: 70px;
    text-align: center;
    font-size: 60px;
    line-height: 70px;
    background-color: #61b036;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1), -20px 0 20px -15px rgba(0, 0, 0, 0.3);
}

.notifyjs-bulk-edit-success-base .slide {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1px;
    height: 5px;
    background-color: #61b036;
    -webkit-transition: width 2s ease-out;
    -moz-transition: width 2s ease-out;
    -o-transition: width 2s ease-out;
    transition: width 2s ease-out;
}
