@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* Image Upload Specific Styles */
.image-upload-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 2rem 0;
}

.image-drag-zone {
    border: 2px dashed #28a745;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #f8f9fa;
    cursor: pointer;
}

.image-drag-zone:hover {
    border-color: #1e7e34;
    background: #e8f5e9;
}

.image-drag-zone.dragover {
    border-color: #1e7e34;
    background: #e8f5e9;
    transform: scale(1.02);
}

.image-upload-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.image-file-details-container {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.image-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.image-remove-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.image-preview-container {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.image-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    border: 1px solid #dee2e6;
}

.image-info {
    flex: 1;
    min-width: 0;
}

.image-filename {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-filesize {
    color: #6c757d;
    font-size: 0.875rem;
}

.image-dimensions {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.125rem;
}

.image-form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.image-form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.image-form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.image-form-input:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.image-form-textarea {
    min-height: 80px;
    resize: vertical;
}

.image-submit-container {
    text-align: center;
    margin: 2rem 0;
}

.image-submit-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-submit-btn:hover:not(:disabled) {
    background: #1e7e34;
    transform: translateY(-1px);
}

.image-submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.image-upload-counter {
    text-align: center;
    color: #6c757d;
    font-size: 0.875rem;
    margin: 1rem 0;
}

.image-error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.image-success-message {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.image-file-input {
    display: none;
}

.image-upload-benefits {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.image-benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.image-benefit-icon {
    color: #28a745;
    margin-right: 0.5rem;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .image-upload-container {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .image-drag-zone {
        padding: 2rem 1rem;
    }
    
    .image-file-details-container {
        padding: 1rem;
    }
}