.ultimakit-media-replacement {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.ultimakit-media-replacement h1 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.media-replacement-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.media-preview {
    flex: 1;
    min-width: 300px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
}

.media-preview h2 {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
}

.media-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.media-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border: 1px solid #eee;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.media-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    border-radius: 4px;
    margin-bottom: 15px;
}

.media-info {
    width: 100%;
}

.media-info p {
    margin: 5px 0;
}

.media-replacement-form {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
}

.media-replacement-form h2 {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
}

.form-field {
    margin-bottom: 20px;
}

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

.form-field input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

.form-field .description {
    margin-top: 5px;
    color: #666;
    font-style: italic;
    font-size: 13px;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

.replacement-notice {
    margin-top: 30px;
    padding: 15px;
    background: #f8f8f8;
    border-left: 4px solid #ff0000;
}

.replacement-notice p {
    margin-top: 0;
}

.replacement-notice ul {
    margin-bottom: 0;
}

.selected-file-info {
    margin-top: 10px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 4px;
}

@media screen and (max-width: 782px) {
    .media-replacement-container {
        flex-direction: column;
    }
    
    .media-preview, .media-replacement-form {
        width: 100%;
    }
}