/**
 * Yoast Bulk Update Admin CSS
 */

.ybu-container {
    margin-top: 20px;
}

.ybu-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}

.ybu-card h2 {
    margin-top: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.ybu-card-content {
    margin-top: 15px;
}

.ybu-form-group {
    margin-bottom: 15px;
}

.ybu-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.ybu-form-group input[type="file"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.ybu-form-group .description {
    margin-top: 5px;
    color: #666;
    font-style: italic;
}

.ybu-checkbox-group {
    margin-top: 5px;
}

.ybu-checkbox-group label {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 8px;
    font-weight: normal;
}

.ybu-progress {
    margin: 20px 0;
}

.ybu-progress-message {
    margin-bottom: 10px;
    font-weight: 600;
}

.ybu-progress-bar {
    height: 20px;
    background-color: #f1f1f1;
    border-radius: 10px;
    overflow: hidden;
}

.ybu-progress-bar-inner {
    height: 100%;
    background-color: #0073aa;
    width: 0;
    transition: width 0.3s ease;
}

.ybu-results {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.ybu-results h3 {
    margin-top: 0;
}

.ybu-success {
    color: #46b450;
}

.ybu-error {
    color: #dc3232;
}

.ybu-warning {
    color: #ffb900;
}

pre {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 3px;
    overflow-x: auto;
    font-size: 12px;
    line-height: 1.5;
    color: #444;
    border: 1px solid #e5e5e5;
}

@media screen and (min-width: 783px) {
    .ybu-container {
        display: flex;
        flex-wrap: wrap;
        margin-right: -10px;
        margin-left: -10px;
    }
    
    .ybu-card {
        flex: 0 0 calc(50% - 20px);
        margin-left: 10px;
        margin-right: 10px;
        box-sizing: border-box;
    }
    
    .ybu-card:first-child,
    .ybu-card:nth-child(2) {
        flex: 0 0 calc(100% - 20px);
    }
}

@media screen and (max-width: 782px) {
    .ybu-card {
        padding: 15px;
    }
}