﻿/*** CSS for admin area ***/

/*** General ***/
.hide {
    display: none!important;
}
/*** End General ***/

/*** Login ***/
.form-floating {
    margin-bottom: 1rem;
}
.form-floating textarea{
    margin-bottom: 1rem;
}
/*** End Login ***/


/*** Edit product ***/
.page-list > li {
    border: 1px solid gray;
    border-radius: 5px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    list-style-position: inside;
}

.custom-field-table-wrapper {
    margin-left: 2rem;
    margin-top: 1rem;
}
/*** End Login ***/

/*** Edit Custom Field ***/
.custom-field-edit {
    display: block;
}
    .custom-field-edit button:first-child {
        display: block;
    }
/*** End Edit Custom Field ***/

/*** Orders ***/
.published span {
    width: 25px;
    height: 25px;
    border-radius: 20px;
    background-color: darkgreen;
    display: inline-block;
}

.published a {
    color: darkred;
}

.unpublished span {
    width: 25px;
    height: 25px;
    border-radius: 20px;
    background-color: darkred;
    display: inline-block;
}

.unpublished a {
    color: darkgreen;
}
.order-status .published, .order-status .unpublished {
    display: flex;
    justify-content: center;
}

.status-circle {
    width: 30px;
}

.status-action {
    width: 70px;
}

.orders-table th, .orders-table td {
    text-align: center;
}

/*** End Orders ***/

/** Impersonate **/

.impersonate {
    position: absolute;
    top: 0;
    right: 60px;
    padding: 10px;
    background-color: darkred;
    font-size: 14px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    color: white;
}

.impersonate p {
    margin-bottom: 0;
}

.impersonate a {
    color: white !important;
}
/*** End Orders ***/

/*** Logout ***/
header #logout {
    border: 0;
}

/*** Ends Logout ***/