.preview-section {
    margin: 20px 0;
}

.image-preview {
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(205, 140, 140, 0.1);
}

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

.help-text {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.3;
}

.help-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.help-text a:hover {
    text-decoration: underline;
}

/* API Config Styles */
.api-config {
    padding: 12px;
    background: var(--background-primary);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.api-config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 8px;
}

.api-config .form-group {
    margin-bottom: 0;
}

.api-config .form-label {
    font-size: 12px;
    margin-bottom: 2px;
}

.api-config .form-control {
    padding: 6px 8px;
    font-size: 13px;
}

.api-config .help-text {
    margin-top: 4px;
    font-size: 11px;
}

.api-config .input-group .form-control {
    padding-right: 32px;
}

.api-config .toggle-password {
    right: 4px;
}

.api-config .toggle-password .eye-icon {
    width: 16px;
    height: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.image-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-section {
    width: 100%;
    margin-top: 4px;
}

.image-preview img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #eee;
}

.card.full-width {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.two-column-layout {
    display: grid;
    grid-template-columns: minmax(400px, 25%) 1fr;
    gap: 2rem;
    height: 100%;
    width: 100%;
}

.left-column {
    position: relative;
    height: 100vh;
    overflow-y: auto;
    padding: 1rem;
    border-right: 1px solid var(--border-color);
    width: 100%;
}

.parameters-form {
    padding-bottom: 80px;
    width: 100%;
}

.right-column {
    padding: 0;
    overflow-y: auto;
    height: 100vh;
}

.right-column .result-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.result-item {
    width: 100%;
}

.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 25%;
    max-width: 400px;
    background: var(--background-primary);
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    z-index: 100;
}

.button-group {
    background: transparent;
}

/* Form element styles */
.form-group {
    width: 100%;
    margin-bottom: 1rem;
}

/* Input styles */
.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--background-secondary);
}

/* Image preview styles */
.image-preview {
    width: 100%;
    margin-top: 1rem;
}

.preview-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
}