.shop-container {
    max-width: 1200px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
    animation: fadeIn .4s ease-out;
}

/* File upload section */
.file-upload-section {
    background: var(--light-bg, #f8f9fa);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.custom-file-upload {
    text-align: center;
}

.file-input {
    display: none;
}

.file-label {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: 0.9rem 1.25rem;
    background: var(--primary-color, #e50914);
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    border: 1px solid rgba(var(--primary-rgb, 229, 9, 20), 0.25);
}

.file-label:hover { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(0,0,0,0.12); }

.file-label i {
    margin-right: 0.5rem;
}

.file-name {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* Prestations grid */
.prestations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.prestation-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.prestation-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,0.12); }

.prestation-content h3 {
    margin: 0 0 1rem;
    color: #333;
}

.prestation-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.price { font-size: 1.2rem; font-weight: 700; color: var(--primary-color, #e50914); }

.duration {
    color: #666;
    font-size: 0.9rem;
}

/* Custom checkbox */
.prestation-select {
    margin-top: 1rem;
    text-align: right;
}

.prestation-checkbox {
    display: none;
}

.checkbox-label {
    display: inline-block;
    width: 26px;
    height: 26px;
    border: 2px solid var(--primary-color, #e50914);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
}

.prestation-checkbox:checked + .checkbox-label::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color, #e50914);
    font-size: 16px;
}

/* Actions */
.shop-actions {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem 0;
}

.shop-actions .btn.btn-primary {
    background: var(--primary-color, #e50914);
    border-radius: 10px;
    border: 1px solid rgba(var(--primary-rgb, 229, 9, 20), 0.25);
    padding: 0.85rem 1.5rem;
    transition: transform .15s ease, box-shadow .2s ease;
}

.shop-actions .btn.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px);} to { opacity:1; transform: translateY(0);} }

@media (max-width: 768px) {
    .prestations-grid {
        grid-template-columns: 1fr;
    }
}

.file-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.file-preview-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 2px dashed #dee2e6;
}

.file-preview-item i {
    font-size: 2rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.file-preview-item p {
    margin: 0;
    font-size: 0.9rem;
    word-break: break-all;
}

#file-name div {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
}

/* Vehicle form section */
.vehicle-form {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vehicle-form .form-group {
    margin-bottom: 1.5rem;
}

.vehicle-form label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.vehicle-form input[type="text"],
.vehicle-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color, #ced4da);
    border-radius: 4px;
    background-color: #fff;
    color: var(--text-color);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.vehicle-form input[type="text"]:focus,
.vehicle-form textarea:focus {
    border-color: var(--button-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--button-color-rgb), 0.25);
    outline: none;
}

.vehicle-form select.is-invalid,
.vehicle-form textarea.is-invalid {
    border-color: #dc3545;
}

.vehicle-form textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 1rem 1.25rem;
    flex-wrap: wrap;
}

.form-group {
    padding-right: 0;
    padding-left: 0;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Description field styling */
.vehicle-form .description-field {
    margin-top: 1.5rem;
}

.vehicle-form .description-field label {
    margin-bottom: 0.75rem;
}

.vehicle-form .description-field textarea {
    font-family: inherit;
}

/* Styles pour la nouvelle interface de fichiers */
.file-list-container {
    margin-top: 1.5rem;
    width: 100%;
}

.file-list {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 0.5rem;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    transition: background-color 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.file-item:hover {
    background-color: #e9ecef;
}

.file-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
    margin-right: 1rem;
}

.file-item-icon i {
    font-size: 1.25rem;
}

.file-item-details {
    flex: 1;
    overflow: hidden;
}

.file-item-name {
    font-weight: 500;
    color: #343a40;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-item-info {
    font-size: 0.8rem;
    color: #6c757d;
}

.file-item-actions {
    display: flex;
    align-items: center;
}

.btn-remove-file {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.btn-remove-file:hover {
    background-color: rgba(220, 53, 69, 0.1);
}

/* Styles pour mobile */
@media (max-width: 768px) {
    .file-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .file-item-icon {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    
    .file-item-actions {
        margin-top: 0.5rem;
        align-self: flex-end;
    }
}

/* Assurer que les éléments masqués ne prennent pas d'espace */
.file-name, .file-preview {
    display: none !important;
} 