
.form-container {
    max-width:900px;
    margin: 8vh auto;
    padding: clamp(20px, 3vw, 40px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #ffffff;
    border: 1px solid #cdcdcd;
    border-radius: 12px;
    overflow-x: auto;
    box-sizing: border-box;
}

@media screen and (max-width: 600px) {
    body {
        background-color:#fff;
    }
    .form-container {
        box-shadow: none;
        border:none;
    }
    .form-container h1 {
        font-size:2rem;
        padding-bottom:20px;
    }
}

.form-container h1 {
    text-align:center;
    color: #332d2b;
    font-weight:600!important;
    margin-bottom:20px;
}

.a {
    color: #0056b3;
}
.btn btn-danger mx-2 {
    color: #0056b3;
}

.form-group {
    margin-bottom:15px;
    font-weight:600;
}

.form-control {
    width:100%;
    padding:12px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:16px;
}

.submit-button {
    background-color:#007bff;
    color:#fff;
    max-width:100px;
    border:none;
    border-radius:6px;
    padding:12px 20px;
    transition:background 0.3s ease;
    cursor:pointer;
    font-size:1rem;
    margin-top:20px;
    font-family: "Lora", serif;
    font-weight:600;
}

.submit-button:hover {
    background-color: #0056b3;
}

.submission-notification {
    margin:0;
    width:500px;
    text-align:center;
    border:1px solid #000;
    background-color:#fff;
    font-size:1rem;
    animation:fadeIn 0.5s ease-in-out;
    font-weight:600;
}

.products-table {
    width: 95%;
    height:500px;
    margin:50px auto;
    padding:30px;
    background-color:#ffffff;
    border:2px solid #412f26;
    border-radius:12px;
}

.product {
    display:block;
}

.back-button, .edit-button, .delete-button {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.edit-button {
    background-color: #4caf50;
    color: #fff;
}

.edit-button:hover {
    background-color: #43a047;
    cursor:pointer;
}

.delete-button {
    background-color: #f44336;
    color: #fff;
}

.delete-button:hover {
    background-color: #e53935;
}


/*Separate code for save button to remove previous styling inherited from <button> wrapper*/
.admin-actions .save-button {
    all : unset;
    block-size : 42.67px;
    box-sizing: border-box;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 18px;
    line-height: 25px;
    font-family: 'Lora', sans-serif;
    font-weight: bold;
    transition: background 0.3s ease;
    background-color: #4caf50;
    color: #fff;
}

.admin-actions .save-button:hover {
    background-color: #43a047;
    color: #e6e6e6
}

.form-row-two-cols {
    display: flex; /* Makes the container a flex container */
    gap: 20px;     /* Adds space between the two form groups */
    /* You can also use 'justify-content: space-between;' or 'justify-content: center;' if needed */
}

.form-row-two-cols .form-group {
    flex: 1; /* Allows each form-group to take up equal available space */
}
