* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* RESIZE */

@media only screen and (max-width: 1200px) {
    .product .productTitle h2{
        font-size: 1.4rem ;
    }

    .product .productBody .productFormItem label{
        font-size: 13px ;
    }

    .confirmOrder{
        max-width: 100% !important;
    }

    .confirmOrder .confirmOrderImg{
        max-width: 20%;
    }
    
}

@media only screen and (max-width: 1060px) and (min-width: 850px) {
    .product .productBody .productFormDiv{
        grid-template-rows: 50px 80px 1fr;
    }

    .product .productbody .productFormDiv textarea, .product .productbody .productFormDiv input[type="number"]{
        margin-top: 4px ;
        max-height: 50% ;
        min-height: 50% ;
    }

    .product .productbody .productFormDiv .productFormItem input[type="submit"]{
        min-height: 50% !important;
    }

    .product .productbody .productFormDiv .productFormItem:nth-child(4){
        display: grid;
        align-items: center;
    }
}

@media only screen and (max-width: 1000px) {
    .loginBox{
        max-width: 60% !important;
    }

    .headerLogin{
        min-width: 60% !important;
    }
}

@media only screen and (max-width: 850px){
    .product{
        min-width: 100%;
    }
    .product .productBody .productFormItem label{
        font-size: 15px ;
    }
}

@media only screen and (max-width: 700px){
    .confirmOrder .confirmOrderImg{
        min-width: 100%;
    }

    .confirmOrder .confirmOrderImg img{
        width: 40%;
        min-width: 150px;
    }

    .confirmOrder .orderDetails, .confirmOrder .reorderForm{
        padding: 10px 0 0 0 !important;
        width: 100%;
    }

    .confirmOrder .orderDetails{
        gap: 5px;
    }

    .confirmOrder .orderDetails form{
        justify-content: left;
    }

    .confirmOrder .orderDetails input[type="submit"]{
        margin-top: 10px;
        min-width: 110px;
    }

    .pastOrders table td, .pastOrders table th{
        font-size: 12px;
        padding: 6px !important;
    }
}


@media only screen and (max-width: 540px) {
    .loginBox{
        max-width: 90% !important;
    }

    .headerLogin{
        min-width: 90% !important;
    }
    .loggedInAs, .logout{
        font-size: 14px;
    }
    .submitButton{
        width: 100% !important;
    }

    .main .productView{
        gap: 10px;
        padding-top: 5px;
    }

    .product .productbody .productFormDiv .productFormItem label{
        font-size: 10px;
    }

    .product .productbody .productFormDiv textarea, .product .productbody .productFormDiv input[type="number"]{
        margin-top: 4px;
    }

    .product .productBody .productFormDiv{
        grid-template-rows: 1.5fr 1.5fr 1fr;
    }

    .product .productbody .productFormDiv .productFormItem:nth-child(4){
        display: grid;
        align-items: end;
    }

    .pastOrders table td, .pastOrders table th{
        padding: 4px !important;
        font-size: 8px; font-weight: 400;
    }

    .pastOrders table td span{
        display: none;
    }

    .header .logo, .header .logo img{
        display: none;
    }

    .header .logoSmall, .header .logoSmall img{
        display: block;
    }

}

@media only screen and (max-width: 420px) {
    .product .productBody .productFormDiv{
        grid-template-rows: 1fr 1.5fr 1fr;
    }

    .product .productBody .productFormDiv input[type="number"]{
        border-radius: 6px !important;
    }


}

/* --- */


body{
    min-height: 100vh;
    background-color: rgb(230, 230, 230);
    background-image: url(img/swirls-only-white.svg);
    background-repeat: no-repeat;
    background-position-y: 100%;
    background-position-x: -20%;
    background-size: 60%;
}

.flex{
    display: flex;
}

.flexWrap{
    flex-wrap: wrap;
}

.centre{
    margin-left: auto;
    margin-right: auto;
}


.wrapper{
    max-width: 1200px;
}

.headerLogin{
    justify-content:  left;
    background-color: #0b3449;
    width: 30%;
    padding: 0 15px 15px 15px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.8);
}

.headerLogin img{
    width: 250px;
}

.loginBox{
    max-width: 30%;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 20px;
}

.loginBox input{
    min-width: 100%;
    padding: 8px;
    margin: 5px 0 5px 0;
    background-color: white;
    color: black;
    border: 1px solid rgb(170, 170, 170);
    font-size: 18px;
    border-radius: 10px;
    transition: .2s;
}

.loginBox input[type=submit]{
    min-width: 50%;
    font-size: 18px;
    background-color: #1d7dac;
    color: white;
    border: 0;
    border-radius: 10px;
    height: 40px;
}

.loginBox input[type=submit]:hover{
    background-color: #135677;
    cursor: pointer;
}


.loginButton{
    display: flex;
    align-items: center;
    justify-content: center;
}

.errorText{
    text-align: center;
}

.pageMiddle{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
}

/* -------------- HEADER -------------------------- HEADER ------------- -------------- HEADER ------------- -------------- HEADER ------------- -------------- HEADER ------------- - */

.header{
    background-color: #0b3449;
    display: flex;
    justify-content: space-between;
    padding: 0 20px 10px 20px;
    border-radius: 0 0 20px 20px;
}

.logo img{
    max-width: 210px;
    width: 190px;
}

.logoSmall img, .logoSmall{
    max-width: 60px;
    width: 60px;

    display: none;
}

.headerContent{
    display: grid;
    text-align: right;
    padding-top: 15px;
    gap: 5px;
}

.headerContent .loggedInAs{
    color: #5eb130;
    font-weight: 600; letter-spacing: 0.5px; font-size: 13px;
}

.headerContent .loggedInAs span{
    color: white;
}

.headerButtons{
    display: flex;
    gap: 20px;
    font-size: 11px; font-weight: 500;
}

.headerButtons a{
    color: white;
    text-decoration: none;
    gap: 5px;
}

.headerButtons .logoutButton a, .headerButtons .pastOrdersButton a, .headerButtons .basketButton a{
    display: flex;
    align-items: center;
}

.headerButtons span{
    font-size: 26px; font-weight: 600;
}

/* Hover */

.headerButtons .logoutButton a:hover span{
    color: #ff0000;
}

.headerButtons .pastOrdersButton a:hover span{
    color: #5eb130;
}

.headerButtons .basketButton a:hover span{
    color:#1d7dac;
}
/* ---------------- PRODUCT PAGE ------------------------------ PRODUCT PAGE ------------------------------ PRODUCT PAGE ----------------------------- PRODUCT PAGE -------------- - */

.productView{
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-top: 20px; padding-bottom: 20px;
   
}

.product{
    background-color: white;
    max-width: 48%;
    padding: 20px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    border-radius: 10px;

}

.productTitle h2{
    color:#1d76a3;
    font-weight: 500;
    font-size: 1.5rem;
}

.productBody{
    display: flex;
    margin-top: 10px;
}

.productImg{
    min-width: 30%;
}

.productImg img{
    width: 100%;
    border-radius: 10px;
}

.productFormDiv{
    display: grid;
    grid-template-rows: 2fr 2fr 1fr;
}

.productFormItem{
    height: 100%;
    padding-left: 20px;
}

.productFormDiv input, .productFormDiv textarea{
    min-width: 100%;
    padding: 5px;
    resize: none;
}

.productFormDiv textarea, .productFormDiv input[type="number"]{
    min-height: 40%;
    border-radius: 10px;
    border: 1px solid #959595;
    margin-top: 8px;

}

.productFormDiv input[type="submit"]{
    min-height: 80%;
    background-color:#1d76a3;
    color: white;
    border: 0;
    border-radius: 10px;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.35);
    font-size: 1rem;
    transition: .2s ease;
}

.productFormDiv input[type="submit"]:hover{
    background-color: #135677;
    cursor: pointer;
    box-shadow: 0px 0px 0px;
    transition: .4s ease;
}

.productFormDiv label{
    font-size: 15px;
}





/* --------------------- CONFIRM ORDER PAGE --------------------------------------- CONFIRM ORDER PAGE --------------------------------------- CONFIRM ORDER PAGE ------------------ */

.confirmOrder{
    max-width: 80%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    padding: 20px;
    margin-top: 20px;
}

.confirmOrder h2{
    color:#1d76a3;
    display: flex;
    justify-content: space-between;
    
}

.confirmOrder h2 a span{
    color:#1d76a3;
    font-size: 20px;
}

.confirmOrder h2 a{
    display: flex;
    align-items: center;
    color:#1d76a3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.confirmOrder .divider{
    border: 0;
    height: 2px;
    background-color: #1d76a3;
    margin-top: 10px;
}

.confirmOrderImg{
    min-width: 30%;
}

.confirmOrderImg img{
    width: 100%;
}

.confirmOrderBody{
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
}

.confirmOrderBody .orderDetails{
    display: grid;
    grid-template-rows: auto auto auto auto auto 50px;
    padding-left: 20px;
}

.confirmOrder .confirmOrderBody .notLabel{
    grid-template-rows: auto auto auto auto 50px;
}

.orderDetails{
    width: 69%;
}

.orderDetails span{
    color:#1d76a3;
    font-size: 20px;
}

.orderDetails p{
    line-height: 1.6rem;
}

.orderDetails form{
    display: flex;
    justify-content: right;
    align-items: center;
}

.orderDetails input[type="submit"]{
    width: 40%; height: 90%;
    font-size: 16px;
    background-color: #1d76a3;
    color: white;
    border: 0;
    border-radius: 10px;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.35);
    transition: .2s ease;
}

.orderDetails input[type="submit"]:hover{
    background-color: #135677;
    cursor: pointer;
    box-shadow: 0px 0px 0px;
    transition: .4s ease;
}





/* ----------------- ADMIN DASHBOARD ----------------- ----------------- ADMIN DASHBOARD ----------------- ----------------- ADMIN DASHBOARD ----------------- ----------------- ADMIN DASHBOARD ----------------- */

.adminActions{
    display: flex;
    justify-content: space-around;
    background-color: white;
    padding: 20px; margin-top: 20px;
    border-radius: 20px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .4);

}

.adminActions a div span{
    font-size: 30px;
}

.adminActions a div{
    display: grid;
    justify-items: center;
    color: #1d76a3;
}

.adminActions a{
    text-decoration: none;
}


.adminOrderTable{
    border-collapse: collapse;
}

.pastOrders .adminOrderTable td:nth-child(6){
    color:#0b3449
}

.adminOrderTable td:nth-child(9){
    text-align: center;
}

.adminOrderTable td, .adminOrderTable th{
    border: 1px solid black;
    padding: 5px;
}

.adminOrderTable .processing a, .adminOrderTable .notInvoiced a{
    color: white;
}

.pastOrders .adminOrderTable .processing, .orderEditTable .processing{
    background-color: rgb(194, 56, 56);
    color: white;

}

.pastOrders .adminOrderTable .delivered, .orderEditTable .delivered{
    background-color: rgb(38, 161, 42);
    color: white;
}

.adminOrderTable .notInvoiced, .orderEditTable .notInvoiced{
    background-color: rgb(194, 56, 56);
    color: white;
    text-align: center;

}

.adminOrderTable .invoiced, .orderEditTable  .invoiced{
    background-color: rgb(38, 161, 42);
    color: white;
    text-align: center;

}

.adminOrderTable td:nth-child(-n+6){
    border-right: 4px solid white !important;
}

.adminOrderTable a{
    color: #1d76a3;
}

.adminOrderTable a:hover{
    color: #000000 !important;
}

.modalBackground{
    background-color: rgba(11, 52, 73, 0.5);
    width: 100%; height: 100%;
    position: absolute;
    top: 0; left: 0;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: grid;
    justify-content: center; padding-top: 100px;
}

.modalBox{
    background-color: #ffffff;
    max-width: 1200px;
    max-height: 280px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .4);
}

.modalBox h2, .modalBox2 h2{
    color:#1d76a3;
    display: flex;
    justify-content: space-between;
    
}

.modalBox h2 a span, .modalBox2 h2 a span{
    color:#1d76a3;
    font-size: 25px;
   
}

.modalBox h2 a, .modalBox2 h2 a{
    display: flex;
    align-items: center;
    color:#1d76a3;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

.modalBox .divider, .modalBox2 .divider{
    border: 0;
    height: 2px;
    background-color: #1d76a3;
    margin-top: 10px;
}

.orderEditTable {
    border-collapse: collapse;
    margin-top: 20px;
}

.orderEditTable td, .orderEditTable th{
    border: 0;
    padding: 8px;
}

.orderEditTable td{
    background-color: #dedede;
}

.orderEditTable td:nth-child(n+1):nth-child(-n+6){
    border-right: 3px solid white;
}

.orderEditTable th{
    background-color: #0b3449;
    color: white;
}

.orderEditTable th:last-child{
    border-radius: 0 10px 0 0;
}

.editOrderOptions{
    display: flex;
    justify-content: space-between;
    padding: 5px;
}

.updateStatus{
    text-align: center;
    display: flex;
    justify-content: center;
}

.updateStatus a{
    color: white;
    text-decoration: none;
    background-color: #1d76a3;
    width: 40%;
    padding: 10px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 5px 5px 6px rgba(0, 0, 0, .4);
    transition: .2s ease;
}

.updateStatus a:hover{
    background-color: #135677;
    box-shadow: 0px 0px 0px;
    transition: .4s ease;
}


/* --------------- PAST ORDERS ------------------------------ PAST ORDERS ------------------------------ PAST ORDERS ------------------------------ PAST ORDERS --------------- */

.pastOrders{
    background-color: white;
    padding: 20px; margin-top: 20px;
    border-radius: 20px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .4);
    display: grid;
}

.pastOrders table{
    border-collapse: collapse;
    margin-top: 20px;
    font-weight: 600;
    color:#0b3449
}

.pastOrders table th{
    background-color:#0b3449;
    color: white;
    text-align: left;
}

.pastOrders table th:last-child{
    border-radius: 0 20px 0 0;
}

.pastOrders table tr:nth-child(even){
    background-color:#dedede;
}

.pastOrders table td:nth-child(-n+4){
    border-right: 4px solid white;
}

.pastOrders td:nth-child(n+2):nth-child(-n+3){
    text-align: center;
}

.pastOrders td:nth-child(6){
    color: white;
}

.pastOrders table td, .pastOrders table th{
    border: 0px;
    padding: 8px;
}

.pastOrders table td a{
    color:#0b3449;
    text-decoration: none;
}

.pastOrders td .redorder a{
    display: flex;
    align-items: center; justify-content: center;
    gap: 5px;
}

.pastOrders td .redorder a:hover{
    color:#135677;
}

.pastOrders .processing{
    background-color: orange;

}

.pastOrders .delivered{
    background-color: rgb(41, 198, 41);
}




.pastOrders h2{
    color:#1d76a3;
    display: flex;
    justify-content: space-between;
    font-size: 30px;
    
}

.pastOrders h2 a span{
    color:#1d76a3;
    font-size: 20px;
}

.pastOrders h2 a{
    display: flex;
    align-items: center;
    color:#1d76a3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.pastOrders .divider{
    border: 0;
    height: 2px;
    background-color: #1d76a3;
    margin-top: 10px;
}



/* ---------------- REORDER FORM -------------------------------- REORDER FORM -------------------------------- REORDER FORM -------------------------------- REORDER FORM ---------------- */

.reorderForm{
    display: grid;
    grid-template-rows: 1fr 1fr 5fr;
    grid-row-end: 100px;
    padding-left: 20px;
}

.reorderForm{
    width: 69%;
}

.reorderForm span{
    color:#1d76a3;
    font-size: 20px;
}

.reorderForm p{
    line-height: 1.6rem;
}

.reorderForm form{
    display: grid;
    grid-template-rows: .3fr 1fr .3fr 2fr .3fr 1fr;
    gap: 5px; padding-top: 20px;
}

.reorderForm form input, .reorderForm form textarea{
    padding: 5px;
    border: 1px solid;
    border-radius: 10px;
    border: 1px solid #959595;
    font-size: 16px;
}

.reorderForm form textarea{
    resize: none;
}

.reorderForm form div{
    display: grid;
    justify-content: right; 
}


.reorderForm input[type="submit"]{
    background-color:#1d76a3;
    color: white;
    border: 0;
    border-radius: 10px;
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.35);
    transition: .2s ease;
    width: 250px;
    height: 45px;
    font-size: 18px;
}

.reorderForm input[type="submit"]:hover{
    background-color: #135677;
    cursor: pointer;
    box-shadow: 0px 0px 0px;
    transition: .4s ease;
}





/* ---------- Thankyou Page --------------------- Thankyou Page --------------------- Thankyou Page --------------------- Thankyou Page --------------------- Thankyou Page ----------- */

.thankYouPage{
    display: grid;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.thankYouPage > div{
    background-color: white;
    border-radius: 10px;
    max-width: 500px; height: 200px;
    display: grid;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .4);
}

.thankYouPage h2{
    color:#0b3449;
    font-size: 30px;
}

.thankYouPage p{
    font-size: 14px;
    color:#0b3449;
    text-decoration: none;
}

.thankYouPage .buttonText{
    color: white;
    text-decoration: none;
    font-size: 16px;
    text-align:center;
    
}

.thankYouPage .buttonContainer{
    display: grid;
    justify-content: center;
    align-items: center;
    background-color: #1d76a3;
    height: 50px;
    padding: 5px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 5px 5px 3px rgba(0, 0, 0, .4);
    transition: .2s;
}

.thankYouPage .buttonContainer:hover{
    box-shadow: 0 0 0;
    transition: .2s;
}

.thankYouPage a{
    text-decoration: none;
}


/* -------------Admin Edit Product --------------------------Admin Edit Product --------------------------Admin Edit Product --------------------------Admin Edit Product ------------- */

.modalBackground2{
    background-color: rgba(11, 52, 73, 0.5);
    width: 100%; height: 100%;
    position: absolute;
    top: 0; left: 0;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: grid;
    padding-top: 100px;
}

.modalBox2{
    background-color: #ffffff;
    width: 800px; margin-left: auto; margin-right: auto;
    max-height: 420px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .4);
}

/* The styling for the header of the modal is width admin dash css ^^^^ */

.editProductImg{
    width: 30%;
}

.editProductImg img{
    width: 100%;
    border-radius: 15px;
}

.editProductForm{
    padding-top: 10px;
    width: 100%;
}

.editProductForm > div{
   display: flex;
}

.editProductForm input[type="text"]{
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgb(170, 170, 170);
    padding: 5px; 
    font-size: 16px;
}

.editProductSubmit{
    display: flex;
    justify-content: right;
    align-items: center;
}

.editProductSubmit input{
    border: 0;
    padding: 15px;
    width: 50%;
    background-color: #1d76a3;
    color: white;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, .4);
    border-radius: 15px;
    font-size: 18px;
    transition: .2s;
}

.editProductSubmit input:hover{
    cursor: pointer;
    box-shadow: 0 0 0;
    background-color: #135677;
    transition: .2s;
}

.editProductForm input[type="file"] {
    padding-top: 5px; padding-left: 30px;
}

.custom-file-upload {
    cursor: pointer;
}

.custom-file-upload:hover {
    filter:grayscale(50%);
}

.grid{
    display: grid;
}

.editProductFormRight{
    width: 70%;
    display: grid;
    padding-left: 10px;

}

.imageText{
    position: absolute;
}

.imageText p{
    padding-left: 30px;
    padding-top: 2px;
}


/* PAGE DESIGN */

.editProductsTop{
    display: flex;
    justify-content: space-around;
    background-color: white;
    padding: 20px; margin-top: 20px;
    border-radius: 20px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .4);
}

.editProductsTop select, .editProductsTop input[type="submit"]{
    padding: 10px;
    font-size: 18px;
    border-radius: 15px;
    min-width: 200px;
    text-align: center;
}

.editProductsTop select{
    background-color: white;
    border: 1px solid rgb(170, 170, 170);
    margin-right: 10px;
    transition: .2s;
}

.editProductsTop select:hover{
    cursor: pointer;
    background: rgb(240, 240, 240);
    transition: .2s;
}

.editProductsTop input[type="submit"]{
    background-color:#1d76a3; color: white;
    border: 0;
    margin-left: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, .4);
    transition: .2s;
}

.editProductsTop input[type="submit"]:hover{
    cursor: pointer;
    background-color: #135677;
    box-shadow: 0 0 0;
    transition: .2s;
}


.editProductsMain{
    justify-content: space-around;
    background-color: white;
    padding: 20px; margin-top: 20px;
    border-radius: 20px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .4);
    margin-bottom: 20px;
}

.editProductsMain table{
    border-collapse: collapse;
    min-width: 100%;
    text-align: center;
    font-size: 18px;
    color:#135677;
    font-weight: 600;
}

.editProductsMain table td{
    border-right: 3px solid white;
}

.editProductsMain table td, .editProductsMain table th{
    padding: 5px;
}

.editProductsMain table th{
    background-color: #135677;
    color: white;
}

.editProductsMain table th:nth-child(4){
    border-radius: 0 10px 0 0;
}

.editProductsMain tr:nth-child(even){
    background-color:#dedede;
}

.editProductsMain td a{
    color:#1d76a3;
}

.editProductsMain td a:hover{
    color:#135677;
}



/* DELETE PRODUCT */

.deleteProductImg{
    width: 30%;
}

.deleteProductImg img{
    width: 100%;
}

.deleteProductForm{
    padding-left: 20px;
    width: 70%;
}

.deleteProductSubmit{
    display: grid;
    text-align: center;
}

.deleteProductSubmit input{
    height: 50px;
    background-color: #1d76a3;
    box-shadow:5px 5px 5px rgba(0, 0, 0, .4);
    border: 0;
    color: white;
    border-radius: 12px;
    width: 50%; margin-left: auto; margin-right: auto;
    margin-top: 50px;
}

.deleteProductSubmit input:hover{
    background-color: #135677;
    box-shadow: 0 0 0 ;
    cursor: pointer;
}




/* ---------Upload new product------------------Upload new product------------------Upload new product------------------Upload new product------------------Upload new product--------- */

.uploadNewProduct, .addNewUser{
    display: flex;
    justify-content: center;
    background-color: white;
    padding: 20px; margin-top: 20px;
    border-radius: 20px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .4);
}

.uploadNewProduct form, .addNewUser form{
    display: grid;
    gap: 8px;
    width: 40%;
}

.uploadNewProduct form input, .addNewUser form input{
    width: 100%;
}

.uploadNewProduct form div, .addNewUser form div{
    display: grid;
    gap: 2px;
}

.uploadNewProduct input[type="text"], .uploadNewProduct input[type="number"], .uploadNewProduct select, .addNewUser input[type="text"], .addNewUser input[type="password"]{
    height: 35px;
    border-radius: 12px;
    border: 1px solid rgb(170, 170, 170);
    padding: 5px;
    font-size: 16px;
}

.uploadNewProduct input[type="submit"], .addNewUser input[type="submit"]{
    background-color: #1d76a3;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, .4);
    border-radius: 12px;
    height: 40px;
    border: 0;
    color: white;
    margin-top: 10px;
}

.uploadNewProduct input[type="submit"]:hover, .addNewUser input[type="submit"]:hover{
    box-shadow: 0 0 0;
    background-color:#135677;
    cursor: pointer;
}

/* ----------------- Basket Styling ---------------------------------- Basket Styling ---------------------------------- Basket Styling ----------------- */

.basketMain{
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
    margin-top: 20px;
    padding: 15px;
}

.basketMain h2{
    color:#1d76a3;
    font-size: 30px;
    display: flex;
    justify-content: space-between;
}


.basketMain h2 a span{
    color:#1d76a3;
    font-size: 20px;
}

.basketMain h2 a{
    display: flex;
    align-items: center;
    color:#1d76a3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.basketMain table{
    border-collapse: collapse;
    margin-top: 10px;
}

.basketMain table tr{
    width: 100%;
}

.basketMain table th{
    background-color: #0b3449;
    color: white;
    text-align: left;
    height: 30px;
    padding: 10px;
}

.basketMain table td:nth-child(2), .basketMain table td:nth-child(5){
    width: 400px;
}

.basketMain table td:nth-child(6){
    width: 100px;
    text-align: center;
}


.basketMain table td:nth-child(6) a{
    display: flex;
    text-decoration: none;
    color:#0b3449;
}

.basketMain table td:nth-child(6) a span{
    font-size: 20px;
}


.basketMain table th:last-child{
    border-radius: 0 20px 0 0;
}

.basketImg{
    max-width: 60px;
    border-radius: 5px;
}

.basketMain table td{
    color:#0b3449;
    font-weight: 600;
    padding: 8px;
    vertical-align:top;

}

.basketMain table tr:nth-child(even){
    background-color:#dedede;
}

.basketMain td:nth-child(1n+2){
    border-right: 3px solid white;
}

.basketButtons{
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.basketButtons a{
    padding: 10px;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.basketButtons a span{
    font-size: 18px;
}

.basketButtons .basketSubmit{
    background-color: #5eb130;
}

.basketButtons .basketBack{
    background-color:#0b3449;
}

#emptyBasket{
    padding-top: 10px;
    font-size: 20px;
}

/* Resizing */
@media only screen and (max-width: 450px) {
    .basketMain table{
        font-size: 12px;
    }

    .basketMain table th, .basketMain table td{
        padding: 5px;
        width: 50px;
        font-weight: 400;
    }

    .basketMain table td:nth-child(1) img{
        max-width: 40px;
    }

}


/* New CSS for confirm.php */

.confirmSubmitButtons{
    display: flex;
    gap: 40px;
}

.confirmSubmitButtons form{
    width: 100%;
}

.confirmSubmitButtons form input{
    width: 100% !important;
}

.confirmSubmitButtons form:last-child input{
    background-color: #5eb130;
}



