*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-align: center;
    --thm-clr: #6071ee;
}

img{
    max-width: 100%;
}
main{
    background-image: linear-gradient(to right, #66b171, #f1b6c6);
    min-height: 100vh;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding:30px 20px;
}
.employee{
    max-width: 350px;
    width: 100%;
    margin: 20px auto 40px;
}
.employee {
    border-radius: 20px;
    overflow: hidden;
}
.employee .card  .logo{
    padding: 20px 15px 0px;
}
.employee .card {
    background: #fff;
}
.employee .card .card-middle .img{
    padding: 2px 10px 5px;
    background-image: linear-gradient(to bottom, #fff 50%, #6071ee 50% );
}
.employee .card .card-middle,
.employee .card .card-footer{
background: #6071ee;
}
.employee .card .card-middle .text{
    padding: 15px;
    text-align: center;
    color: #fff;
}
.employee .card .card-middle .text  h4,
.employee .card .contact-info h4{
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 10px;
}
.employee .card .card-middle .text  h4 p{
    font-size: 18px;
    line-height: 24px;
}
.employee .card .card-middle .img img{
width: 150px;
height: 150px;
display: block;
margin: auto;
border-radius: 50%;
aspect-ratio: 1;
overflow: hidden;
padding: 10px;
background: #fff;
object-fit: cover;
object-position: top;
box-shadow: 1px 1px 6px 2px #0005;
}
.employee .card .card-footer {
    padding: 5px 15px 20px;
}
.employee .card .card-footer .links ul,
.employee .card .card-footer .products ul,
.employee .card .card-footer .tab-content ul{
padding: 0;
list-style-type: none;
margin: 0;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 10px;
font-weight: 500;

}
.employee .card .card-footer .products ul{
    padding-bottom: 5px;
}
.employee .card .card-footer .products ul,
.employee .card .card-footer .tab-content ul{
    padding-top: 20px;
}
.employee .card .card-footer  li.active {
    border: 1px solid #fff;
    padding: 6px 15px;
    border-radius: 30px;
}
.employee .card .card-footer hr {
margin-top: 25px;
}
.employee .card .card-footer .tab-content ul{
transform: scale(0);
transform-origin: top ;
transition: all 0.5s;
overflow: hidden;
max-height: 0;
}
.employee .card .card-footer .tab-content ul.active{
transform: scale(1);
max-height: 1500px;
}
.employee .card .card-footer .tab-content ul + ul{
    padding-top: 0;
}
.employee .card .card-footer .products ul li{
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.5s;
}
.employee .card .card-footer .tab-content a,
.employee .card .card-footer .links a{
    padding: 7px 20px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    margin: 5px;
    color: #6071ee;
}
.employee .card .card-footer .tab-content a svg,
.employee .card .card-footer .links a svg{
margin-right: 5px;
fill: #6071ee;
transition: all 0.5s;
}
.employee .card .card-footer .tab-content a:hover svg,
.employee .card .card-footer .links a:hover svg{
    transform: translateX(-10px) rotate(360deg);

}
.employee .card .contact-info h4{
    color: #6071ee;
    margin-top: 20px;
}
.employee .card .contact-info  ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}
ul.service {
    border: 1px solid #6071ee;
    margin-top: 20px  !important;
}
ul.service li + li{
    margin-top: 10px;
}
ul.service a{
    color: #6071ee;
    text-decoration: none;
    font-size: 16px;
   
}
ul.service a:hover svg{
    transform: translateX(-5px) rotate(360deg);
}
ul.service a:hover {
    text-decoration: underline;
}
ul.service a svg{
    fill: #6071ee;
    margin-right: 10px;
    transition: all 0.5s;
}
.employee .card .contact-info  h5{
font-size: 20px;
margin: 15px auto;
}
.employee .card .contact-info  ul.service a {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}
.employee .card .contact-info  ul.address a{
    display: flex;
    align-items: center;
    text-align: left;
    text-decoration: none;
    color: var(--thm-clr);
    font-size: 16px;
    flex-flow: column;
}
.employee .card .contact-info a{
    font-weight: 500;
}
.employee .card .contact-info  ul.address li{
    margin-top: 10px;
    border-bottom: 1px solid #fff;
    padding-bottom: 15px;
}
.employee .card .contact-info  ul li:last-child{
    border-bottom: 0px solid #fff;
    padding-bottom: 0px;
}
.employee .card .contact-info  ul.address a svg {
    min-width: 36px;
    height: 36px;
    fill: var(--thm-clr);
    margin-bottom: 10px;
    margin-top: 10px;
}
.employee .card .card-footer .products ul li{
    display: flex;
    align-items: center;
    gap: 5px;
}
.employee .card .card-footer .products ul li input{
appearance: none;
border: 1px solid #fff;
height: 10px;
width: 10px;
border-radius: 50%;
}
.employee .card .card-footer .products ul li.active input{
background: #fff;
}

.btn{
    padding: 8px 25px;
    border-radius: 30px;
    background-image: linear-gradient(to right, #67b26f, #4da2ca);
    color: #fff;
    text-decoration: none;
    transition: all 0.5s;
    outline: none;
    border-color: transparent;
    cursor: pointer;
    min-width: 100px;
    font-size: 18px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
}
.btn:hover{
    background-image: linear-gradient(to right, #4da2ca, #67b26f);
}
form{
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    align-items: center;
    justify-content: flex-start;
    flex-flow: column;
    margin: 25px auto;
    display: flex;
    flex-flow: column;
}
form *{
    text-align: left;
}
form input{
    padding:10px 20px;
    width: 100%;
    margin: 10px auto;
    font-size: 16px;
    outline: none;
    border:1px solid #6071ee;
    border-radius: 20px;
    color: #000;
}
form label{
    margin-top: 10px;
    font-size: 20px;
    display: block;
}
form input[type=file]{
    border-color: transparent;
    margin-top: 5px;
}
form .box{
    display: block;
    width: 100%;
}
form .img{
opacity: 0;
}
form .img:has(img.active){
    max-width: 250px;
    display: block;
    position: relative;
    opacity: 1;
}
form .img img{ 
   display: block;
    margin-left: 0;
    padding-right: 30px;
    position: relative;
    z-index: 2;
}
.primary{
    background: #6071ee;
}
.danger{
    background: #ff0000;
}
.success{
    background: #67b26f;
}
.w-fit{
    width: fit-content;
}
form .img:after{
    position: absolute;
    right: 0;
    top: 0;
    padding: 5px;
    aspect-ratio: 1;
    content: 'x';
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 1px 1px 6px #0006;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    cursor: pointer;
}
.m-5{
    margin: 5px;
}
form .btn{
    margin-top: 15px;
}
form input[type=file]::file-selector-button {
    border: 1px solid #3330;
    padding: .2em .4em;
    margin-right: 10px;
    border-radius: .2em;
    color: #fff;
    background-color: #6071ee;
    cursor: pointer;
    transition: 1s;
  }
table{
    width: 100%;
    border: 1px solid #0006;
}
table th,
table td{
    padding: 5px 10px;
    border: 1px solid #0005;
    font-size: 20px;
    font-weight: 500;
}
table td{
    text-transform: capitalize;
}
table td img {
    min-width: 150px;
    max-height: 100px;
    object-fit: contain;
}
table td a{
    display: block;
    margin: 5px auto;
}
.table-responsive{
    width: 100%;
    overflow: auto;
    padding: 10px;
    background: #fff;
}
.empadd,
.divbox{
    display: none;
}
.empadd.active,
.divbox.active{
    display: block;
}
.inner-content{
    max-width: 800px;
    width: 100%;
}
.divbox.active .btnempadd{
   margin: 10px;
}
.white-gray{
    background: #000;
}
.logoutform{
    background: transparent;
    padding-top:0px ;
}
.max-w-300{
    max-width: 300px;
    width: 100%;
}
.contact-info{
    position: relative;
}
.contact-info::before{
    content: '';
    position: absolute;
    height: 200%;
    width: 200%;
    background: #fff;
    z-index: 0;
    top: -21px;
    left: -50%;
}
.contact-info .content{
    position: relative;
    z-index:2;
}
@media (max-width: 600px) {
    main{
        align-items: flex-start;
    }
}

