﻿.account-login {
    background-color: #1f2430;
    overflow-x: hidden;
}
.account-login .account {
    min-height: 100vh;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 60px 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color:#eee;
}
.account-login .account-box {
    width: 560px;
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 20px 45px rgba(14, 18, 26, 0.35);
position: relative;
overflow: visible;
}

.account-login .account-box .alert-info{
    position: absolute; bottom: 100%; left: 0px;
padding: 10px;
border-radius: 8px;
}

.account-login .account-body {
    padding: 28px;
}
.account-login .account-hero {
    background-color: #f6f6f6;
    border-radius: 8px 8px 0px 0px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.account-login .account-hero__logo img {
    width: 160px;
    max-width: 100%;
    height: auto;
    display: block;
}
.account-login .account-hero__text h1 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 4px 0;
}
.account-login .account-hero__text p {
    margin: 0;
    font-size: 13px;
}
.account-login .account-form .form-control {
    width: 100%;
    max-width: 100%;
    height: 40px;
    padding: 8px 12px;
    font-size: 14px;
}
.account-login .account-form .form-control:focus {
    border-color: #24b685;
    box-shadow: 0 0 0 2px rgba(36, 182, 133, 0.15);
}
.account-login .account-form .form-group label {
    color: #4a5565;
    margin-bottom: 8px;
    display: block;
}
.account-login .remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    color: #4a5565;
}
.account-login .field-validation-error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #c14b4b;
}

.account-login .input-validation-error {
    border-color: #ea5a5a;
    box-shadow: 0 0 0 2px rgba(234, 90, 90, 0.15);
}
.account-login .account-form .btn {
    width: 100%;
    height: 42px;
    line-height: 42px;
    letter-spacing: 0.6px;
}
.main-content .table {
    border: 1px solid #ededed;
    box-shadow: none;
    font-size: 12px;
    color: #6b7280;
}
.main-content .table thead {
    background: #f7f7f7;
    color: #8a8f98;
}
.main-content .table thead tr th {
    font-weight: 600;
    letter-spacing: 0.6px;
    text-align: center;
}
.main-content .table thead tr th,
.main-content .table tbody tr td {
    height: 42px;
    padding: 0 12px;
    border-bottom: 1px solid #f0f0f0;
}
.main-content .table tbody tr td {
    border-right: 1px solid #f3f3f3;
}
.main-content .table tbody tr:hover {
    background-color: #f9fbfd;
}
.main-content .table td.item-title a:first-child {
    color: #5a7fb2;
}
.main-content .table td.item-title a:first-child:hover {
    color: #2f6fb3;
}
.main-content .btn-danger:hover,
.main-content .btn-danger:focus {
    cursor: pointer;
    background-color: #d9534f;
    border-color: #d9534f;
    box-shadow: 0 4px 10px rgba(217, 83, 79, 0.25);
}
/* ==========================================================================
   Admin styling polish (checklist item 5) — scoped, neutral tidy-ups.
   All rules are admin-only (prefixed with .main-content) and target per-page
   scope classes added in the views, so they cannot affect the public site.
   ========================================================================== */

/* (c) Simple form pages sit flush against the sidebar: the theme gives
   .content-inner padding:0 and .form-content no horizontal padding. Give every
   admin form wrapper the same inset as the header bar so the two line up. */
.main-content .content-inner .form-content {
    padding: 24px 30px 30px;
}

/* (a) A <button> next to an <a class="btn"> renders at different heights because
   the theme's .btn sets height/line-height but no display. Normalise the row. */
.main-content .form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
}
.main-content .form-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    line-height: 1;
    margin: 0;
}

/* (d) The role and page editors need more room than the theme's fixed 520px. */
.main-content .role-form.form-content,
.main-content .page-edit.form-content {
    width: 100%;
    max-width: 900px;
}

/* (e) Role permission groups are unstyled on the standalone role pages (the theme
   only styles them inside a roles modal), so the checkboxes stack in one cramped
   column. Style the group heading and flow the permissions into responsive
   columns, overriding the bootstrap .col-sm-6 so it joins the grid. */
.main-content .role-form .section-role {
    margin-bottom: 22px;
}
.main-content .role-form .section-role-title {
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #444;
}
.main-content .role-form .section-role-body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 4px 28px;
}
.main-content .role-form .section-role-body .col-sm-6 {
    width: auto;
    float: none;
    padding: 0;
}
.main-content .role-form .section-role-body label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: normal;
}

/* (b) The theme forces textarea.form-control to min-height:120px, so the page
   editor's rows="12" content box renders too short. Give it a usable height and
   let it grow. */
.main-content .page-edit textarea.form-control {
    width: 100%;
    resize: vertical;
}
.main-content .page-edit #Content {
    min-height: 320px;
}

@media screen and (max-width: 480px) {
    .account-login .account {
        padding: 40px 16px;
    }
    .account-login .account-body {
        padding: 22px;
    }
    .account-login .account-hero {
        padding: 20px 22px;
    }
    .account-login .account-hero__logo img {
        width: 140px;
    }
}
