@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
    font-family: 'cfnews';
    src: local('cfnews'),
    url('https://docs.cfnewsimmo.net/css/font/cfnews.woff2?6945EE65') format('woff2'),
    url('https://docs.cfnewsimmo.net/css/font/cfnews.woff?694EEE515') format('woff'),
    url('https://docs.cfnewsimmo.net/css/font/cfnews.ttf?6945EEE05') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    height: 100%;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
}

.custom-shadow {
    box-shadow:
            0 -4px 6px -1px rgba(0, 0, 0, 0.1),
            0 4px 6px -1px rgba(0, 0, 0, 0.1),
            0 0 0 1px rgba(0, 0, 0, 0.05);
}

/**
********************************
colonne gauche
********************************
**/

.header-emp-img {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;

}

.header-emp-img{
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
}

.header-brand-img {
    width: 263px;
    margin-left: 60px;
}

.header-brand-img.icon-logo {display: none}


/**
********************************
colonne de droite
********************************
**/
#connexion {text-align: left;}

sup {top: 0em;font-size: 10px;}

.hover-custom-blue:hover {color: #13568f;}

#eye-blocked-1 {
    position: absolute;
    top: 8px;
    right: 15px;
    cursor: pointer;
}

#eye-blocked-1::before {
    content: "\e807";
    font-family: cfnews, sans-serif;
    font-style: normal;
    font-size: 16px;
}

#eye-blocked-1.open::before {
    content: "\e807";
}


/* registration pane */
.red-icon{
    color: red;
}

input, select, textarea {
    color: #000
}

input:focus, textarea, textarea:focus {
    color: gray;
}

.user-form input, .user-form .dropdown-toggle.btn-default {
    border: 1px solid rgba(0, 149, 255, 0);
    background-color: #F7F7F7;
    color: #000000;
}

.select2-container .select2-search--inline {
    /* float: left; */
    float: none;
}

.select2-container .select2-search--inline .select2-search__field {
    box-sizing: border-box;
    border: none;
    font-size: 100%;
    margin-top: 0!important;
    margin-left: 0!important;
    padding: 0;
    max-width: 100%;
    resize: none;
    height: 24px!important;
    vertical-align: bottom;
    font-family: sans-serif;
    overflow: hidden;
    word-break: keep-all;
}
.select2-container--default .select2-selection--multiple {
    border: 1px solid #e5e7eb!important;
}

.lt-compte {
    margin-bottom: 15px;
    position: relative;
    text-align: center;
}

input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill{
    box-shadow: inset 0 0 0 50px #fff
}

.alert {
    margin-bottom: 0px;
    padding: 3px;
}

/**
****************************************************************************
******************************** RESPONSIVE ********************************
****************************************************************************
**/

/* Logo connexion & Image */
@media (max-width: 768px) {
    .header-emp-img {
        width: 80%;
        max-width: 350px;
    }

    .header-brand-img {
        width: 200px;
        margin-left: 30px;
    }

    .header-brand-img.icon-logo {
        display: block;
    }
}
@media (max-width: 480px) {
    .col-left-login {
        display: none;
    }

    .header-emp-img {
        width: 100%;
        max-width: none;
    }

    .header-brand-img {
        width: 150px;
        margin-left: 0;
    }

    .header-brand-img.icon-logo {
        display: block;
    }
}


/**
****************************************************************************
******************************** REINITIALISATION **************************
****************************************************************************
**/
.forgot-pwd-at {
    font-size: 11px;
}
#password-tips {
    display: none;
    margin-top: 20px;
    font-family: 'Arial', sans-serif;
    background-color: #f9fafb;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.password-tip {
    position: relative;
    padding-left: 30px;
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.password-tip.valid {
    color: #38a169;
    font-weight: bold;
}

.password-tip.invalid {
    color: #e53e3e;
}
