@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');


/* .nunito-sans-<uniquifier> {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100,
    "YTLC" 500;
} */

:root {
    --black: #111729;
    --lblack: #3b3b3b;
    --white: #ffffff;
    --lblue: #149cea;
    --dblue: #075792;
    --gray: #f5f7f9;
    --green: #27bd35;
    --yellow: #ffd44b;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Nunito Sans", sans-serif;
    box-sizing: border-box;
}

body {
    width: 100vw;
    background-color: var(--gray);
    overflow: hidden;
    overflow-y: scroll;
}
.container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.welcome {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
}

.welcome-text {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dblue);
}


.form_container {
    position: absolute;
    right: 0;
    z-index: 1;
    width: 50%;
    height: 100%;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 80px 0px 0px 80px;
    box-shadow: 0px 0px 20px 0px #00000050;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

h2 {
    position: relative;
    top: 0;
    text-align: center;
    padding: 20px;
    font-size: 1.75rem;
    font-weight: 400;
}

form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

input, textarea, select, option {
    padding: 10px;
    border-radius: 10px;
    border: #00000090 1px solid;
}

input[type="date" i]{
    text-transform: uppercase;
}

.dbutton {
    background-color: var(--dblue);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 25px;
    padding: 15px;
    width: 100%;
    font-weight: 800;
    font-size: 1.125rem;
    max-width: 200px;
    margin: 1.5rem auto;
}

.dbutton:hover {
    background-color: var(--lblue);
}

.lbutton {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    cursor: pointer;
    border-radius: 25px;
    padding: 15px;
    width: 100%;
    font-weight: 800;
    font-size: 1.125rem;
    max-width: 200px;
    text-align: center;

}

.bbutton{
    background-color: var(--green);
    color: var(--white);
    border: 2px solid var(--white);
    cursor: pointer;
    border-radius: 25px;
    padding: 10px;
    width: 100%;
    font-weight: 800;
    font-size: 1.125rem;
    max-width: 200px;
    margin: 1.5rem auto;
    text-align: center;
}

label {
    margin-top: 20px;
}

.error {
    color: red;
    font-size: 14px;
    margin: 5px 0;
}

.register-link {
    text-align: center;
}

/* header css */
.header {
    width: 100%;
    background-color: var(--dblue);
    padding: 25px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.header a {
    text-decoration: none;
}

.logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: max-content;
    gap: 20px;
}

.logo p {
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.logout {
    border: none;
    height: 40px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
}

.logout:hover {
    border: 1px solid var(--white);
    border-radius: 20px;

}

.quicklinks {
    padding: 10px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    background-color: var(--lblue);
}

.quicklinks a {
    padding: 10px;
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-bottom: 1px solid var(--white);
}

.quicklinks a:hover {
    border: 1px solid var(--white);
    border-radius: 20px;
}

/* dashboard index css */
.dashboard-container {
    margin: auto;
    padding: 20px;
    max-width: 1280px;
}

.profile_container {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: row;
    gap: 20px;
    aspect-ratio: 2;
}

.logo_container {
    width: 50%;
    aspect-ratio: 1;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo_container img{
    max-height: 300px;
}
.profile_detail {
    width: 50%;
    aspect-ratio: 1;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile_detail h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    padding: 20px 0px;
}

.form2_container{
    height: 100%;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 80px;
    box-shadow: 0px 0px 20px 0px #00000050;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    
}
.list_container{
    height: 100%;
    background-color: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
    border: 1px solid var(--lblack);
    border-radius: 8px;
}

.text_link{
    text-decoration: none;
    color: var(--dblue);
    cursor: pointer;
    font-weight: 700;
    padding: 5px;
}
table{
    border-spacing: 0;
    
}

table th{
    background-color: var(--yellow);
    color: var(--black);
    padding: 5px;
    text-align: left;
}

table td{
    padding: 1px;
    height: 50px;
}
table td input{
    width: 100%;
}
table td .bbutton{
    margin: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 0;
}

.list_container table{
    min-width: 700px;
    width: 100%;
}
.list_container td{
    border-bottom: 1px solid var(--lblack);
}

.list_container h3{
    margin: 20px 0px;
}

.client_view{
    height: 100%;
    background-color: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
    border: 1px solid var(--lblack);
    border-radius: 8px;
}

.client_list_tb{
    border: none;
    width: 100%;
}


@media screen and (max-width: 768px) {
    .form_container {
        width: 100%;
    }
    .profile_container{
        flex-direction: column;
    }
    .logo_container,.profile_detail{
        width: 100%;
    }
    .form2_container{
        border-radius: 40px;
    }
}

@media screen and (max-width: 430px) {
    .header {
        flex-direction: column;
    }
    .logo_container img{
    max-height: 200px;
}
    
}