.gistmag-atg-button-paragraph {
    margin: 8px 0;
    display: block;
}

.gistmag-atg-button-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    vertical-align: middle;
}

.gistmag-atg-generate-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gistmag-atg-generate-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
}

.gistmag-atg-generate-btn:disabled .dashicons {
    animation: gistmag-spin 1s linear infinite;
}

.gistmag-atg-mode {
    height: 28px;
    padding: 0 8px;
    border-radius: 3px;
    border: 1px solid #8c8f94;
    background: #fff;
}

.gistmag-atg-status {
    font-size: 12px;
    line-height: 1.5;
}

.gistmag-atg-status span {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
}

.gistmag-atg-progress {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px 30px;
    border: 1px solid #c3c4c7;
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
    border-radius: 4px;
    z-index: 100000;
    min-width: 300px;
    max-width: 500px;
}

.gistmag-atg-progress .progress-bar {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.gistmag-atg-progress .progress-fill {
    height: 100%;
    background: #2271b1;
    width: 0%;
    transition: width 0.3s ease;
}

@keyframes gistmag-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.column-gistmag_alt_text {
    width: 200px;
}

.gistmag-bulk-generate-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gistmag-bulk-generate-button .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 1;
}

.gistmag-bulk-generate-button:disabled .dashicons {
    animation: gistmag-spin 1s linear infinite;
}
