/* =========================================================
   KaamMittar - Account pages (login, register, orders, etc.)
   Scoped styles so the default account templates blend into
   the KaamMittar theme.
   ========================================================= */

.km-account-page {
    padding-top: 28px;
    padding-bottom: 56px;
}

.km-account-page .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0 0 22px;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 12.5px;
    color: #53685d;
}

.km-account-page .breadcrumb > li + li::before {
    content: "/";
    color: #b7cdc1;
    padding: 0 4px;
}

.km-account-page .breadcrumb a {
    color: #07583b;
    font-weight: 600;
}

.km-account-page .breadcrumb > .active {
    color: #53685d;
}

.km-account-page #content {
    padding: 28px 30px;
    background: #fff;
    border: 1px solid #d7eadf;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 64, 40, .06);
}

.km-account-page h1,
.km-account-page h2 {
    margin-top: 0;
    color: #073d2c;
    font-weight: 800;
    line-height: 1.25;
}

.km-account-page h1 {
    font-size: 26px;
    margin-bottom: 20px;
}

.km-account-page h2 {
    font-size: 20px;
    margin-bottom: 16px;
}

.km-account-page h3 {
    color: #073d2c;
    font-weight: 700;
}

.km-account-page hr {
    border-top-color: #e2efe7;
}

/* ---- Forms ---- */

.km-account-page legend {
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #073d2c;
    font-size: 17px;
    font-weight: 700;
    border-bottom: 1px solid #d7eadf;
}

.km-account-page .control-label {
    color: #33564a;
    font-size: 13px;
    font-weight: 700;
}

.km-account-page .form-group {
    margin-bottom: 18px;
}

.km-account-page .form-control {
    min-height: 42px;
    padding: 9px 13px;
    color: #073d2c;
    background: #fff;
    border: 1px solid #cfe3d7;
    border-radius: 10px;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.km-account-page .form-control:focus {
    border-color: #006642;
    box-shadow: 0 0 0 3px rgba(0, 102, 66, .12);
}

.km-account-page textarea.form-control {
    min-height: 110px;
}

.km-account-page select.form-control {
    height: auto;
}

.km-account-page .required .control-label::before {
    content: "* ";
    color: #e11d48;
    font-weight: 700;
}

.km-account-page .text-danger {
    margin-top: 4px;
    color: #c82333;
    font-size: 12px;
    font-weight: 600;
}

.km-account-page .help-block {
    color: #6b7f75;
    font-size: 12px;
}

.km-account-page .radio,
.km-account-page .checkbox {
    margin-top: 8px;
    margin-bottom: 8px;
}

.km-account-page .radio label,
.km-account-page .checkbox label {
    font-weight: 500;
}

/* ---- Buttons ---- */

.km-account-page .btn {
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 22px;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.km-account-page .btn-primary {
    color: #fff;
    background: #006642;
    border-color: #006642;
}

.km-account-page .btn-primary:hover,
.km-account-page .btn-primary:focus,
.km-account-page .btn-primary:active {
    color: #fff;
    background: #005030;
    border-color: #005030;
}

.km-account-page .btn-default {
    color: #073d2c;
    background: #fff;
    border: 1px solid #cfe3d7;
}

.km-account-page .btn-default:hover,
.km-account-page .btn-default:focus {
    color: #006642;
    background: #eef8f2;
    border-color: #9fceb5;
}

.km-account-page .btn-danger {
    background: #dc3545;
    border-color: #dc3545;
}

.km-account-page .buttons {
    padding-top: 18px;
    margin-top: 26px;
    border-top: 1px solid #eaf3ee;
}

/* ---- Alerts ---- */

.km-account-page .alert {
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
    border-width: 1px;
}

.km-account-page .alert-success {
    color: #07583b;
    background: #e7f8ef;
    border-color: #c7e4d4;
}

.km-account-page .alert-info {
    color: #07583b;
    background: #e7f8ef;
    border-color: #c7e4d4;
}

.km-account-page .alert-warning {
    color: #8a4b00;
    background: #fff6e8;
    border-color: #ffe0b5;
}

.km-account-page .alert-danger {
    color: #b42318;
    background: #fdf1f0;
    border-color: #fed3d0;
}

/* ---- Tables ---- */

.km-account-page .table {
    margin-bottom: 18px;
    font-size: 13px;
}

.km-account-page .table > thead > tr > th {
    padding: 10px;
    color: #06452e;
    background: #f2faf5;
    border-bottom: 2px solid #d7eadf;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    vertical-align: middle;
}

.km-account-page .table > tbody > tr > td {
    padding: 12px 10px;
    border-top: 1px solid #eaf3ee;
    vertical-align: middle;
}

.km-account-page .table > tbody > tr:hover {
    background: #f8fcfa;
}

.km-account-page .table-responsive {
    border: 0;
}

/* ---- Cards / wells ---- */

.km-account-page .well {
    padding: 22px;
    background: #f7fbf9;
    border: 1px solid #d7eadf;
    border-radius: 16px;
    box-shadow: none;
}

.km-account-page .list-group-item {
    border-color: #e2efe7;
}

.km-account-page .list-group-item.active,
.km-account-page .list-group-item.active:hover {
    color: #fff;
    background: #006642;
    border-color: #006642;
}

.km-account-page .list-group-item a {
    color: #07583b;
}

.km-account-page .pagination > li > a,
.km-account-page .pagination > li > span {
    color: #006642;
}

.km-account-page .pagination > .active > a,
.km-account-page .pagination > .active > span,
.km-account-page .pagination > .active > a:hover,
.km-account-page .pagination > .active > span:hover {
    color: #fff;
    background: #006642;
    border-color: #006642;
}

.km-account-page .img-thumbnail {
    border-color: #d7eadf;
    border-radius: 10px;
}

.km-account-page .input-group-addon {
    background: #eef8f2;
    border-color: #cfe3d7;
    color: #07583b;
}

.km-account-page .modal-content {
    border: 0;
    border-radius: 16px;
}

.km-account-page .modal-header {
    color: #fff;
    background: #006642;
    border-radius: 16px 16px 0 0;
}

.km-account-page .modal-header .close {
    color: #fff;
    opacity: .85;
}

/* ---- Responsive ---- */

@media (max-width: 991px) {
    .km-account-page #content {
        padding: 22px;
    }
}

@media (max-width: 767px) {
    .km-account-page {
        padding-top: 18px;
        padding-bottom: 36px;
    }

    .km-account-page #content {
        padding: 18px 16px;
        border-radius: 12px;
    }

    .km-account-page h1 {
        font-size: 21px;
    }

    .km-account-page h2 {
        font-size: 17px;
    }

    .km-account-page .buttons .pull-left,
    .km-account-page .buttons .pull-right {
        float: none !important;
        margin-bottom: 10px;
        text-align: center;
    }

    .km-account-page .buttons .btn {
        width: 100%;
    }
}
