.form {
    width: 100%;
    text-align: -webkit-center;
}

.clustdoc-client-portal-wrap .card {
    max-width: 100%;
    border-radius: 7px;
    width: 95%;
}

.clustdoc-client-portal-wrap .text-center {
    text-align: center;
}

.clustdoc-client-portal-wrap .row {
    display: inherit;
    width: 100%;
}

.clustdoc-client-portal-wrap .card-block h4 {
    font-weight: normal;
    padding: 0 20%;
    color: #858C93;
}

.clustdoc-client-portal-wrap .form-control {
    padding: .375rem .75rem;
    font-size: 0.9rem;
    line-height: 1.3;
    background-clip: padding-box;
    border-radius: .25rem;
}

.clustdoc-client-portal-wrap .card-block input[type=text] {
    width: 400px;
    height: 40px;
}

.clustdoc-client-portal-wrap .pic-header img {
    width: 400px;
}

/* Boutons améliorés */
.clustdoc-client-portal-wrap input[type=submit],
.clustdoc-client-portal-wrap a.btn,
.generate-code-btn {
    background: #0085ba;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

.clustdoc-client-portal-wrap .disconnect {
    background: #0085ba;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    width: 70px;
    height: 31px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 15px;
}

.clustdoc-client-portal-wrap input[type=submit]:hover,
.clustdoc-client-portal-wrap a.btn:hover,
.generate-code-btn:hover,
.logout-btn:hover {
    background: #0073aa;
}


.clustdoc-client-portal-wrap .disconnect:hover {
    background: #0073aa;
}

.clustdoc-client-portal-wrap .messageError {
    border: #edf0f2 solid 1px;
    border-left-width: 4px;
    border-left-style: solid;
    box-sizing: border-box;
    text-align: center;
    background-color: #f8f9fa;
    padding: 1%;
    margin: 0% 0% 2% 0%;
    color: red;
    border-left-color: #fc6180;
}

.clustdoc-client-portal-wrap .messageSuccess {
    border: #edf0f2 solid 1px;
    border-left-width: 4px;
    border-left-style: solid;
    box-sizing: border-box;
    text-align: center;
    background-color: #f8f9fa;
    padding: 1%;
    margin: 0% 0% 2% 0%;
    color: green;
    border-left-color: #68e885;
}

.displayToken {
    color: #858C93;
    text-align: right;
}

.portal-text {
    margin-bottom: 100px;
}

.logout-section {
    display: flex;
    justify-content: center;
}