﻿.flex-cent {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}


body {
    background-image: url(/files/imgs/tiled-bg.jpg);
    background-size: 1350px;
    background-repeat: repeat;
}


main {
    background: white;
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
}

.main-container {
    margin-bottom: 500px;
}

@media all and (max-width:1024px) {
    .detail-card {
        width: 100% !important;
    }

    .user-orders {
        width: 100% !important;
    }
}


/*Profile*/
.profile-container {
    display: flex;
    flex-wrap: wrap
}

.user-profile {
    display: flex;
    flex-direction: column;
    margin: 10px;
    gap: 10px;
}

.detail-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    max-width: 400px;
    /*width: 70%;*/
}

    .detail-card h2 {
        padding: 10px 15px;
        /*background: #fadb8b;*/
        background: #f17e3b;
        color: #fff;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        margin-bottom: 0;
        margin-top: 0;
    }

.profile-details {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .profile-details span:last-child {
        color: #808080;
        margin-left: 50px;
    }

.detail-group {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid #cbcbcb;
}

.address-details {
}

.address-line {
    padding: 10px;
    box-shadow: inset 0 0 10px #343a4033;
}

.address-details .address-line:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.address-line-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.address-line-details {
    display: none;
}

ul {
    padding-left: 2rem;
}



.user-orders {
    margin: 10px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    background: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

    .user-orders h2 {
        padding: 10px 15px;
        /*color: #fadb8b;*/
        color: #fff;
        background: #343a40;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        margin-bottom: 0;
        margin-top: 0;
    }

.order-details {
    display: flex;
    flex-direction: column;
}

.order-line {
    width: 100%;
}

#order-table {
    overflow-y: auto;
    max-height: 500px;
}

    #order-table i {
        cursor: pointer;
        transition: 0.1s;
    }

        #order-table i:hover {
            color: #008dd4
        }


@media all and (max-width:1024px) {
    .profile-container {
        justify-content: center;
    }
}

@media all and (min-width:1024px) {
    .user-orders {
        width: 900px;
    }
}

.order-i {
    background: none;
    border: none;
    transition: 0.15s;
}

    .order-i:hover {
        color: #008dd4
    }

#order-table_wrapper {
    width: 100%;
}


.acc-footer {
    z-index: -1;
}

footer {
    /*z-index: -1 !important;*/
}



/*Login*/

.login-body {
    display: flex;
    width: 100%;
    height: 100%;
    padding-top: 48px;
    justify-content: center;
}

.login-container {
    /*position: relative;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    max-height: 500px;
    height: auto;
    max-width: 500px;
    border: 1px solid #808080;
    border-radius: 10px;
    background: white;
    position: absolute; /* or fixed */
    padding: 85px 75px 75px 75px;
    align-items: center;
    align-content: center;
    text-align: center;
    box-shadow: 6px 6px 20px #00000030
}


.login-img {
    width: 10rem;
    position: absolute;
    top: -75px;
    background: white;
    border-radius: 50%;
    padding: 25px;
    border: 1px solid #808080;
    box-shadow: 0 0 10px #f87500;
}

#login-form {
    gap: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 80%;
}

    .login-group i {
        /*color: #fadb8b;*/
        color: #fff;
        background: #376778;
        height: 40px;
        width: 40px;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        padding-top: 11px;
    }

    .login-group input {
        height: 40px;
        width: 20em;
        padding-left: 10px;
        border-left: none !important;
        outline: none;
        border-style: solid;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }

.login-btn {
    width: 12rem;
    height: 40px;
    color: #fff;
    /*background: #fadb8b;*/
    background: #376778;
    outline: none;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    margin: 15px;
    transition: 0.15s;
}

    .login-btn:hover {
        /*color: #fadb8b;*/
        color: #fff;
        background: #f17e3b;
        transform: scale(1.05)
    }

.login-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    transition: 0.25s;
    max-width: 80%;
}

    .login-links a {
        color: #343a40;
        width: fit-content;
        padding: 3px 10px;
        border-radius: 3px;
        transition: 0.25s;
    }

        .login-links a:hover {
            background: #343a40;
            color: #fadb8b;
        }


@media all and (max-width:1024px) {
    .login-body {
        padding-top: 0px;
    }

    .login-container {
        padding: 120px 75px 75px 75px;
    }

    .login-img {
        width: 75px;
        top: -35px;
        padding: 5px;
    }

    #login-form {
        margin-top: -70px;
    }

    hr {
        padding: 0;
        margin: 0;
    }
}

body {
    /*background-image: url("../files/imgs/on-site-imgs/sg-ext.jpg") !important;*/
    /*background-size: auto 100%;*/
}


.email-reset-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin:10px;
}

    .email-reset-form input {
        max-width: 300px;
    }
