/**
 * JR Post to Photocard Maker - Admin Styles
 */

/* Post List Row Action */
.row-actions .jrpcm-create-photocard a {
    color: #2271b1;
}

.row-actions .jrpcm-create-photocard a:hover {
    color: #135e96;
}

/* Settings Page */
.jrpcm-post-types-list {
    max-width: 500px;
    padding: 12px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.jrpcm-post-types-list label {
    cursor: pointer;
    padding: 4px 0;
}

.jrpcm-post-types-list label:hover {
    background: #fff;
    padding-left: 8px;
    margin-left: -8px;
    border-radius: 3px;
}

.jrpcm-post-types-list input[type="checkbox"] {
    margin-right: 8px;
}

.jrpcm-image-field {
    max-width: 500px;
}

.jrpcm-image-preview {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 4px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jrpcm-image-preview img {
    display: block;
    max-width: 100%;
    height: auto;
}

.jrpcm-no-image {
    color: #666;
    font-style: italic;
}

.jrpcm-upload-image-btn {
    margin-right: 8px;
}

.jrpcm-remove-image-btn {
    color: #b32d2e;
}

.jrpcm-remove-image-btn:hover {
    color: #dc3232;
}

.jrpcm-range-input {
    width: 300px;
    vertical-align: middle;
    margin-right: 10px;
}

.jrpcm-range-value {
    display: inline-block;
    min-width: 60px;
    font-weight: 600;
    color: #2271b1;
}

/* Settings Form Table */
.form-table th {
    width: 250px;
}

.form-table td input[type="color"] {
    width: 80px;
    height: 40px;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.form-table td select {
    min-width: 200px;
}