@import "log-sign.css";
@import "home.css";
@import "sadasya_form.css";
@import "root.css";


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100dvh;
    background-color: var(--dashboard-background);
}

header {
    background-color: var(--header);
    height: 9vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4vw;
    position: relative;
    z-index: 2000;
}

header ul {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

header strong {
    font-size: 2.2vh;
    color: #0f172a;
}

header a {
    text-decoration: none;
    font-size: 2vh;
    color: #2563eb;
}

details.profile-dropdown {
    position: relative;
}

details.profile-dropdown summary.dropdown-trigger {
    list-style: none;
    cursor: pointer;
    padding: 1vh 2vw;
    background-color: rgba(255, 255, 255, 0.5);
    border: 0.15vh solid rgba(0, 0, 0, 0.15);
    border-radius: 0.8vh;
    font-size: 1.8vh;
    font-weight: 600;
    user-select: none;
}

details.profile-dropdown summary.dropdown-trigger::-webkit-details-marker {
    display: none;
}

details.profile-dropdown ul.dropdown-menu {
    position: absolute;
    right: 0;
    top: 105%;
    background-color: #ffffff;
    border: 0.15vh solid rgba(0, 0, 0, 0.1);
    border-radius: 1vh;
    box-shadow: 0 1vh 2vh rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    min-width: 45vw;
    z-index: 3000;
    padding: 1vh 0;
    list-style: none;
}

details.profile-dropdown ul.dropdown-menu li {
    width: 100%;
    display: block;
}

details.profile-dropdown ul.dropdown-menu li button,
details.profile-dropdown ul.dropdown-menu li a {
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    padding: 1.2vh 3vw !important;
    font-size: 1.8vh;
    font-family: inherit;
    cursor: pointer;
    display: block;
    box-sizing: border-box;
    text-decoration: none;
}

details.profile-dropdown ul.dropdown-menu li button.profile-btn {
    color: #2563eb !important;
}

details.profile-dropdown ul.dropdown-menu li button.logout-btn {
    color: #dc2626 !important;
}

details.profile-dropdown ul.dropdown-menu li a.add-member-link {
    color: #0f172a !important;
}

details.profile-dropdown ul.dropdown-menu li span.active-profile-text {
    padding: 1.2vh 3vw;
    color: #94a3b8 !important;
    display: block;
    font-size: 1.8vh;
}

details.profile-dropdown ul.dropdown-menu li.menu-divider hr {
    margin: 0.8vh 0;
    border: 0;
    border-top: 0.15vh solid rgba(0, 0, 0, 0.08);
}

main {
    flex: 1;
    background-color: var(--login-dashboard);
    text-align: center;
    align-content: center;
    position: relative;
    z-index: 1000;
    overflow-y: auto;
}


footer {
    height: 8vh;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 0.25vh solid #000000;
    background-color: var(--footer);
}

.footer-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-right: 0.25vh solid #000000;
}
