/* ---------------------------------------------
   Main Background
--------------------------------------------- */
body {
    padding: 0;
    background-color: #F3F0E8FF;
}

/* ---------------------------------------------
   Headings
--------------------------------------------- */
h1 {
    font-family: 'Playfair Display', serif;
    color: rgb(92, 59, 0);
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
}

h4 {
    font-family: 'Playfair Display', serif;
    color: rgb(172, 142, 45);
    font-weight: bold;
    margin-bottom: 1rem;
}


/* ---------------------------------------------
   Table
--------------------------------------------- */

.products form .input {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.products form label {
    font-weight: bold;
    margin-bottom: 5px;
}

.products form input[type="text"],
.products form input[type="number"],
.products form input[type="file"],
.products form textarea {
    padding: 8px;
    font-size: 14px;
    width: 100%;
}

.products form textarea {
    resize: vertical;
}

.submit-button {
    display: inline-block;
    margin: 25px auto 15px auto;
    padding: 10px 25px;
    font-weight: bold;
    background: #c89f2d;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s;
}

.submit-button:hover {
    background: #b58f28;
}


.products.form.content {
    padding: 30px;
    border: 2px solid #d4af37;
    border-radius: 12px;
    max-width: 900px;
    margin: 2rem auto 1rem auto;
    background: #fffefb;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.current-image {
    margin-bottom: 15px;
}

.current-image img {
    max-height: 150px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.side-nav {
    background-color: #fff8e1;
    padding: 20px 15px;
    border-radius: 12px;
    border: 2px solid #d4af37;
    margin-bottom: 20px;
    max-width: 200px;
}

.side-nav .heading {
    font-size: 20px;
    font-weight: bold;
    color: #6a4e00;
    margin-bottom: 15px;
}

.side-nav-item {
    display: block;
    background-color: #fef6dd;
    color: #6a4e00;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    border: 1px solid #e7c158;
}

.side-nav-item:hover {
    background-color: #fff3b0;
    color: #000;
    transform: translateX(4px);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.action-buttons .side-nav-item {
    flex: 1 1 auto;
    text-align: center;
    white-space: nowrap;
}

