.dante-insert-image-btn {
    cursor: pointer;
}
.dante-insert-image-btn:hover {
    background: var(--ck-color-button-on-background, #e6e6e6);
}

.dante-img-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10010;
    justify-content: center;
    align-items: center;
}

.dante-img-dialog {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 400px;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.dante-img-title {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 10px 14px;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dante-img-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    padding: 0 4px;
}
.dante-img-close:hover {
    color: #000;
}

.dante-img-body {
    padding: 14px;
}

.dante-img-body label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.dante-img-body input,
.dante-img-body select {
    display: block;
    width: 100%;
    margin-top: 3px;
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 13px;
    box-sizing: border-box;
}

.dante-img-body input[readonly] {
    background: #f5f5f5;
    color: #666;
}

.dante-img-row-3 {
    display: flex;
    gap: 10px;
}
.dante-img-row-3 label {
    flex: 1;
}

.dante-img-browse {
    display: block;
    width: 100%;
    margin: 4px 0 12px;
    padding: 8px 14px;
    background: #e4e4e4;
    border: 1px solid #bbb;
    border-radius: 2px;
    cursor: pointer;
    font-size: 13px;
    text-align: center;
    box-sizing: border-box;
}
.dante-img-browse:hover {
    background: #d4d4d4;
}

.dante-img-footer {
    border-top: 1px solid #ddd;
    padding: 10px 14px;
    text-align: right;
}

.dante-img-footer button {
    padding: 8px 24px;
    margin-left: 8px;
    border: 1px solid #bbb;
    border-radius: 2px;
    cursor: pointer;
    font-size: 13px;
}

.dante-img-ok {
    background: #4a8ec2;
    color: #fff;
    border-color: #3a7eb2;
}
.dante-img-ok:hover {
    background: #3a7eb2;
}

.dante-img-cancel {
    background: #e4e4e4;
}
.dante-img-cancel:hover {
    background: #d4d4d4;
}

.dante-img-goto {
    color: #417690;
    margin-left: 4px;
    font-size: 12px;
}

.dante-img-show-credit-label {
    float: right;
    font-size: 12px;
    font-weight: normal;
    color: #666;
}
.dante-img-show-credit-label input {
    width: auto;
    display: inline;
    margin-right: 3px;
}