@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --bg-primary: linear-gradient(120deg, #93278F, #662D91);
    /* --bg-primary: linear-gradient(120deg, rgba(39, 147, 114, 0.466), rgb(21, 221, 178)); */
    --bg-primary-inverse: linear-gradient(-120deg, #93278F, #662D91);
    --bg-secondary: #eceaead7;
    --color-one: #93278F;
    --color-two: #662D91;
    --color-three: #662D91;
    --color-four: #d9afec;
    --transparent: rgba(0, 0, 0, .8);
    --transparent-vert: rgb(2, 73, 31);
    /* les variables de la police */
    --police-text: 12px;
    --police-titre-h1: 26px;
}

* {
    font-family: 'Roboto', sans-serif;
    font-size: var(--police-text);
    font-weight: 400;
    word-spacing: .1vw;
    /* letter-spacing: .5px; */
    transition: ease-in-out 450ms;
    animation: aff 250ms ease-in-out;
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--bg-primary);
}

::-webkit-file-upload-button {
    height: 100%;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background-image: var(--bg-secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-three);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(235, 200, 7);
}

body {
    box-sizing: border-box;
    background-color: var(--bg-secondary);
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.choices:hover {
    border: 1px solid var(--color-one);
    cursor: pointer;
    box-shadow: 2px 2px 10px 5px rgba(0, 0, 0, .05);
}

.title_starter {
    font-size: 46px;
    font-weight: 700;
    color: var(--color-one);
}

#gridemps {
    display: none;
}

.layout .aside {
    background-image: var(--bg-primary);
}

.container {
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 34px;
    font-weight: 700;
}

h2 {
    font-size: 26px;
    font-weight: 700;
}

h3 {
    font-size: 22px;
    font-weight: 700;
}

h4 {
    font-size: 18px;
    font-weight: 700;
}

h5 {
    font-size: 16px;
    font-weight: 600;
}

h6 {
    font-size: 14px;
    font-weight: 500;
}

.first {
    display: flex;
    flex-direction: column;
    place-content: center;
    place-items: center;
    justify-content: center;
    align-items: center;
    block-size: 100vh;
    inline-size: 100vw;
    padding: 0 5%;
}

.noi_title {
    font-size: 56px;
    font-weight: 900;
}

.first:first-child {
    background-color: var(--bg-primary-inverse);
}

p,
label,
span {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .5px;
    word-break: keep-all;
}

strong {
    color: #93278F;
}

.innerdashboard {
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;

}

.innerdashboard .entete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-one);
    margin-block-end: 20px;
    border-block-end: 1px dashed rgba(206, 205, 206, 0.774);
}

.innerdashboard .entete i {
    font-size: 50px;
    padding: 40px;
    border-radius: 50%;
    background-color: #8710d723;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    inset-inline-end: -15%;
    inset-block-end: -15%;
}

.last {
    background-image: var(--bg-primary);
    color: white;

}

.last i {
    background-color: #ffffffec;
    color: white;
}

.raport_contrats_en_court {
    background-image: var(--bg-primary);
}

.rapport {
    max-block-size: 400px;
}

.rapport .stats {
    max-block-size: 250px;
    overflow-y: auto;
    border-radius: 10px;
}

/*button add_employer*/
.add_employers {
    background-image: linear-gradient(40deg, #8910d7, #2c0277);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    inline-size: 50px;
    block-size: 50px;
    border-radius: 50%;
    position: fixed;
    inset-block-end: 10%;
    inset-inline-end: 5%;
    border: 2px solid whitesmoke;
    z-index: 1000;
    transition: ease-in-out 450ms;
}

.add_employers:hover {
    transform: scale(1.2);
}

.add_employers button {
    color: #fff;
}

.add_employers button i {
    font-size: 24px;
}

/*design for my modal and formular*/
.modaling,
.modales {
    position: fixed;
    inline-size: 100%;
    block-size: 100%;
    background-color: var(--transparent);
    z-index: 9000;
    inset-block-start: 0;
    inset-inline-start: 0;
    display: none;
}

.modaling.active,
.modales.active {
    display: grid;
    place-items: center;
}

.modaling .card,
.modales .card {
    overflow: hidden;
}

.modaling .card-header,
.modales .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2%;
}

.modaling .innerModal {
    border-radius: 5px;
    padding: 5%;
    border: 2px solid var(--bg-secondary);
    max-block-size: 80vh;
    overflow-y: hidden;
}

.modaling .innerModal:hover {
    overflow-y: auto;
}

/*afficher un employer */
.emp {
    margin-block-end: 2%;
}

.emp .card {
    overflow: hidden;
    position: relative;
    background-color: white;
}

.emp .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
}

.emp .card-body {
    position: relative;
    /* padding: 0; */
    min-block-size: 300px;
    overflow-y: auto;
}

.emp .card-body .nodata {
    position: absolute;
    inline-size: 100%;
    block-size: 100%;
    inset-block-start: 0;
    inset-inline-start: 0;
    background-color: rgba(206, 205, 206, 0.774);
    display: flex;
    justify-content: center;
    align-items: center;
    /* filter: blur(1px); */
}

.emp .card-body .nodata div {
    z-index: 1;
}

.emp .card-body .nodata button,
.emp .card-body .nodata a {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .5);

}

.emp .card-body .nodata button:hover,
.emp .card-body .nodata a:hover {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .5);
}

.emp .card-body .iden {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 10px 0;
    border-block-end: 1px solid rgba(206, 205, 206, 0.774);
}



.emp .card-body .iden strong {
    font-weight: 600;
}

.gridemployer_bottom {
    border-block-start: .5px dashed #ccc;
}

.employers_card:hover {
    /* border: 1px solid var(--color-four); */
    outline: 1px solid var(--color-four);
    cursor: pointer;
}

/* champs de textes */
/* input {
    inline-size: 100%;

} */
label.input-group-text,
input.form-control,
select.form-control {
    border-radius: 3;
    border: none;
    outline: none;
    padding: 0 20px;
    background-color: #ecebeb75;
}
input.form-control:focus{
    border: none !important;
    outline: none;
}
.input-group,
.form-group {
    display: flex;
    margin-block-end: 10px;
    /* background-color: #e6e6e7; */
    border-radius: 5;
    padding: 3px;
}

.input-group .input,
.form-group .input {
    block-size: 45px;
    /* inline-size: 100%; */
    background-color: #ecebeb75;
    outline: none;
    border: none;
}
input.form-control:focus{
    border: none;
    outline: none !important;
}
select option {
    padding: 10px 5px 10px auto !important;
    font-size: 16px !important;
    border: none !important;
    outline: none !important;
    border-radius: 0 !important;
    /* box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, .5) !important; */
}

select option:checked {
    background-color: var(--color-one);
    color: white;
}

select option:hover {
    background-color: var(--color-four) !important;
    color: white;
}

/*Popup message d'erreur*/
.message {
    inline-size: 300px;
    padding: 10px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, .5);
    position: fixed;
    inset-inline-end: 5%;
    inset-block-end: 10%;
    border-radius: 10px;
    border: 1px solid var(--color-four);
    transition: ease-in .3s;
    animation: msg 450ms linear;
    background-color: black;
}

.message .msg .list-title {
    margin-block-end: 5px;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-block-end: 1px dashed var(--bg-secondary);
}

.message .msg .list-body {
    padding: 5px;
    color: rgb(145, 143, 143);
}

/*DASHBORD*/

.post {
    border-radius: 10px;
    padding: 2% 5%;
    inline-size: 100%;
    display: block;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    border: 0.5px solid var(--color-one);
}

.post .entete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-block-end: 1px dashed #ccc;
}

/*Formulaire*/

.formulaire button {
    background-image: var(--bg-primary);
    color: white;
    font-weight: 500;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
    margin-block-start: 50px;
    block-size: 40px;
    border: 0;
    outline: 0;
}

.formulaire button:hover {
    background-image: var(--bg-primary-inverse);
    color: white;
    font-weight: 500;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
    border: 0;
    outline: 0;
}

/* footer spinner loading */

.loading {
    position: fixed;
    place-content: center;
    place-items: center;
    inline-size: 100%;
    block-size: 100%;
    background-image: var(--bg-primary);
    z-index: 9000;
    inset-block-start: 0;
    inset-inline-start: 0;
    display: none;
    justify-content: center;
    align-items: center;
    color: white;
}

.loading .innerLoading {
    display: block;
    text-align: center;
}

.loading .innerLoading .spinner-border {
    color: #fff;
    font-size: 10px;
    border: 5px dashed white;
    inline-size: 20px;
    block-size: 20px;
}

.loading .innerLoading .visually {
    color: white;
    display: block;
    font-size: var(--police-text);
    margin-block-start: 10px;
    letter-spacing: 1px;
}

.spinner-border.btnSpinner {
    font-size: 10px;
    border: 2px dashed var(--color-one);
    inline-size: 20px;
    block-size: 20px;
    display: none;
}

/*progress bar*/
.myProgress {
    block-size: 10px;
    background-image: var(--bg-primary);
    /* border: 0.5px solid var(--color-four); */
    border-radius: 10px;
    margin-block-end: 10px;
}

.myProgress::-webkit-progress-bar {
    background-color: #e0e0e0;
}

.myProgress::-webkit-progress-value {
    background-image: var(--bg-primary-inverse);
    /* Green */
}

/*Photo de couverture et modification de phote de profil*/

.picture {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    inline-size: 100%;
    block-size: 200px;
    margin-block-end: 10px;
    overflow: hidden;
    overflow: hidden;
}

.picture img {
    object-fit: cover;
    inline-size: 200px;
    block-size: 200px;
    image-orientation: flip;
}

.picture .cover {
    position: absolute;
    inline-size: 100%;
    block-size: 100%;
    /* background-color: rgba(0, 0, 0, .1); */
    display: none;
    justify-content: center;
    align-items: center;
    /* border: 2px solid #2c0277; */
    border-radius: 5px;
}

.picture .cover label {
    inline-size: 100%;
    block-size: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    /* background: rgba(rgb(255, 255, 255), rgb(255, 255, 255), rgb(255, 255, 255), 0.9); */
}

.picture .cover label i {
    font-size: 40px;
    color: white
}

.picture:hover>.cover {
    display: flex;
    cursor: pointer;
}

.profil_title {
    inline-size: 100%;
    text-align: center;
}

.cardPlugins {
    position: relative;
}

.textNews {
    position: absolute;
    inset-block-start: 5%;
    inset-inline-end: 5%;
}

.installPlugins {
    display: none;
}

.installPlugins.active {
    display: flex;
}

.welcome-message {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 5px solid #4e73df;
}

.welcome-content {
    margin-top: 1.5rem;
}

.username {
    color: #4e73df;
    font-weight: 600;
}

.quick-tips {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    border: 1px dashed #ddd;
}

.fas {
    margin-right: 10px;
    color: #4e73df;
}