/*login*/
body, a, p, td, th, h3, font, input, select, textarea {
	font-family: "Hacen Tunisia Bd", Tahoma, Helvetica, sans-serif;
	font-size: 12px;
}
body
{
  margin: 8px;
  background-color: #fff;
  color: #333333;
}
img {border: 0;}
th {font-weight: normal;}
h3 {
    margin: 0;
    padding: 0.3em;
    text-align: center;
}
a, a:active, a:visited
{
  color: #1f75cc;
  outline: none;
}
a.button, a.button:visited, a.tab, a.tab:visited, a.axislist
{
  color: #333333;
  text-decoration: none;
}
a.tab
{
  width: 80px;
  display: block;
  text-align: center;
}
hr
{
  height: 1px;
  background-color: #666666;
  border-style: none;
}
select,
input[type="text"]{
  height: 24px;
  padding: 2px;
}
select,
input[type="text"],
input[type="button"],
input[type="password"],
textarea
{
  border: 1px solid;
  border-color: #e4e4ee;
  border-top-color: #aaadb2;
  color: #333333;
  background-color: #ffffff;
}
input, textarea
{
  color: black;
  padding: 1px 3px;
}
input.ui-button {
	font-family: "Hacen Tunisia Bd", Tahoma, Helvetica, sans-serif;
}
input.button
{
  height: 26px;
  color: #000;
  font-size: 11px;
  padding-left: 16px;
  padding-right: 16px;
  background: #f4fbff;
  border: 1px solid #aaccee;
}
input.button:hover
{
  background: #ddf1fd;
}
input.mainaction
{
  font-weight: bold;
  border: 1px solid #aaccee;
}
.alttext
{
  font-size: 11px;
}
.hint
{
  color: #666;
  font-size: 11px;
}
/** common user interface objects */
#mainscreen
{
  position: absolute;
  top: 110px;
  right: 20px;
  bottom: 20px;
  left: 20px;
}
#header
{
  position: absolute;
  top: 8px;
  left: 19px;
  width: 170px;
  height: 40px;
  z-index: 100;
}
#message
{
  position: absolute;
  display: none;
  top: -1px;
  left: 200px;
  right: 200px;
  z-index: 5000;
  opacity: 0.85;
}
#message div
{
  width: 400px;
  margin: 0 auto 0 auto;
  min-height: 22px;
  padding: 8px 10px 8px 46px;
}
#message div.notice,
#remote-objects-message
{
  background: url(/images/display/icons.png) 6px 3px no-repeat;
  background-color: #F7FDCB;
  border: 1px solid #C2D071;
}
#message div.error,
#message div.warning
{
  background: url(/images/display/icons.png) 6px -97px no-repeat;
  background-color: #EF9398;
  border: 1px solid #DC5757;
}
#message div.confirmation
{
  background: url(/images/display/icons.png) 6px -47px no-repeat;
  background-color: #A6EF7B;
  border: 1px solid #76C83F;
}
#message div.loading
{
  background: url(/images/display/loading.gif) 6px 3px no-repeat;
  background-color: #f4fbff;
  border: 1px solid #b9d5f1;
}
.box
{
  border: 1px solid #b9d5f1;
}
.boxcontent
{
  padding: 15px 10px 10px 10px;
}
.boxcontent table td.title
{
  color: #2c84e1;
  padding-right: 10px;
}
#console
{
  opacity: 0.8;
}
.disabled
{
  color: #999;
}
font.bold
{
  font-weight: bold;
}
/***** onclick menu list *****/
fieldset
{
  margin-bottom: 1em;
  border: 1px solid #bfd9f2;
  padding: 4px 8px 9px 8px;
}
legend
{
  color: #1f75cc;
}
fieldset.tabbed
{
  margin-top: 22px;
  padding-top: 12px;
}
.messagebar-inner {
  background-color: #F6F6F6;
  -moz-border-radius-bottomright: 10px;
  -moz-border-radius-bottomleft: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  padding-right:10px;
  padding-bottom:10px;
  padding-top:2px;
}
.messagebar-bar {
  color: #FFFFFF;
  margin: 0 auto;
  width:450px;
  display: none;
  border: 1px solid #afb7cf;
  border-top: none;
  -moz-border-radius-bottomright: 10px;
  -moz-border-radius-bottomleft: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  background-color: #F6F6F6;
  z-index: 240;
  right: 33%;
  text-align: center;
}
.messagebar-close {
    width: 16px;
    height: 16px;
    float: left;
    background: url(/images/close.png) top left no-repeat;
}
.messagebar-close:hover {
  display: block;
  background-position: 0px -16px;
}
#langChange {
	width: 100px;
	direction:ltr;
}
#status {
	background-color: #E6E7E8;
}
#status-form {
  margin: 0 auto 0 auto;
  width: 639px;
  border: 1px solid #999;
  -moz-box-shadow: 3px 3px 4px #999;
  -webkit-box-shadow: 3px 3px 4px #999;
  box-shadow: 3px 3px 4px #999;
}

#status-form .boxtitle {
	width: auto;
	height:35px;
	margin: 0px;
	text-align:center;
 	vertical-align:middle;
	padding: 0;
	font-size:13px;
	color:#cc0033;
	font-weight:bold;
	list-style-type: none;
	padding-top: 10px;
	background: url(/themes/inet/images/title_bg.jpg) #fff top right no-repeat;
}
#status #logo {
  position: absolute;
  right: 0;
  bottom: 20px;
}
#status-container {
  margin: 0;
  padding: 155px 0 100px 0;
}
.copyright {
  font-family: "Hacen Tunisia Bd", sans-serif;
  text-align:center;color: #8d8d8d;font-size: 10px;
}
.copyright a {
  font-family: "Hacen Tunisia Bd", sans-serif;
  text-decoration: none;
  color: #1382ca;
}

/* Modern login layout (Bootstrap grid + project theme tokens) */
#login {
  min-height: 100vh;
  background:
    radial-gradient(1200px 420px at 50% -10%, rgba(0, 137, 183, 0.12), rgba(0, 137, 183, 0)),
    linear-gradient(180deg, #eff9ff 0%, #f8fcff 100%);
}

#login-container {
  background: none;
  min-height: 100vh;
  padding-top: clamp(16px, 4vh, 48px);
  padding-bottom: clamp(16px, 4vh, 48px);
  box-sizing: border-box;
}

#login-form.card {
  width: 100%;
  border: 1px solid #cfe4f5 !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(2px);
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 92, 136, 0.14) !important;
}

.login-langbar {
  width: 100%;
}

.login-lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c7deef;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.login-lang-toggle .lang-btn {
  min-width: 48px;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: #0d6a92;
  padding: 0.35rem 0.75rem;
  background: transparent;
}

.login-lang-toggle .lang-btn + .lang-btn {
  border-left: 1px solid #c7deef;
}

.login-lang-toggle .lang-btn.active {
  background: linear-gradient(135deg, #0089b7, #2f9ed0);
  color: #fff;
}

.login-lang-toggle .lang-btn:hover {
  color: #0a5a7c;
}

#login-form .login-title {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #0089b7, #2f9ed0);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

#login #logo {
  position: static;
  margin: 0 auto;
  max-width: min(220px, 70vw);
  height: auto;
}

#login-contents .title {
  color: #0d6a92;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

#login-contents.login-stack > .field-row,
#login-contents.login-stack > .small,
#login-contents.login-stack > .pt-1 {
  margin-bottom: 0.9rem;
}

#login-contents.login-stack > :last-child {
  margin-bottom: 0;
}

.captcha-row > * {
  margin-right: 0.5rem;
  margin-bottom: 0.35rem;
}

#login-contents .form-control,
#login-contents .form-select,
#login-contents .input-group-text {
  min-height: 42px;
  border-color: #d5e7f4;
}

#login-contents .form-control:focus,
#login-contents .form-select:focus {
  border-color: #66afe9;
  box-shadow: 0 0 0 0.2rem rgba(0, 137, 183, 0.14);
}

#login-contents .input-group-text {
  background: #f4f9fd;
  color: #39627a;
}

#captcha {
  max-width: 100%;
  height: auto;
}

.login-submit {
  width: 100%;
  min-height: 42px;
  font-weight: 600;
  background: linear-gradient(135deg, #0089b7, #2f9ed0);
  border-color: #0089b7;
  color: #fff;
}

.login-submit:hover,
.login-submit:focus,
.login-submit:active {
  background: linear-gradient(135deg, #0089b7, #2f9ed0);
  border-color: #0089b7;
  color: #fff;
}

.selfcare-note {
  line-height: 1.5;
}

.login-copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1.2;
}

.login-copyright-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
}

.login-copyright-logo {
  height: 22px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

@media (min-width: 576px) {
  .login-submit {
    width: auto;
    min-width: 140px;
  }
}

@media (max-width: 420px) {
  .login-lang-toggle .lang-btn {
    min-width: 44px;
    padding: 0.3rem 0.65rem;
  }
  #login-form.card .card-body {
    padding: 1rem !important;
  }
  #login-form .login-title {
    font-size: 0.95rem;
  }
}
