/* Multimage Component Styles */
.main-container-multimage {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

/* Upload Section */
.upload-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.upload-header h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.security-badge {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7em;
    font-weight: bold;
    margin-left: auto;
}

.upload-header p {
    color: #7f8c8d;
    font-size: 0.95em;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: #34495e;
    margin-bottom: 8px;
    display: block;
}

.form-select, .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-select:focus, .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.custom-size-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

/* Upload Area */
.upload-area {
    border: 3px dashed #bdc3c7;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    margin-bottom: 20px;
}

.upload-area:hover {
    border-color: #667eea;
    background: #f0f2ff;
}

/* Hide upload area text when FilePond is active */
.upload-area:has(.filepond--root) .upload-icon,
.upload-area:has(.filepond--root) .upload-text,
.upload-area:has(.filepond--root) .upload-subtext {
    display: none;
}

.upload-area.dragover {
    border-color: #667eea;
    background: #e8f0ff;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3em;
    color: #95a5a6;
    margin-bottom: 15px;
}

.upload-text {
    font-size: 1.2em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.upload-subtext {
    color: #7f8c8d;
    font-size: 0.9em;
}

.file-pond-input {
    width: 100%;
    min-height: 200px;
    margin-top: 20px;
}

/* FilePond Customization */
.filepond--root {
    font-family: inherit;
    margin-bottom: 0;
}

.filepond--panel-root {
    background: transparent;
    border: 2px dashed #bdc3c7;
    border-radius: 15px;
}

.filepond--drop-label {
    color: #2c3e50;
    font-size: 1.1em;
    font-weight: 500;
}

.filepond--label-action {
    color: #667eea;
    text-decoration: underline;
    cursor: pointer;
}

.filepond--item {
    border-radius: 8px;
    overflow: hidden;
    margin: 8px 0;
}

.filepond--image-preview {
    border-radius: 8px;
}

.filepond--file {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.filepond--file-info {
    color: #2c3e50;
}

.filepond--progress-indicator {
    background: #667eea;
}

.filepond--action-remove-item {
    background: #dc3545;
    color: white;
}

.filepond--action-remove-item:hover {
    background: #c82333;
}

/* Upload Status */
.upload-status-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.upload-status-section h6 {
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.status-item.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.status-item.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.status-item.info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.status-icon {
    font-size: 1.1em;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: #5a6268;
}

.btn-outline-info {
    background: transparent;
    color: #17a2b8;
    border: 2px solid #17a2b8;
}

.btn-outline-info:hover {
    background: #17a2b8;
    color: white;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Security Notice */
.security-notice {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.security-notice h6 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.security-notice p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.9em;
}

/* Instructions Section */
.instructions-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 20px;
}

.instructions-header h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instructions-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.instructions-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.instructions-list li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.instruction-number {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
    flex-shrink: 0;
}

.instruction-text {
    margin: 0;
    color: #2c3e50;
    line-height: 1.5;
}

/* Image Requirements */
.image-requirements {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #667eea;
}

.image-requirements h6 {
    color: #667eea;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.image-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.image-requirements li {
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.image-requirements li:last-child {
    border-bottom: none;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .instructions-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .main-container-multimage {
        padding: 15px;
    }
    
    .upload-section, .instructions-section {
        padding: 20px;
    }
    
    .custom-size-row {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .upload-area {
        padding: 30px 15px;
    }
    
    .upload-icon {
        font-size: 2.5em;
    }
    
    .upload-text {
        font-size: 1.1em;
    }
}
