﻿/* ═══ Fonts ═══ */
@font-face {
    font-family: 'Aileron Regular';
    src: url('/fonts/Aileron-Regular.woff2') format('woff2'), url('/fonts/Aileron-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Aileron Light';
    src: url('/fonts/Aileron-Light.woff2') format('woff2'), url('/fonts/Aileron-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

/* ═══ Base ═══ */
body {
    background-color: #E8E8E8 !important;
    font-family: 'Aileron Regular', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Aileron Regular';
}

p {
    font-family: 'Aileron Light';
}

span {
    font-family: 'Aileron Regular';
}

a {
    text-decoration: none !important;
    color: inherit !important;
}

/* ═══ Green Nav ═══ */
.bg-green-nav {
    background-color: #067E6F !important;
}

nav.navbar.bg-green-nav {
    padding: 2%;
}

.main-logo {
    max-width: 90px;
}

.bold-head-top {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0;
    font-size: 20px;
}

/* ═══ Search ═══ */
.search-container {
    width: 400px;
}

form.search-form {
    display: flex;
}

    form.search-form:focus-visible {
        border: 0 !important;
        outline: none !important;
    }

input.search-field {
    width: 90%;
    background: #067E6F !important;
    color: #fff;
    border-radius: 6px;
    border: 0;
    padding: 10px;
}

    input.search-field::placeholder {
        color: #fff;
    }

button.search-btn {
    background: none !important;
    border: 0;
    margin-right: 1%;
    color: #ccc;
}

img.search-icon {
    max-width: 20px;
}

.right-icon-div-navbar img {
    margin: 0 8px;
}

/* ═══ Login page ═══ */
.green-bg {
    background-image: url('/images/bg.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    border: 10px solid #fff;
    border-radius: 25px;
    position: relative;
}

.login-form-div {
    width: 60%;
    margin: auto;
}

    .login-form-div p {
        margin-bottom: 0;
    }

.bg-up-img {
    max-width: 170px;
}

.bg-up-text {
    position: absolute;
    bottom: 17%;
    color: #fff;
}

h3.main-head {
    margin-bottom: 0;
    font-size: 27px;
    color: #067E6F;
    font-weight: 500;
}

input.form-control.signin-field {
    background: none;
    border: 1px solid #ccc;
    margin: 15px 0;
    width: 100%;
    padding: 10px;
}

    input.form-control.signin-field:focus {
        outline: none !important;
        box-shadow: none !important;
    }

button.sign-btn.text-uppercase {
    width: 100%;
    margin-top: 3%;
    margin-bottom: 3%;
    padding: 5px;
    background: #067E6F;
    border: 0;
    color: #fff;
    font-weight: 600;
    font-family: 'Aileron Regular';
}

    button.sign-btn.text-uppercase:disabled {
        background-color: #067E6F !important;
        border-radius: 6px;
    }

span.green {
    color: #1e9378;
    margin-left: 2%;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* ═══ Toggle switch ═══ */
.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 15px;
    margin-top: 3%;
    margin-bottom: 3%;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 15px;
        width: 15px;
        left: 0;
        bottom: 0;
        background-color: white;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    transform: translateX(15px);
}

.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.remember-me {
    display: flex;
    align-items: center;
}

.remember-text {
    margin-left: 2%;
}

/* ═══ Top tab menu ═══ */
.top-menu-div {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
}

.top-menu {
    display: flex;
    justify-content: center;
    column-gap: 3%;
    background: white;
    padding-top: 20px;
}

a.menus-a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-wrap: nowrap;
    text-transform: uppercase;
}

img.tab-icon-top,
.tab-icon-top {
    width: 30px;
    margin-right: 4%;
}

/* ═══ Vertical tabs (profile sidebar) ═══ */
.tab {
    float: left;
    background-color: #fff;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 6px;
}

    .tab button {
        display: flex;
        align-items: center;
        color: #858585;
        padding: 5px;
        width: 100%;
        border: none;
        outline: none;
        text-align: left;
        cursor: pointer;
        transition: 0.3s;
        font-size: 16px;
        background-color: #fff;
        border-bottom: 1px solid #858585;
        text-transform: uppercase;
    }

        .tab button:hover {
            background-color: #ddd;
        }

.tabcontent {
    float: left;
    padding: 3%;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border: 0;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 4%;
    margin-top: 25px;
}

.tab-div {
    padding: 15% 10%;
    position: relative;
}

img.tab-icon {
    width: 24px;
    margin-right: 4%;
}

.back-arrow-icon {
    float: right;
    margin: 12% 12% 2%;
    margin-top: 5%;
    width: 18px;
}

.profile-icon {
    width: 35px;
}

.profile-name-div.text-center {
    min-height: 42px;
}

h4.profile-name {
    margin-bottom: 0;
    color: #1e724f;
    font-weight: 400;
    margin-top: 1%;
    font-size: 22px;
}

h3.user-data-head {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 30px;
    font-family: 'Aileron Regular';
}

p.subheading {
    margin-bottom: 0;
    font-size: 21px;
    font-weight: 700;
    color: black;
}

img.tooltip-arrow {
    position: absolute;
    right: -6%;
    top: 37%;
}

/* ═══ Data tables ═══ */
.user-data-table td {
    border: 1px solid rgb(235, 206, 206);
    padding: 3px;
    width: 50%;
    background-color: #F4F4F4;
}

.file-table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    border-radius: 14px;
    margin-top: 20px;
}

    .file-table td,
    .file-table th {
        border: 1px solid #ccc;
        padding: 10px;
        text-align: center;
    }

    .file-table th {
        background-color: #057055 !important;
        color: #fff !important;
        border: 1px solid #ccc;
    }

    .file-table tr:nth-child(even) {
        background-color: #c1c1c1;
        border: 1px solid #fff;
    }

    .file-table tr:nth-child(odd) {
        background-color: #fff;
    }

button.attach-btn {
    background: #000;
    color: #fff;
    font-weight: 700;
    padding: 3px 20px;
    border-radius: 26px;
    float: right;
    margin-top: 3%;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.attach-img {
    max-width: 18px;
    padding-right: 4px;
}

.full-width {
    width: 100%;
}

td.green-td {
    color: #04a145;
}

p.step-green {
    color: #0f7755;
    font-family: 'Aileron Regular';
    font-weight: 600;
    border-bottom: 1px solid #ccc;
    padding-bottom: 3%;
    font-size: 17px;
}

/* ═══ Footer ═══ */
footer.footer-green {
    background: #E8E8E8;
}

p.copyright {
    margin-bottom: 0;
    text-align: center;
    padding: 2%;
}

/* ═══ Multi-step form (Angular #msform) ═══ */
#heading {
    text-transform: uppercase;
    color: #673ab7;
    font-weight: normal;
}

#msform {
    text-align: center;
    position: relative;
    margin-top: 20px;
}

    #msform fieldset {
        background: transparent;
        border: 0 none;
        border-radius: 0.5rem;
        box-sizing: border-box;
        width: 55%;
        margin: auto;
        padding-bottom: 20px;
        position: relative;
    }

.form-card {
    text-align: left;
}

#msform fieldset:not(:first-of-type) {
    display: none;
}

#msform input,
#msform textarea {
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 0;
    margin-bottom: 25px;
    margin-top: 2px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Aileron Light';
    color: #2c3e50;
    background-color: #eceff1;
    font-size: 16px;
    letter-spacing: 1px;
}

    #msform input:focus,
    #msform textarea:focus {
        box-shadow: none !important;
        border: 1px solid #673ab7;
        outline-width: 0;
    }

#msform .action-button,
#msform .action-button-previous {
    width: 100%;
    margin-top: 3%;
    margin-bottom: 3%;
    padding: 10px;
    background: linear-gradient(46deg, rgba(9,123,88,1) 0%, rgb(33 157 124) 35%, rgb(12 112 78) 100%);
    border: 0;
    color: #fff;
    font-weight: 600;
    font-family: 'Aileron Regular';
    text-align: center;
    float: left;
    border-radius: 10px;
}

.card {
    z-index: 0;
    border: none;
    position: relative;
}

.fs-title {
    font-size: 25px;
    color: #673ab7;
    margin-bottom: 15px;
    font-weight: normal;
    text-align: left;
}

.purple-text {
    color: #0f7755;
    font-weight: normal;
}

.steps {
    font-size: 25px;
    color: gray;
    margin-bottom: 10px;
    font-weight: normal;
    text-align: right;
}

.fieldlabels {
    color: gray;
    text-align: left;
}

/* ═══ Progressbar (multi-step) ═══ */
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey;
    display: flex;
}

    #progressbar .active {
        color: #0f7755;
        font-family: 'Aileron Light';
    }

    #progressbar li {
        list-style-type: none;
        font-size: 15px;
        width: -webkit-fill-available;
        float: left;
        position: relative;
        font-weight: 400;
    }

    #progressbar #account:before {
        content: "1";
        font-family: 'Aileron Regular';
    }

    #progressbar #personal:before {
        content: "2";
        font-family: 'Aileron Regular';
    }

    #progressbar #payment:before {
        content: "3";
        font-family: 'Aileron Regular';
    }

    #progressbar #email:before {
        content: "4";
        font-family: 'Aileron Regular';
    }

    #progressbar #confirm:before {
        content: "5";
        font-family: 'Aileron Regular';
    }

    #progressbar li:before {
        width: 50px;
        height: 50px;
        line-height: 45px;
        display: block;
        font-size: 20px;
        color: #fff;
        background: lightgray;
        border-radius: 50%;
        margin: 0 auto 10px auto;
        padding: 2px;
    }

    #progressbar li:after {
        content: "";
        width: 100%;
        height: 2px;
        background: lightgray;
        position: absolute;
        left: 0;
        top: 25px;
        z-index: -1;
    }

    #progressbar li.active:before {
        background: #0f7755;
    }

    #progressbar li.active:after {
        background: grey;
    }

.progress {
    height: 20px;
}

.progress-bar {
    background-color: #673ab7;
}

.fit-image {
    width: 100%;
    object-fit: cover;
}

.form1, .form2 {
    width: 85%;
}

.next {
    color: white !important;
}
/* ═══ Sidebar Layout ═══ */
.app-container {
    display: flex;
    flex: 1;
}

.app-sidebar {
    width: 260px;
    background: #fff;
    border-right: 1px solid #ddd;
    transition: width 0.3s;
    overflow-y: auto;
    box-shadow: 2px 0 4px rgba(0,0,0,0.04);
}

    .app-sidebar.collapsed {
        width: 0;
        overflow: hidden;
    }

.app-main {
    flex: 1;
    padding: 1.5rem;
    background: #E8E8E8;
    min-height: calc(100vh - 100px);
}

/* Sidebar accordion */
#accordion .list-group-item {
    padding: 0;
    border: none;
    border-bottom: 1px solid #e9ecef;
}

.menu-header {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #067E6F;
    background: #f8f9fa;
    text-transform: uppercase;
    font-size: 14px;
}

    .menu-header:hover {
        background: #e9f5f2;
    }

    .menu-header.expanded .arspn {
        transform: rotate(90deg);
    }

.arspn {
    transition: transform 0.2s;
    color: #067E6F;
}

.det {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
}

    .det li a {
        display: flex;
        align-items: center;
        padding: 10px 20px 10px 30px;
        color: #555 !important;
        text-decoration: none !important;
        font-size: 14px;
        border-left: 3px solid transparent;
        transition: all 0.15s;
    }

        .det li a:hover {
            background: #f0f9f6;
            color: #067E6F !important;
            border-left-color: #067E6F;
        }

        .det li a.router-link-active,
        .det li a.active {
            background: #e8f5f0;
            color: #067E6F !important;
            border-left-color: #067E6F;
            font-weight: 500;
        }

.admin-icon {
    margin-right: 10px;
    font-size: 1rem;
}

.menu-sep {
    height: 1px;
    background: #e9ecef;
    margin: 4px 12px;
}

/* Toggle button */
.btn-icon {
    background: none;
    border: none;
    color: #fff;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .app-sidebar {
        position: fixed;
        top: 60px;
        left: 0;
        height: calc(100vh - 60px);
        z-index: 999;
    }

        .app-sidebar.collapsed {
            transform: translateX(-100%);
            width: 260px;
        }
}