﻿/* Main CSS Document */

/* Header */
:root {

  /* Colors: */
  --ui-primary-white: #FFFFFF;
  --ui-secondary-white: #E0E0E0;
  --red-accent: #F9423A;
  --blue-primary: #0968B3;
  --blue-secondary: #06426F; 
  --font-primary: #294a63;
  --button-secondary: #828282;
  --unnamed-color-000000: #000000;

  /* Font/text values */
  --unnamed-font-family-lato: Lato;
  --unnamed-font-style-normal: normal;
  --unnamed-font-weight-600: 600px;
  --unnamed-font-weight-normal: normal;
  --unnamed-font-size-18: 18px;
  --unnamed-character-spacing-0: 0px;
  --unnamed-line-spacing-22: 22px;
  --unnamed-text-transform-titlecase: titlecase;
}

/* Character Styles */
.unnamed-character-style-1 {
  font-family: var(--unnamed-font-family-lato);
  font-style: var(--unnamed-font-style-normal);
  font-weight: var(--unnamed-font-weight-600);
  font-size: var(--unnamed-font-size-18);
  line-height: var(--unnamed-line-spacing-22);
  letter-spacing: var(--unnamed-character-spacing-0);
  color: var(--unnamed-color-000000);
  text-transform: var(--unnamed-text-transform-titlecase);
}

.unnamed-character-style-2 {
  font-family: var(--unnamed-font-family-lato);
  font-style: var(--unnamed-font-style-normal);
  font-weight: var(--unnamed-font-weight-normal);
  font-size: var(--unnamed-font-size-18);
  line-height: var(--unnamed-line-spacing-22);
  letter-spacing: var(--unnamed-character-spacing-0);
  color: var(--unnamed-color-828282);
}

/* CSS reset*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

input::-ms-reveal,
input::-ms-clear {
  display: none;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

body {
    margin: 0;
}

section {
  background: var(--ui-primary-white);
}

.header {
  max-width: 1200px;
  width: 100%;
  padding: 1rem 0;
  margin: 0 auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  position: relative;
  align-items: center;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-element {
  padding: 10px;
}

#navLoginSpan {
  margin-right: 1rem;
}

#loginSpan {
  cursor: pointer;
  color: var(--font-primary);
  background: var(--ui-secondary-white);
  padding: 10px 20px;
  text-align: center;
  font-size: 16px;
  border: 1px solid transparent;
  border-radius: .25em;
  margin-left: 1em;
}

#hamburgerMenu {
  cursor: pointer;
  height: 30px;
}

.position-relative {
  position: relative;
}

.header .nav-left,
.navbar .nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header img,
.nav-left img,
.login-brand img {
  width: 70%;
  max-width: 100%;
  margin-left: 0; /* override any negative offsets on small screens */
}

:root {
  --card-bg: #ffffff;
  --accent: #0b66a3;
  --accent-dark: #0a4f7a;
  --muted: #6c8191
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: Segoe UI, Roboto, Helvetica, Arial;
}

.login-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 80vh;
  max-width: 1200px;
  width: 100%;
  padding: 1.25rem 0;
  margin: 0 auto;
  padding: 20px
}

.login-card {
  width: 100%;
  max-width: 500px;
  background: var(--card-bg);
  padding: 38px 42px;
  position: relative
}

.login-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4em 0;
  margin-bottom: 20px;
}

.login-brand p1 {
  margin: 0;
  color: var(--accent);
  font-size: 20px;
  font-weight: bold
}
.login-brand p2 {
  margin: 0;
  color: var(--muted);
  font-size: 15px
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px
}

label {
  font-size: 15px;
  color: var(--accent);
  /*color: #294a63*/
}

.loginInputField {
  height: 40px;
  padding: 10px 12px;
  border: 1px solid #e6eef3;
  border-radius: 6px;
  font-size: 14px;
  outline: none
}

.password-wrap {
  position: relative
}

.toggle-pass {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer
}

.forgot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px
}

.forgot-row a {
  color: var(--accent);
  text-decoration: none;
  font-size: 13px
}

.input-wrapper {
    position: relative;
    /*width: 100%;*/
}

.input-field {
    width: 100%;
    height: 40px;
    padding: 10px 40px;
    border: 1px solid #e6eef3;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

/* LEFT ICON */
.input-icon.left {
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px; 
  display: flex;
  align-items: center;
  padding: 0;
}
/* RIGHT ICON */
.input-icon.right {
  position: absolute;
  right: 10px;
  top: 10px;
  bottom: 10px; 
  display: flex;
  align-items: center;
  padding: 0;
  cursor: pointer; /* useful for eye icon */
}
.input-icon img {
    height: 100%; /* fill available height */
    width: auto; /* keep ratio */
}

.btn-login {
  width: 100%;
  display: inline-block;
  background: var(--blue-primary);
  color: var(--ui-primary-white);
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none
}

.divider {
  height: 1px;
  background: #eef4f7;
  margin: 30px 0;
  border-radius: 2px
}

.new-investor {
  text-align: center;
  color: #23495f
}

.new-investor h4 {
  margin: 0 0 6px 0;
  color: #0f5b85;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
}

.new-investor p {
  margin: 0 0 12px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.btn-activate {
  width: 100%;
  display: inline-block;
  background: var(--blue-secondary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  min-width: 110px
}

.btn-secondary {
  background: #808080;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  min-width: 110px;
}

.btn-danger {
  background: #ff0000;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  min-width: 110px;
}

.btn-text {
  background: unset;
  color: var(--accent);
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
}

.agreement-card {
  width: 100%;
  background: var(--card-bg);
  border-radius: 18px;
  padding: 38px 42px;
  box-shadow: 0 10px 30px rgba(4, 17, 34, .45);
  position: relative
}

/* Modal styles (placeholder icon inside) */
.verify-trigger {
  background: transparent;
  border: 1px dashed #c7d6e0;
  color: #083a58;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 10, 30, 0.45);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto
}

.modal-dialog {
  background: #fff;
  border-radius: 8px;
  padding: 22px 28px;
  max-width: 520px;
  width: 92%;
  box-shadow: 0 12px 40px rgba(2, 10, 30, .28);
  text-align: center;
  position: relative;
  pointer-events: auto;
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f3f6f8, #e9f0f4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-weight: 700;
  color: #0b66a3
}

.modal-title {
  font-weight: 600;
  margin: 0 0 6px 0;
  color: #103b57
}

.modal-sub {
  margin: 0 0 14px 0;
  color: #607a88;
  font-size: 13px
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 8px
}

.modal-btn {
  background: #0b66a3;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer
}

.modal-btn.secondary {
  background: #e9f0f6;
  color: #0b66a3
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer
}

#globalTradingDialog {
  max-width: 620px;
}

#globalTradingTitle {
  font-size: large;
}

#globalTradingContent {
  margin: 1em auto;
  text-align: left;
  gap: 10px;
  width: 85%;
}

#globalTradingList {
  list-style-type: circle;
}

#globalTradingList li{
  margin-left: 2em;
}

#globalTradingAction {
  max-width: 50%;
  margin: 1em auto;
  font-size: 14px;
}

/* OTP modal specific styles */
.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 18px 0
}

.otp-digit {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid #e6eef3;
  background: transparent;
  text-align: center;
  font-size: 20px;
  line-height: 44px
}

.otp-digit::placeholder {
  color: #b7c6d1
}

.otp-hint {
  letter-spacing: 8px;
  margin-top: 6px;
  color: #506b7a
}

/*============== Old CSS to clean up =================*/

.clsBody {
  padding: 0px;
  margin: 0px;
  color: #707070;
  font: 14px/18px "Trebuchet MS", Arial, Helvetica, sans-serif;
}

div,
p,
ul,
h2,
h3,
img {
  padding: 0px;
  margin: 0px;
}

#dialogTimeout,
#dialogForceLogout2 {
  font-size: 11px;
}

.clsErrContent ul {
  list-style-type: square;
  width: auto;
  height: auto;
}

.clsErrContent ul li {
  margin-top: -5px !important;
  font-weight: normal;
}

.olMenu li {
  list-style-type: square;
  color: #000;
  vertical-align: middle;
}

.linkmenu,
.linkmenu a {
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}

.linkchgpwd,
.linkchgpwd a {
  width: auto;
  color: #707070;
  cursor: pointer;
  text-decoration: none;
}

.linkBtnChgPwd * {
  color: #FFFFFF;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
}

.clsMsgChgPwd {
  color: #FFFFFF;
  font-size: 13px;
}

.clsMenuTopBg {
  BACKGROUND-COLOR: #2a721f;
}

.clsMsgBox {
  font-weight: normal;
}

.clsButton093 {
  BORDER-TOP-WIDTH: 0px;
  FONT-WEIGHT: bolder;
  BORDER-LEFT-WIDTH: 0px;
  FONT-SIZE: 12px;
  FILTER: PROGID:DXImageTransform.Microsoft.Shadow(color=#000000, direction=135, strength=1);
  /*BACKGROUND-IMAGE: url(/Ecos/images/demo/btnGreen_bg.gif);*/
  BACKGROUND-COLOR: #65BCFF;
  BORDER-BOTTOM-WIDTH: 0px;
  WIDTH: 88px;
  CURSOR: hand;
  COLOR: #ffffff;
  FONT-FAMILY: Tahoma, Verdana, Arial, Helvetica;
  HEIGHT: 25px;
  BORDER-RIGHT-WIDTH: 0px
}

.clsButton093 {
  BORDER-TOP-WIDTH: 0px;
  FONT-WEIGHT: bolder;
  BORDER-LEFT-WIDTH: 0px;
  FONT-SIZE: 12px;
  FILTER: PROGID:DXImageTransform.Microsoft.Shadow(color=#000000, direction=135, strength=1);
  /*BACKGROUND-IMAGE: url(/Ecos/images/demo/btnGreen_bg.gif);*/
  BACKGROUND-COLOR: #65BCFF;
  BORDER-BOTTOM-WIDTH: 0px;
  WIDTH: 88px;
  CURSOR: hand;
  COLOR: #ffffff;
  FONT-FAMILY: Tahoma, Verdana, Arial, Helvetica;
  HEIGHT: 25px;
  BORDER-RIGHT-WIDTH: 0px
}

A.linkChgpwd:link {
  COLOR: #4B4B4B;
  TEXT-DECORATION: none;
  font-size: 11px;
}

A.linkChgpwd:visited {
  COLOR: #4B4B4B;
  TEXT-DECORATION: none;
  font-size: 11px;
}

A.linkChgpwd:hover {
  COLOR: #4B4B4B;
  TEXT-DECORATION: underline;
  font-size: 11px;
}

/*----TOP PANEL----*/
#topPan {
  width: 1024px;
  height: 90px;
  position: relative;
  margin: 0 auto;
  padding: 0px;
  display: none;
}

#date {
  position: absolute;
  left: 795px;
  top: 70px;
  height: 28px;
  z-index: 2;
  color: #4B4B4B;
  font-size: 14px;
}

/*width:300px;*/
#UsrID {
  position: absolute;
  left: 795px;
  top: 30px;
  height: 28px;
  z-index: 2;
  color: #17469E;
  font-weight: 600;
  font-size: 14px;
}

/*width:300px;*/
#PwdPin {
  position: absolute;
  left: 795px;
  top: 50px;
  height: 28px;
  z-index: 2;
  color: #4B4B4B;
  font-size: 11px
}

/*width:300px;*/
#imgLogo {
  position: absolute;
  left: 0px;
  top: 15px;
  width: 33%
}

#divPFMode {
  position: absolute;
  left: 625px;
  top: 65px;
  height: 28px;
  z-index: 2;
  color: #FFF;
}

/*width:300px;*/

/*----BANNER TOP PANEL----*/
#bannertopmainPan {
  width: 100%;
  background: #000000;
  color: #8D8D8D;
  float: left;
  clear: both;
}

#bannertopPan {
  width: 1024px;
  position: relative;
  background: #000000;
  color: #707070;
  margin: 0 auto;
  padding: 0px;
}

#menu {
  display: none;
}

#menu * {
  z-index: 1;
}

/*---Announcement---*/
#announcementPan {
  width: 178px;
  height: 246px;
  position: relative;
  margin: 0 auto;
  padding: 0;
  background: url(../../images/093/left-top.gif) 0 0 no-repeat;
  background-position: top
}

#announcementPan h3 {
  width: 135px;
  height: 15px;
  padding: 10px;
  margin: 3px 10px 10px 10px;
  font-weight: normal;
  display: block;
  color: #FFFFFF;
  background: #030;
}


/*----CONTENT PANEL----*/
#contentPanLogin {
    width: 100%;
    color: #8D8D8D;
    background: url("../../images/068/login-bg-01c.png") no-repeat center top;
    background-size: cover;
    /*float: left;
  clear: both;*/
}

#contentPan {
  width: 100%;
  color: #8D8D8D;
  background: url("../../images/068/login-bg-01a.png") no-repeat center top;
  background-size: cover;
  /*float: left;
  clear: both;*/
}

#contentmainPan {
  /*width: 1680px;*/
  width: 100%;
  position: relative;
  color: #FFFFFF;
  margin: 0 auto;
  padding: 10px;
}

/*-- RESEARCH --*/
.title {
  width: 250px;
  height: 30px;
  display: block;
  background: #003715;
  color: #fff;
  font: 14px Georgia, "Times New Roman", Times, serif;
  margin: 6px 8px 16px;
  padding: 0 0 0 20px;
}

.research_title {
  BACKGROUND-IMAGE: url(../../images/093/arrow01.gif);
  PADDING-BOTTOM: 8px;
  PADDING-LEFT: 20px;
  WIDTH: 98%px;
  PADDING-RIGHT: 0px;
  BACKGROUND-REPEAT: no-repeat;
  BACKGROUND-POSITION: 0px 13px;
  COLOR: #666666;
  MARGIN-LEFT: 8px;
  CURSOR: pointer;
  PADDING-TOP: 8px;
  text-align: left;
}

.research_title A {
  COLOR: #666666;
  text-decoration: none;
}

.research_title A:hover {
  COLOR: #ff7700;
  TEXT-DECORATION: underline;
}

/*--Block--*/
#navigation {
  width: 178px;
  padding: 0 0 0 5px;
  float: left;
  display: block;
}

#box {
  width: 265px;
  padding: 0 0 0 5px;
  float: left;
  display: block;
}

#box h3 {
  width: 255px;
  height: 20px;
  padding: 5px;
  margin: 0;
  font-weight: normal;
  display: block;
  color: #FFFFFF;
  background: #030;
}



/*-- FOOTER --*/
#footerPan {
  width: 100%;
  background: #ffffff;
  float: left;
  clear: both;
  display: none
}

#footermainPan {
  width: 1024px;
  position: relative;
  margin: 0 auto;
  padding: 0px;
}

.footer {
  margin-top: 20px;
  font-size: 11px;
  padding-bottom: 20px;
}

.footerbar {
  background-color: #17469E;
  height: 5px;
  width: 1024px;
  margin-bottom: 20px;
}

.footerlnk {
  float: left;
  margin-bottom: 20px;
  margin-left: 352px
}

.footerlnk a {
  font-size: 11px;
  color: black;
  text-decoration: none;
}

.footerlnk a:hover {
  font-size: 11px;
  color: green;
  text-decoration: none;
}

.contactsbar {
  font-size: 11px;
}

.copyright {
  font-size: 11px;
  float: right;
  text-align: right;
}

.clearboth {
  clear: both;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.loginModal {
    display: none;
    position: absolute;
    z-index: 99999;
    padding: 15px;
    border-radius: 10px;
    height: auto;
    width: 260px;
    top: 100px;
    right: 40px;
    background: white;
}

.loginModal .m-0 {
    font-size: 16px;
}

.login-brand img {
  max-height: 100px;
  margin-left: 0;
  max-width: 400px;
}

.login-modal-img {
    height: 30px;
    margin-right: 20px;
}

.login-modal-element {
    align-items: center;
    color: #888888;
}

@media (max-width: 768px) {
  .navbar-company {
    width: 50%;
    margin-left: 1em;
  }

  #contentPanLogin {
    background: none
  }

  .login-container,
  .cntPwdPinTbl {
    justify-content: center;
    padding: 16px;
    min-height: 65vh;
    margin-top: 64px;
  }

  .login-card {
    width: 100%;
    max-width: 520px;
    padding: 20px;
    box-sizing: border-box;
  }

  .login-brand img {
    height: 48px;
    margin-left: 0;
    max-width: 140px;
  }

  .form-row { gap: 6px; }

  .input-field,
  .loginInputField {
    font-size: 16px;
    padding: 12px 14px;
    height: 44px;
  }

  .btn-login,
  .btn-activate,
  .modal-btn {
    min-height: 44px;
    padding: 12px 16px;
    font-size: 16px;
  }

  .toggle-pass {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
  }

  /* chgpwdpin */
  #contentmainPan table[width="480"],
  #contentmainPan > table,
  #contentmainPan table[width] {
    width: 95% !important;
    max-width: 480px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 16px;
  }
}

@media (max-width: 560px) {
  .navbar-company{
    width: 45%;
    margin-left: 1em;
  }

  .login-container { 
    justify-content: center; 
    padding: 12px; 
    min-height: 65vh; 
    margin-top: 88px;
  }
  
  .login-card { 
    padding: 20px; 
    border-radius: 12px; 
  }
  
  #loginSpan,
  .btn-login, 
  .btn-activate,
  .modal-btn { 
    padding: 10px; 
    font-size: 14px; 
  }
}

@media(max-width:411px) {
  .navbar-company {
    width: 40%;
    margin-left: 1em;
  }

  .header .logo img,
  .nav-left .logo img,
  .login-brand img {
    height: 32px;
    margin-left: -12px;
  }
  
  .login-container,
  .cntPwdPinTbl
  {
    margin-top: 64px;
  }

  .login-card {
    width: 92vw;
    padding: 22px
  }

  #loginSpan,
  .btn-login,
  .modal-btn {
    padding: 4px 8px;
    font-size: 12px;
  }
}

.btn-login, .btn-activate, .modal-btn, .modal-close {
  -webkit-tap-highlight-color: rgba(0,0,0,0.08);
  touch-action: manipulation;
}

button:focus, a:focus, input:focus, textarea:focus {
  outline: 3px solid rgba(9,104,179,0.14);
  outline-offset: 2px;
}

/* Improve modal scrolling on iOS */
.modal-dialog {
  -webkit-overflow-scrolling: touch;
}