*{
    box-sizing: border-box;
}

.dashboard{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;   
    color: red;
}

.our-partner-logos-group{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.our-partner-logos{
    flex: 0 0 calc(20% - 15px);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 5px 0.5px rgba(0, 0, 0, 0.2);
    height: 150px;
}

.our-partner-logos img{
    width: 80px;
}

.delete-our-partner-logo{
    padding: 1px;
    padding-inline: 13px;
    border-radius: 5px;
    color: white;
    font-size: 1.2rem;
    position: absolute;
    right: 0;
    top: 0;
    margin: 10px;
    background-color: #d83844;
}

.delete-our-partner-logo:hover{
    background-color: darkred;
}

.btn-add-our-partner{
    color: white;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 15px;
}

.our-partner-logo-modal-footer button{
    padding: 5px;
    border-radius: 5px;
    color: white;
    padding-inline: 8px;
}


.tab-admin{
    display: flex;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 0 5px 0.5px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    overflow: hidden;
}

.tablinks-admin{
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.tablinks-admin:hover{
    color: white;
    transition: all 0.2s ease-in-out;
    background-color: black;
}

.tablinks-admin.active{
    background-color: black;
    color: white;
}

.our-product-content-admin{
    box-shadow: 0 0 5px 0.5px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    margin-top: 20px;
    overflow: hidden;
    padding: 15px;
    height: auto;
}

.our-product-content-admin img{
    background-position: center;
    background-size: contain;
    height: 100%;
    border-radius: 15px;
}

.our-product-logo-group {
    border-radius: 15px;
    box-shadow: inset 1px 1px 3px 2px rgba(0, 0, 0, 0.1);
    padding: 10px;
    padding-inline: 20px;
    display: flex;
    overflow-x: auto;
}

.our-product-logo img{
    width: 75px;
}

.our-product-edit{
    width: 50px;
    height: 50px;
    color: white;
    border-radius: 15px;
    font-size: 1.2rem;
    background-color: darkgray;
    transition: 0.2s ease-in;
}

.our-product-save{
    width: 50px;
    height: 50px;
    color: white;
    border-radius: 15px;
    font-size: 1.2rem;
    background-color: green;
    transition: 0.2s ease-in;
}

.our-product-edit:hover{
    background-color: black;
}

.our-product-save:hover{
    background-color: darkgreen;
}

.our-product-delete{
    width: 50px;
    height: 50px;
    color: white;
    border-radius: 15px;
    font-size: 1.2rem;
    background-color: red;
    transition: 0.2s ease-in;
}

.our-product-delete:hover{
    background-color: darkred;
}

.btn-add-our-product{
    color: white;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 15px;
}

.notification-admin{
    position: absolute;
    width: 12px;
    height: 12px;
    content: '';
    background-color: red;
    border-radius: 50%;
    right: 0;
    top: 0;
    margin-right: -5px;
    margin-top: 1px;
}

.message-admin{
    height: 100vh;
}

.sidebar-admin{
    width: 35vw;
    height: calc(100vh - 4em) ;
    overflow-y: auto;
    box-shadow: 0 0 5px 0.5px rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.client-message{
    box-shadow: 0 0 1px 0.5px rgba(0, 0, 0, 0.4);
    height: auto;
    padding: 15px;
}

.client-message:hover{
    background-color: lightgray;
    cursor: pointer;
    transition: 0.1s ease-in-out ;
}

.client-message-content{
    width: 100%;
    z-index: 0;
    padding: 1em;
}

.message-header{
    width: 100%;
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.btn-message-delete{
    border-radius: 10px;
    padding: 10px;
    color: white;
    background-color: red;
}

.btn-message-delete:hover{
    background-color: darkred;
    cursor: pointer;
}

.message-content{
    border-radius: 5px;
    padding: 5px;
    padding-inline: 10px;
    background-color: white;
}

.sidebar-admin .active{
    background-color: lightgray;
}

.new-message{
    background-color: white;
}

.news-date-admin{
    text-align: end;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.news-content{
    flex: 0 0 calc(25% - 10px);
    height: 500px;
    box-shadow: 0 0 5px 0.5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px;
}

.img-news-admin{
    object-fit: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 50%;
    border-radius: 5px;
}

.news-admin{
    gap: 10px;
    flex-wrap: wrap;
}

.btn-group-news{
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: 5px;
    gap: 10px;
    color: white;
    bottom: 0;
    right: 0;
    margin: 10px;
}

.btn-trash-news{
    padding: 10px;
    padding-inline: 12px;
    border-radius: 5px;
}

.btn-detail-news{
    padding: 10px;
    padding-inline: 12px;
    border-radius: 5px;
}

.btn-edit-news{
    color: white;
    padding: 10px;
    padding-inline: 20px;
    border-radius: 5px;
}

.news-detail-img{
    object-fit: cover;
    height: 300px;
}

.btn-back-news{
    color: white;
    padding: 10px;
    padding-inline: 20px;
    border-radius: 5px;
}

.btn-cancel-news{
    color: white;
    padding: 10px;
    padding-inline: 20px;
    border-radius: 5px;
}