section {
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

/* the under construction for the search input */
.search_under_construction {
    height: 15vh;
    width: 100%;
    background: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search_under_construction p {
    font-size: 14px;
    width: 70%;
}

.page_heading {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page_heading h1 {
    color: var(--primary-text-color);
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
}

.page_heading a {
    font-size: 14px;
    padding: 5px 8px;
    text-align: center;
    text-transform: capitalize;
    color: #fff;
    background: var(--active1);
    transition: .2s ease;
    border-radius: 5px;
}

section form {
    display: flex;
    margin: 5px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

section form input {
    padding: 8px;
    border-radius: 6px;
    width: 80%;
    border: none;
    font-size: 14px;
    outline: none;
    background-color: transparent;
}

section form button {
    padding: 8px;
    border-radius: 0 6px 6px 0;
    width: 20%;
    border: none;
    font-size: 14px;
    text-transform: capitalize;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    color: var(--active1);
    transition: .2s ease;
    position: relative;
}

section form button::before {
    content: "";
    background: #ccc;
    width: 2px;
    height: 16px;
    position: absolute;
    left: 0;
    top: 10px;
}

section form button:hover {
    background: #f7f7f7;
}

.client_profile_container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 100%;
    transition: .2s ease;    
    padding: 10px;
}

.job_seekers_number {
    background: #ffffffea;
    display: grid;
    place-content: center;
    padding: 3px;
    height: 22px;
    width: 22px;
    min-height: 22px;
    min-width: 22px;
    border-radius: 50%;
    font-size: 13px;
    position: absolute;
    top: 10px;
    left: 10px;
    border: 2px solid #ccc;
}

.client_profile_container> :nth-child(1) .job_seekers_number {
    border-color: #9fffff;
}

.client_profile_container> :nth-child(2) .job_seekers_number {
    border-color: #a984ff;
}

.client_profile_container> :nth-child(3) .job_seekers_number {
    border-color: #ff819f;
}

.client-profile {
    display: flex;
    height: fit-content;
    gap: 10px;
    width: 100%;
    border-radius: 25px;
    padding: 5px;
    background-color: #f7fffc;
    position: relative;
    box-shadow: 0 2px 5px #ccc;
}

.client-image {
    background: #eee;
    height: 100px;
    width: 100px;
    min-width: 100px;
    border-radius: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.client-details {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100px;
    width: 100%;
}

.client-details h1 {
    padding: unset;
    margin: unset;
    font-size: 15px;
    text-transform: capitalize;
    font-weight: 600;
    color: var(--primary-text-color);
    width: 98%;
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: ellipsis;
}

.client-details p {
    padding: unset;
    margin: unset;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--secondary-text-color);
}

.action-buttons {
    display: flex;
    gap: 5px;
    width: 90%;
}

.action-buttons a {
    color: #fff;
    padding: 6px;
    font-size: 14px;
    width: 50%;
    text-align: center;
    border-radius: 10px;
    transition: .2s ease;
    background: var(--active1);
    margin-top: 5px;
}

.action-buttons a:hover {
    background: var(--hover);
}

.action-buttons a::first-letter {
    text-transform: uppercase;
}

.action-buttons a:nth-child(2) {
    background: #dddddd;
    color: var(--secondary-text-color);
}

.action-buttons a:nth-child(2):hover {
    background: #cfcfcf;
}

.create_profesional_account {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: inherit;
}

.create_profesional_account p {
    font-weight: 400;
    font-size: 13px;
    color: var(--secondary-text-color);
    text-align: center;
    padding: 14px;
}

.create_profesional_account a {
    background-color: var(--active1);
    padding: 10px;
    border-radius: 8px;
    color: #fff;
    font-weight: 400;
    font-size: 13px;
    width: fit-content;
    text-align: center;
    transition: .2s ease;
}

.create_profesional_account a:hover {
    background: var(--hover);
}

#complete_profile {
    background: none;
    font-weight: 600;
    font-size: 15px;
    color: var(--active1);
}

@media (min-width: 680px) and (max-width: 1199px) { 
    .page_heading h1 {
        font-size: 17px;
    }
    
    .page_heading a {
        font-size: 16px;
    }
    
    section form {
        width: 70%;
    }
    
    section form input {
        font-size: 16px;
    }
    
    section form button {
        font-size: 16px;
    }
    
    .job_seekers_number {
        height: 24px;
        width: 24px;
        min-height: 24px;
        min-width: 24px;
        font-size: 15px;
    }
    
    .client-details h1 {
        font-size: 17px;
    }
    
    .action-buttons {
        gap: 8px;
        width: 60%;
    }
    
    .action-buttons a {
        font-size: 15px;
    }
    
    .create_profesional_account {
        width: 100%;
    }
    
    .create_profesional_account p {
        font-size: 15px;
    }
    
    .create_profesional_account a {
        font-size: 15px;
    }
}

@media (min-width: 800px) { 
    .client_profile_container {
        display: grid;
        grid-template-columns: 2fr 2fr;
    }

    section form {
        width: 50%;
    }
}

@media (min-width: 1200px) {
    .page_heading h1 {
        font-size: 19px;
    }
    
    .page_heading a {
        font-size: 18px;
    }
    
    section form {
        width: 50%;
    }
    
    section form input {
        font-size: 18px;
    }
    
    section form button {
        font-size: 18px;
    }
    
    .job_seekers_number {
        height: 24px;
        width: 24px;
        min-height: 24px;
        min-width: 24px;
        font-size: 15px;
    }
    
    .client-details h1 {
        font-size: 17px;
    }
    
    .action-buttons {
        gap: 8px;
        width: 50%;
    }
    
    .action-buttons a {
        font-size: 15px;
    }
    
    
    .create_profesional_account p {
        font-size: 17px;
    }
    
    .create_profesional_account a {
        font-size: 17px;
    }
}