﻿.add-product-container {
    background-color: #000;
    color: #fff;
    padding: 2rem;
    font-family: Arial, sans-serif;
}

.add-product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

    .add-product-header h1 {
        font-size: 1.8rem;
        margin: 0;
    }

.back-btn {
    background-color: #0000;
    color: #fff;
    border: 1px solid #ffff;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 5px;
}

.add-product-form-body {
    max-width: 800px;
}

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

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: bold;
    }

.form-control-dark {
    background-color: #0000;
    color: #fff;
    border: 1px solid #ffff;
    padding: 0.75rem;
    width: 100%;
    border-radius: 5px;
}

textarea.form-control-dark {
    resize: vertical;
}

.season-inputs {
    display: flex;
    gap: 1rem;
}

    .season-inputs select {
        flex: 1;
    }

.image-upload-container {
    display: flex;
    gap: 1rem;
}

.form-control-file {
    background-color: #0000;
    color: #fff;
    border: 1px solid #ffff;
    padding: 0.5rem;
    flex: 1;
}

.featured-group {
    display: flex;
    align-items: center;
}

    .featured-group label {
        margin-right: 1rem;
    }

.featured-options {
    display: flex;
    gap: 1.5rem;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-right: 0.5rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-saved {
    background-color: #00a849;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

.btn-cancel {
    background-color: #e53935;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}
/* Add or replace these styles in your wwwroot/css/add-product.css file */

.input-row.with-previews {
    display: flex;
    justify-content: space-between; /* This ensures even spacing */
    gap: 15px;
}

.image-input-container {
    display: flex;
    flex-direction: row; /* This puts the items side-by-side */
    align-items: center; /* This vertically aligns them nicely */
    width: 32%;
    flex-shrink: 0;
    gap: 10px;
    
}

.inline-preview {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
    border: 1px solid #444;
    background-color: #2c2c2c;
}

.form-control-file {
    margin-top: auto;
}