
body, html {
    height: 100%;
    background: linear-gradient(135deg, #15172A, #007bff); !important;
  }  /* Force l'application de la couleur */
    min-height: 481px;
    background-repeat: no-repeat;
}

/* Containers ScriptCase */
.scContainer, .scContent, .scGridPage, .scFormPage, .scAppDiv,
.scGridTabela, .scGridTabelaTd, .scFormTable, .scFormTableTd {
  background: transparent !important;
}

.card-container.card {
    max-width: 350px;
    padding: 3%;
    border-radius: 15px; /* Coins arrondis */
    background: linear-gradient(135deg,#f0f0f0,#10285A);!important /* Dégradé moderne */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Ombre subtile */
    animation: expand 0.8s ease-out forwards; /* Animation d’apparition */
}


.btn {
    font-weight: 700;
    height: 36px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
}

/*
 * Card component
 */
.card {
    Background:linear-gradient(135deg, #C0C0C0, #A9A9A9);
    /* just in case there no content*/
	position:absolute;
    padding: 20px 25px 30px;
  	left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    /* shadows and rounded borders */
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}

.profile-img-card {
    width: 96px;
    height: 96px;
    margin: 0 auto 10px;
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

/*
 * Form styles
 */
.profile-name-card {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 0;
    min-height: 1em;
}

.reauth-email {
    display: block;
    color: #404040;
    line-height: 2;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin #inputEmail,
.form-signin #inputPassword {
    direction: ltr;
    height: 44px;
    font-size: 16px;
}

.form-signin input[type=email],
.form-signin input[type=password],
.form-signin input[type=text],
.form-signin button {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin .form-control:focus {
    border-color: rgb(104, 145, 162);
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
}

.btn.btn-signin {
    background: linear-gradient(135deg, #C0C0C0, #A9A9A9); /* Dégradé gris argenté */
    padding: 6px 12px; /* Moins large et plus compact */
    font-weight: bold;
    font-size: 14px;
    height: 36px;
    border-radius: 6px; /* Coins légèrement arrondis */
    border: 1px solid #8C8C8C; /* Bordure subtile */
    color: white; /* Texte en blanc pour contraste */
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.btn.btn-signin:hover,
.btn.btn-signin:active,
.btn.btn-signin:focus {
    background-color: rgb(12, 97, 33);
}

.forgot-password {
    color: rgb(104, 145, 162);
}

.forgot-password:hover,
.forgot-password:active,
.forgot-password:focus{
    color: rgb(12, 97, 33);
}
/*menu-links-blue*/
.class-links a {
    text-decoration: none;
    color: #C0C0C0; /* Gris argenté */
    font-family: 'Inter', sans-serif; /* Police moderne */
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease-in-out, text-decoration 0.3s ease-in-out; /* Effet fluide */
}

.class-links a:hover,
.class-links a:active,
.class-links a:focus {
    color: #3b8683; /* Bleu lorsqu'il est actif */
    font-weight: 600;
    text-decoration: underline;
}

/*fim-menu-links-blue*/

/*mensagem*/
#id_error_display_fixed {width: 100%;background: rgba(0, 0, 0, 0.4);height: 100%;;}
table.scFormErrorTable{position:absolute;left: 50%;transform: translate(-50%, -50%);top: 50%;padding: 15px;background-color: #ffffff;box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);opacity:1;width: 250px;height: 100px;}
td.scFormErrorMessage {padding: 25px 0 5px !important;}
td.scFormErrorTitleFont{color: rgba(0, 0, 0, 0);position: relative;top: 8px;}
td.scFormErrorTitleFont img {position: absolute;left: 50%;margin-left: -15px;}
a.scButton_default {position: absolute;right: 15px;top: 15px;}
td.scFormErrorTitleFont img {margin-top: -5px;}
a.scButton_default {font-size: 10px;border: 1px solid #ccc;border-radius: 5px;padding: 2px 5px;text-decoration: none;color: #555;right: 8px;top: 8px;}
/*fim mensagem*/
@media (max-width: 768px) {
.card-container.card {max-width: 350px;padding: 6%;width: 80%;}
}