﻿.image-upload-partial-container {
    background-color: #ffffff;
    /* Removed padding/margin/shadow here as it's in the partial's inline style now */
    /* max-width: 600px; /* Consider if this should be global or responsive */
    width: 100%;
}

/*.form-label {
    font-weight: 600;
    color: #343a40;
}
*/
.image-preview-container {
    border: 2px dashed #ced4da;
    border-radius: 8px;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #e9ecef;
}

.image-preview {
    max-width: 100%;
    max-height: 100%;
    display: none; /* Hidden by default */
    border-radius: 6px;
    object-fit: contain; /* Ensures the whole image is visible */
}

.image-placeholder {
    color: #6c757d;
    font-style: italic;
}

.btn-upload {
    background-color: var(--color-primary);
    border-color: #007bff;
    color: white;
    font-weight: 500;
    border-radius: 8px;
    padding: 10px 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

    .btn-upload:hover {
        background-color: var(--color-primary-downtone);
        border-color: #0056b3;
        box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
    }

/* Custom file input styling to hide default and show custom button */
.custom-file-input {
    display: none;
}
