/*
|--------------------------------------------------------------------------
| Frontend Admin Actions
|--------------------------------------------------------------------------
|
| Visible only when the PHP view renders the admin controls.
|
*/

.frontend-admin-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 10px;
    border: 1px solid #dedfe3;
    border-radius: 8px;
    background: #f7f7f8;
}


.frontend-admin-action-form {
    display: inline-flex;
    margin: 0;
    padding: 0;
}


.frontend-admin-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 13px;
    border: 1px solid #d3d5da;
    border-radius: 6px;
    background: #ffffff;
    color: #25272c;
    font-family: inherit;
    font-size: 11px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        border-color .18s ease,
        background .18s ease,
        color .18s ease,
        transform .18s ease;
}


.frontend-admin-action:hover {
    border-color: #a9acb3;
    background: #f1f2f4;
    color: #111318;
    text-decoration: none;
}


.frontend-admin-action:active {
    transform: translateY(1px);
}


/*
|--------------------------------------------------------------------------
| Sticky
|--------------------------------------------------------------------------
*/

.frontend-admin-action-sticky {
    border-color: #d7c987;
    background: #fffcef;
    color: #665611;
}


.frontend-admin-action-sticky:hover {
    border-color: #bda94f;
    background: #fff8d5;
    color: #4f420a;
}


/*
|--------------------------------------------------------------------------
| Add New
|--------------------------------------------------------------------------
*/

.frontend-admin-action-primary {
    border-color: #17191e;
    background: #17191e;
    color: #ffffff;
}


.frontend-admin-action-primary:hover {
    border-color: #000000;
    background: #000000;
    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 600px) {

    .frontend-admin-actions {
        display: grid;
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
        gap: 6px;
        margin-bottom: 15px;
        padding: 7px;
    }


    .frontend-admin-action-form {
        display: block;
        width: 100%;
    }


    .frontend-admin-action {
        width: 100%;
        min-width: 0;
        min-height: 35px;
        padding: 6px 7px;
        font-size: 10px;
        white-space: nowrap;
    }

}


/*
|--------------------------------------------------------------------------
| Very Small Phones
|--------------------------------------------------------------------------
*/

@media (max-width: 360px) {

    .frontend-admin-actions {
        gap: 5px;
    }


    .frontend-admin-action {
        padding-right: 5px;
        padding-left: 5px;
        font-size: 9px;
    }

}