@charset "ISO-8859-1";
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");

/* Base Global Styles & Modern Typography */
html {
  font-size: 15px;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #1e293b;
  background-color: #f8fafc;
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

/* Prime faces CSS */

.ui-datatable-odd {
  background: #ffffff;
}

.ui-datatable-even {
  background: #f2f5f9;
}

.ui-inputfield,
.ui-widget-content .ui-inputfield,
.ui-widget-header .ui-inputfield {
  box-shadow: none !important;
}

body .ui-button.btn-warning {
  color: #ffffff;
  background-color: #dd5600;
  background-image: linear-gradient(#dd5600 0%, #a03e00 100%);
  background-repeat: repeat-x;
  border-color: #963a00;
  text-shadow: rgba(0, 0, 0, 0.2) 0px -1px 0px;
}

body .ui-button.btn-warning:hover,
body .ui-button.btn-warning:focus {
  color: #ffffff;
  background-color: #a03e00;
  background-image: none;
  background-position: 0px -15px;
  border-color: #963a00;
}

body .ui-button.btn-warning:active,
body .ui-button.btn-warning.active {
  color: #ffffff;
  background-color: #a03e00;
  background-image: none;
  border-color: #963a00;
}

body .ui-button.btn-default {
  color: #555555;
  background-color: #ffffff;
  background-image: linear-gradient(#ffffff 0%, #f2f2f2 100%);
  background-repeat: repeat-x;
  border-color: rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 0 #ffffff;
}

body .ui-button.btn-default:hover,
body .ui-button.btn-default:focus {
  color: #555555;
  background-color: #e6e6e6;
  background-image: none;
  background-position: 0px -15px;
  border-color: rgba(0, 0, 0, 0.1);
}

body .ui-button.btn-default:active,
body .ui-button.btn-default.active {
  color: #555555;
  background-color: #e6e6e6;
  background-image: none;
  border-color: rgba(0, 0, 0, 0.1);
}

/* Navbar button consistency & animation removal */
.navbar .btn,
.navbar .navbar-btn,
body .navbar .ui-button.navbar-btn {
  height: 38px !important;
  margin-top: 6px !important;
  margin-bottom: 6px !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-family: inherit !important;
  font-weight: normal !important;
  border-radius: 4px !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-sizing: border-box !important;
  display: inline-block !important;
  vertical-align: middle !important;
  transition: none !important;
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1px 1px rgba(0, 0, 0, 0.075) !important;
  text-shadow: 0 1px 0 #ffffff !important;
}

.navbar .btn-default,
body .navbar .ui-button.btn-default {
  color: #555555 !important;
  background-color: #ffffff !important;
  background-image: linear-gradient(#ffffff 0%, #f2f2f2 100%) !important;
  background-repeat: repeat-x !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

.navbar .btn-default:hover,
.navbar .btn-default:focus,
body .navbar .ui-button.btn-default:hover,
body .navbar .ui-button.btn-default:focus {
  color: #555555 !important;
  background-color: #e6e6e6 !important;
  background-image: none !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  text-decoration: none !important;
}

.navbar .btn-default:active,
.navbar .btn-default.active,
body .navbar .ui-button.btn-default:active,
body .navbar .ui-button.btn-default.active {
  color: #555555 !important;
  background-color: #e6e6e6 !important;
  background-image: none !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
}

body .navbar .ui-button.navbar-btn .ui-button-text {
  padding: 0 !important;
  line-height: inherit !important;
  display: inline !important;
  font-size: 14px !important;
  color: inherit !important;
}

body .navbar .ui-button.navbar-btn .ui-icon,
body .navbar .ui-button.navbar-btn .ui-button-icon-left {
  position: static !important;
  display: inline-block !important;
  margin-top: 0 !important;
  margin-right: 5px !important;
  vertical-align: baseline !important;
  font-size: 14px !important;
  color: inherit !important;
  width: auto !important;
  height: auto !important;
}

/* End Rich and prime faces CSS */

/* Components CSS   */

.redcolor {
  color: red;
}

.bluecolor {
  color: blue;
}

.greycolor {
  color: #848484;
}

.greencolor {
  color: green;
}

.rf_align_left {
  /*float: left;*/
  margin-left: 10px;
}

.rf_font_bold {
  font-weight: bold;
}

.eb_link {
  text-decoration: none;
  color: white;
}

.eb_fld_label {
  font-weight: bold;
  font-family: Arial;
  font-size: 11px;
  color: black;
}

.zo_fld_label_highlight {
  font-weight: bold;
  font-size: 14px;
}

.eb_textbox {
  color: black;
}

.zo_textarea {
  padding: 1px;
  width: 300px;
  height: 100px;
  color: black;
}

.zo_textare_div {
  width: 330px;
  word-wrap: break-word;
}

.allignTop {
  vertical-align: top;
}

.zo_tooltip {
  font-family: Arial;
  font-size: 10px;
}

.zo_textarea_participants {
  padding: 1px;
  height: 400px;
}

table {
  border-collapse: separate !important;
  border-spacing: 20px !important;
} /* cellspacing="25" */

.ui-growl {
  z-index: 99999999999 !important;
}

.selectMany {
  padding: 1px;
  color: black;
  font-size: 14px;
  width: 200px;
  height: 300px;
}

.event-grades-menu {
  width: 200px;
}

.ui-datepicker .ui-datepicker-title select {
  color: black !important;
}

.eb_datatable {
  float: left;
  width: 80em;
  height: 30em;
  overflow: auto;
  white-space: nowrap;
}

/* -------------------------------------------------------------
   Layout & Grid System (Bootstrap/PrimeFaces Compatible)
   ------------------------------------------------------------- */

*,
*:before,
*:after {
  box-sizing: border-box;
}

.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1170px;
}

.container-fluid {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
}

.row {
  margin-right: -15px;
  margin-left: -15px;
  display: flex;
  flex-wrap: wrap;
}

.col-xs-1,
.col-sm-1,
.col-md-1,
.col-lg-1,
.col-xs-2,
.col-sm-2,
.col-md-2,
.col-lg-2,
.col-xs-3,
.col-sm-3,
.col-md-3,
.col-lg-3,
.col-xs-4,
.col-sm-4,
.col-md-4,
.col-lg-4,
.col-xs-5,
.col-sm-5,
.col-md-5,
.col-lg-5,
.col-xs-6,
.col-sm-6,
.col-md-6,
.col-lg-6,
.col-xs-7,
.col-sm-7,
.col-md-7,
.col-lg-7,
.col-xs-8,
.col-sm-8,
.col-md-8,
.col-lg-8,
.col-xs-9,
.col-sm-9,
.col-md-9,
.col-lg-9,
.col-xs-10,
.col-sm-10,
.col-md-10,
.col-lg-10,
.col-xs-11,
.col-sm-11,
.col-md-11,
.col-lg-11,
.col-xs-12,
.col-sm-12,
.col-md-12,
.col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  width: 100%;
}

@media (min-width: 768px) {
  .col-sm-1 {
    width: 8.33333333%;
  }
  .col-sm-2 {
    width: 16.66666667%;
  }
  .col-sm-3 {
    width: 25%;
  }
  .col-sm-4 {
    width: 33.33333333%;
  }
  .col-sm-5 {
    width: 41.66666667%;
  }
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-7 {
    width: 58.33333333%;
  }
  .col-sm-8 {
    width: 66.66666667%;
  }
  .col-sm-9 {
    width: 75%;
  }
  .col-sm-10 {
    width: 83.33333333%;
  }
  .col-sm-11 {
    width: 91.66666667%;
  }
  .col-sm-12 {
    width: 100%;
  }
  .col-sm-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-sm-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-sm-offset-3 {
    margin-left: 25%;
  }
  .col-sm-offset-4 {
    margin-left: 33.33333333%;
  }
}

@media (min-width: 992px) {
  .col-md-1 {
    width: 8.33333333%;
  }
  .col-md-2 {
    width: 16.66666667%;
  }
  .col-md-3 {
    width: 25%;
  }
  .col-md-4 {
    width: 33.33333333%;
  }
  .col-md-5 {
    width: 41.66666667%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-7 {
    width: 58.33333333%;
  }
  .col-md-8 {
    width: 66.66666667%;
  }
  .col-md-9 {
    width: 75%;
  }
  .col-md-10 {
    width: 83.33333333%;
  }
  .col-md-11 {
    width: 91.66666667%;
  }
  .col-md-12 {
    width: 100%;
  }
  .col-md-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-md-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-md-offset-3 {
    margin-left: 25%;
  }
  .col-md-offset-4 {
    margin-left: 33.33333333%;
  }
}

/* Jumbotron */
.jumbotron {
  padding-top: 30px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  color: inherit;
  background-color: #eeeeee;
  border-radius: 6px;
}

.jumbotron h1,
.jumbotron .h1 {
  color: inherit;
  font-size: 36px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.jumbotron p {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 200;
  line-height: 1.4;
}

/* Navigation Bar */
.navbar {
  position: relative;
  min-height: 50px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

.navbar-fixed-top {
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  z-index: 1030;
  border-width: 0 0 1px;
}

/* Cerulean / RichFaces Theme Navbar */
.navbar-inverse {
  background-color: #033c73;
  background-image: linear-gradient(to bottom, #033c73 0%, #022a51 100%);
  background-repeat: repeat-x;
  border-color: #022242;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.navbar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  float: left;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  float: left;
  height: 50px;
  padding: 13px 15px;
  font-size: 19px;
  line-height: 20px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: bold;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
  letter-spacing: 0.2px;
}

.navbar-brand .eb-brand-logo {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: #d1e5f8 !important;
}

.navbar-nav {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  float: left;
  align-items: center;
}

.navbar-nav > li {
  position: relative;
  display: block;
}

.navbar-nav > li > a {
  padding: 15px 15px;
  line-height: 20px;
  color: #e6f0fa;
  text-decoration: none;
  display: block;
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > .open > a,
.navbar-nav > .open > a:hover,
.navbar-nav > .open > a:focus {
  color: #ffffff !important;
  background-color: #022a51 !important;
  background-image: linear-gradient(
    to bottom,
    #022a51 0%,
    #011d38 100%
  ) !important;
}

.navbar-nav > .active > a,
.navbar-nav > .active > a:hover,
.navbar-nav > .active > a:focus {
  color: #ffffff;
  background-color: #011d38;
}

.navbar-left {
  float: left !important;
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
}

.navbar-right {
  float: right !important;
  display: inline-flex;
  align-items: center;
  margin-right: 15px;
}

.navbar-toggle {
  display: none;
  position: relative;
  float: right;
  padding: 9px 10px;
  margin-top: 8px;
  margin-right: 15px;
  margin-bottom: 8px;
  background-color: #022a51;
  background-image: none;
  border: 1px solid #022242;
  border-radius: 4px;
  cursor: pointer;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
  background-color: #011d38;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color: #fff;
  margin-top: 4px;
}

.navbar-toggle .icon-bar:first-child {
  margin-top: 0;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1050;
  display: none;
  min-width: 200px;
  padding: 6px 0;
  margin: 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  background-color: #ffffff;
  border: 1px solid #c2d5e8;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0, 50, 100, 0.18);
}

.dropdown.open > .dropdown-menu,
.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu > li > a {
  display: block;
  padding: 8px 20px;
  clear: both;
  font-weight: 500;
  line-height: 1.42857143;
  color: #2c3e50;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #ffffff;
  text-decoration: none;
  background-color: #033c73;
  background-image: linear-gradient(to right, #033c73 0%, #024a8e 100%);
}

.dropdown-header {
  display: block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1.42857143;
  color: #777777;
  white-space: nowrap;
  font-weight: bold;
  text-transform: uppercase;
}

.divider {
  height: 1px;
  margin: 6px 0;
  overflow: hidden;
  background-color: #e2e8f0;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

@media (max-width: 767px) {
  .navbar-toggle {
    display: block;
  }
  .collapse.navbar-collapse {
    display: none;
    width: 100%;
    clear: both;
  }
  .collapse.navbar-collapse.in {
    display: block;
  }
  .navbar-nav {
    float: none !important;
    display: block !important;
    margin: 7.5px -15px;
  }
  .navbar-nav > li {
    float: none;
  }
  .navbar-left,
  .navbar-right {
    float: none !important;
    display: block !important;
    margin: 10px 0 !important;
  }
  .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: #022a51;
    border: 0;
    box-shadow: none;
  }
  .dropdown-menu > li > a {
    color: #e6f0fa;
    padding: 8px 25px;
  }
  .dropdown-menu > li > a:hover {
    color: #fff;
    background-color: #011d38;
  }
}

/* Panels */
.panel {
  margin-bottom: 20px;
  background-color: #ffffff;
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-primary {
  border-color: #337ab7;
}

.panel-primary > .panel-heading,
body .panel-primary.ui-panel .ui-panel-titlebar,
body .ui-panel.panel-primary .ui-panel-titlebar {
  color: #ffffff !important;
  background-color: #337ab7 !important;
  background-image: linear-gradient(
    to bottom,
    #337ab7 0%,
    #2e6da4 100%
  ) !important;
  border-color: #337ab7 !important;
  padding: 10px 15px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  font-size: 16px;
  font-weight: bold;
}

body .panel-primary.ui-panel .ui-panel-titlebar a,
body .ui-panel.panel-primary .ui-panel-titlebar a {
  color: #ffffff !important;
}

body .panel-primary.ui-panel .ui-panel-content,
body .ui-panel.panel-primary .ui-panel-content {
  padding: 15px;
}

/* The authenticated page panel supplies the heading only.  Its content is
   the page itself, so do not add a second blank-looking strip below the
   heading. */
body .ui-panel.eb-auth-panel .ui-panel-content {
  padding: 0;
}

.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  color: inherit;
}

.panel-body {
  padding: 15px;
}

/* Badges and Tags */
.badge,
.label {
  display: inline-block;
  padding: 0.25em 0.6em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.badge-info,
.label-info {
  color: #fff;
  background-color: #5bc0de;
}

.badge-primary,
.label-primary {
  color: #fff;
  background-color: #337ab7;
}

.badge-success,
.label-success {
  color: #fff;
  background-color: #5cb85c;
}

/* Buttons */
.btn-primary,
body .ui-button.btn-primary {
  color: #ffffff !important;
  background-color: #337ab7 !important;
  background-image: linear-gradient(
    to bottom,
    #337ab7 0%,
    #265a88 100%
  ) !important;
  border-color: #245580 !important;
}

.btn-primary:hover,
body .ui-button.btn-primary:hover {
  background-color: #265a88 !important;
  background-position: 0 -15px;
}

.btn-success,
body .ui-button.btn-success,
body .ui-button.ui-button-success {
  color: #ffffff !important;
  background-color: #5cb85c !important;
  background-image: linear-gradient(
    to bottom,
    #5cb85c 0%,
    #419641 100%
  ) !important;
  border-color: #3e8f3e !important;
}

.btn-info,
body .ui-button.btn-info {
  color: #ffffff !important;
  background-color: #5bc0de !important;
  background-image: linear-gradient(
    to bottom,
    #5bc0de 0%,
    #2aabd2 100%
  ) !important;
  border-color: #28a4c9 !important;
}

.btn-info:hover,
body .ui-button.btn-info:hover {
  background-color: #2aabd2 !important;
  background-position: 0 -15px;
}

.btn-danger,
body .ui-button.btn-danger,
body .ui-button.ui-button-danger {
  color: #ffffff !important;
  background-color: #d9534f !important;
  background-image: linear-gradient(
    to bottom,
    #d9534f 0%,
    #c12e2a 100%
  ) !important;
  border-color: #b92c28 !important;
}

.btn-lg,
body .ui-button.btn-lg {
  padding: 10px 16px !important;
  font-size: 18px !important;
  line-height: 1.3333333 !important;
  border-radius: 6px !important;
}

/* Social Share Widget */
.eb-social-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.eb-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff !important;
  border-radius: 20px;
  text-decoration: none !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.eb-share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
  opacity: 0.95;
  color: #ffffff !important;
}

.eb-share-twitter {
  background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.eb-share-linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.eb-share-facebook {
  background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
}

/* Footer Section */
.footer-wrapper {
  margin-top: 50px;
  padding: 30px 0 20px;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  color: #475569;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  margin: 5px 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: #033c73;
  text-decoration: underline;
}

.footer-divider {
  color: #cbd5e1;
  user-select: none;
}

.footer-copyright {
  font-size: 13px;
  color: #64748b;
  margin-top: 5px;
}

/* Auth Pages & Centered Containers */
.auth-container,
.register-container {
  max-width: 580px;
  margin: 30px auto;
  padding: 0 15px;
}

.auth-card {
  background: #ffffff;
  border: 1px solid #d0dbe5;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(3, 60, 115, 0.08);
  overflow: hidden;
  margin-bottom: 25px;
}

.auth-card .panel-heading {
  background: linear-gradient(to right, #033c73 0%, #024a8e 100%);
  color: #ffffff;
  border-bottom: 1px solid #022a51;
  padding: 14px 20px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.auth-card .panel-heading .panel-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
}

.auth-card .panel-body {
  padding: 25px 25px 20px;
}

.auth-form-row {
  margin-bottom: 18px;
}

.auth-form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #334155;
  font-size: 14px;
}

.auth-legal-text {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  margin-top: 15px;
  line-height: 1.5;
}

.auth-legal-text a {
  color: #033c73;
  font-weight: 500;
}

.eb-form-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.eb-form-col-label {
  width: 32%;
  text-align: right;
  padding-right: 12px;
  vertical-align: middle;
  font-weight: 600;
  color: #334155;
  font-size: 14px;
}

.eb-form-col-input {
  width: 48%;
  vertical-align: middle;
}

.eb-form-col-input .form-control,
.eb-form-col-input .ui-inputtext,
.eb-form-col-input .ui-password {
  width: 100% !important;
}

.eb-form-col-msg {
  width: 20%;
  vertical-align: middle;
  padding-left: 8px;
  font-size: 12px;
}

@media (max-width: 600px) {
  .eb-form-table {
    display: block;
  }
  .eb-form-table tbody,
  .eb-form-table tr,
  .eb-form-table td {
    display: block;
    width: 100% !important;
    text-align: left !important;
    padding: 2px 0;
  }
  .eb-form-col-label {
    margin-top: 8px;
  }
}

/* Forms and Inputs */
.form-group {
  margin-bottom: 15px;
}

.form-control,
body .ui-inputtext.form-control,
body .ui-password.form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition:
    border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
  box-sizing: border-box;
}

.form-control:focus,
body .ui-inputtext.form-control:focus,
body .ui-password.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(102, 175, 233, 0.6);
}

.input-group {
  position: relative;
  display: table;
  border-collapse: separate;
  width: 100%;
}

.input-group .form-control {
  position: relative;
  z-index: 2;
  float: left;
  width: 100%;
  margin-bottom: 0;
  display: table-cell;
}

.input-group-addon {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1;
  color: #555555;
  text-align: center;
  background-color: #eeeeee;
  border: 1px solid #cccccc;
  border-radius: 4px;
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
  display: table-cell;
}

.input-group .input-group-addon:first-child {
  border-right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group .form-control:last-child,
.input-group .form-control:not(:first-child):not(:last-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Tables */
.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  border-top: 1px solid #ddd;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.table-bordered {
  border: 1px solid #ddd;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border: 1px solid #ddd;
}

.table-hover > tbody > tr:hover {
  background-color: #f5f5f5;
}

/* =============================================================
   Modern Landing Page Styles
   ============================================================= */

.eb-landing-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section */
.eb-hero {
  position: relative;
  background: linear-gradient(135deg, #033c73 0%, #0a4f96 50%, #022242 100%);
  color: #ffffff;
  padding: 50px 30px 45px;
  border-radius: 12px;
  margin-top: 15px;
  margin-bottom: 45px;
  box-shadow: 0 10px 30px rgba(3, 60, 115, 0.2);
  overflow: hidden;
  text-align: center;
}

.eb-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.eb-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.eb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e0f2fe;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.eb-hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}

.eb-hero-lead {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 30px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.eb-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.eb-btn-hero-primary,
body .ui-button.eb-btn-hero-primary {
  background: #22c55e !important;
  background-image: linear-gradient(180deg, #22c55e 0%, #16a34a 100%) !important;
  border-color: #15803d !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 12px 26px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.38) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.eb-btn-hero-primary:hover,
body .ui-button.eb-btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.48) !important;
  background-position: 0 -5px !important;
}

.eb-btn-hero-secondary,
.eb-btn-hero-tertiary,
body .ui-button.eb-btn-hero-secondary,
body .ui-button.eb-btn-hero-tertiary {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 12px 22px !important;
  border-radius: 8px !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.15s ease !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.eb-btn-hero-secondary:hover,
.eb-btn-hero-tertiary:hover,
body .ui-button.eb-btn-hero-secondary:hover,
body .ui-button.eb-btn-hero-tertiary:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.eb-hero-highlights {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
}

.eb-highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 500;
}

.eb-highlight-item i {
  color: #38bdf8;
  font-size: 16px;
}

/* Interactive Showcase Box */
.eb-showcase-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 32px;
  margin-bottom: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.eb-showcase-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.eb-showcase-info {
  flex: 1 1 380px;
}

.eb-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #033c73;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid #bfdbfe;
}

.eb-showcase-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px;
  line-height: 1.3;
}

.eb-showcase-desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 22px;
}

.eb-showcase-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.eb-btn-showcase {
  background: #0284c7 !important;
  background-image: linear-gradient(180deg, #0284c7 0%, #0369a1 100%) !important;
  border-color: #0369a1 !important;
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.eb-btn-showcase:hover {
  background-position: 0 -5px !important;
  color: #ffffff !important;
}

.eb-btn-showcase-sec {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
}

.eb-btn-showcase-sec:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.eb-showcase-media {
  flex: 0 1 400px;
  max-width: 400px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.eb-bracket-switcher-frame {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  display: block;
  width: 100%;
}

.eb-imageswitch {
  width: 100% !important;
  max-width: 100% !important;
  height: 320px !important;
  aspect-ratio: 6 / 5;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
}

.eb-bracket-img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: fill;
  display: block;
  margin: 0 auto;
}

/* Section Header */
.eb-section-header {
  text-align: center;
  margin-bottom: 35px;
}

.eb-section-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.eb-section-subtitle {
  font-size: 16px;
  color: #64748b;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Grid */
.eb-features-section {
  margin-bottom: 50px;
}

.eb-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  width: 100%;
}

.eb-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  width: 100%;
  box-sizing: border-box;
}

.eb-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(3, 60, 115, 0.09);
  border-color: #cbd5e1;
}

.eb-feature-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.eb-icon-blue { background: #e0f2fe; color: #0284c7; }
.eb-icon-green { background: #dcfce7; color: #16a34a; }
.eb-icon-purple { background: #f3e8ff; color: #9333ea; }
.eb-icon-amber { background: #fef3c7; color: #d97706; }
.eb-icon-teal { background: #ccfbf1; color: #0d9488; }
.eb-icon-indigo { background: #e0e7ff; color: #4f46e5; }
.eb-icon-rose { background: #ffe4e6; color: #e11d48; }
.eb-icon-emerald { background: #d1fae5; color: #059669; }

.eb-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
}

.eb-card-text {
  font-size: 14px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

.eb-card-link {
  color: #0284c7;
  font-weight: 600;
  text-decoration: underline;
}

.eb-card-link:hover {
  color: #0369a1;
}

/* Pre-Footer CTA Banner */
.eb-cta-banner-section {
  margin-bottom: 45px;
}

.eb-cta-banner {
  background: linear-gradient(135deg, #033c73 0%, #022547 100%);
  border-radius: 16px;
  padding: 44px 36px;
  box-shadow: 0 10px 30px rgba(3, 60, 115, 0.2);
  color: #ffffff;
}

.eb-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.eb-cta-text-group {
  flex: 1 1 400px;
}

.eb-cta-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

.eb-cta-lead {
  font-size: 15px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
}

.eb-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.eb-btn-cta-primary,
body .ui-button.eb-btn-cta-primary {
  background: #22c55e !important;
  background-image: linear-gradient(180deg, #22c55e 0%, #16a34a 100%) !important;
  border-color: #15803d !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.38) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.eb-btn-cta-primary:hover,
body .ui-button.eb-btn-cta-primary:hover {
  background-position: 0 -5px !important;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.48) !important;
}

.eb-btn-cta-secondary,
body .ui-button.eb-btn-cta-secondary {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 12px 22px !important;
  border-radius: 8px !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}

.eb-btn-cta-secondary:hover,
body .ui-button.eb-btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* Responsive Breakpoints */
@media (max-width: 1199px) {
  .eb-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .eb-hero {
    padding: 32px 18px 28px;
    margin-top: 10px;
    margin-bottom: 25px;
    border-radius: 10px;
  }

  .eb-hero-title {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .eb-hero-lead {
    font-size: 15px;
    margin-bottom: 22px;
  }

  .eb-hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .eb-hero-actions .ui-button,
  .eb-hero-actions .btn {
    width: 100% !important;
    text-align: center;
  }

  .eb-hero-highlights {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding-top: 18px;
  }

  .eb-showcase-box {
    padding: 24px 18px;
    margin-bottom: 35px;
  }

  .eb-showcase-grid {
    flex-direction: column;
    gap: 24px;
  }

  .eb-showcase-info {
    text-align: center;
    flex: 1 1 auto;
  }

  .eb-showcase-title {
    font-size: 20px;
  }

  .eb-showcase-actions {
    justify-content: center;
  }

  .eb-showcase-actions .btn {
    width: 100%;
  }

  .eb-section-title {
    font-size: 22px;
  }

  .eb-features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .eb-feature-card {
    padding: 20px 18px;
  }

  .eb-cta-banner {
    padding: 28px 20px;
    text-align: center;
  }

  .eb-cta-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .eb-cta-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .eb-btn-cta-primary,
  .eb-btn-cta-secondary,
  body .ui-button.eb-btn-cta-primary,
  body .ui-button.eb-btn-cta-secondary {
    width: 100% !important;
  }
}

/* -------------------------------------------------------------
   Responsive List Screens (e.g. ContestBracketList)
   ------------------------------------------------------------- */

.eb-list-wrapper {
  float: left;
}

.eb-list-toolbar {
  float: left;
}

.eb-list-info {
  float: left;
  margin-left: 10px;
}

@media (max-width: 1199px) {
  .eb-list-wrapper {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .eb-list-toolbar {
    float: none !important;
    width: 100% !important;
    margin-bottom: 12px !important;
  }

  .eb-list-toolbar > .rf_align_left {
    float: none !important;
  }

  .eb-list-info {
    float: none !important;
    margin-left: 0 !important;
    margin-top: 15px !important;
    width: 100% !important;
    padding: 12px 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-sizing: border-box;
  }

  .eb-list-info br {
    display: none !important;
  }

  .eb_datatable {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 991px) {
  .eb-list-actions,
  .eb-list-actions tbody,
  .eb-list-actions tr {
    display: block !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    width: 100% !important;
  }

  .eb-list-actions tr {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .eb-list-actions td {
    display: inline-flex !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .eb-list-actions .ui-button {
    margin: 0 !important;
  }
}

@media (max-width: 767px) {
  .eb-list-toolbar {
    overflow: hidden !important;
  }

  .eb-list-actions,
  .eb-list-actions tbody {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
  }

  .eb-list-actions tr {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .eb-list-actions td {
    display: inline-flex !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: 1 1 auto;
  }

  .eb-list-actions td:not(:has(.ui-button-icon-only)) {
    flex: 1 1 calc(50% - 8px) !important;
    min-width: 0 !important;
    max-width: calc(50% - 4px) !important;
  }

  .eb-list-actions td:not(:has(.ui-button-icon-only)) .ui-button {
    width: 100% !important;
  }

  .eb-list-actions td:has(.eb-btn-new),
  .eb-list-actions td:has(.eb-btn-view-edit) {
    width: 100% !important;
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }

  .eb-list-actions .eb-btn-new,
  .eb-list-actions .eb-btn-view-edit {
    width: 100% !important;
    justify-content: center !important;
  }

  .eb-list-actions td:has(.eb-btn-delete-selected),
  .eb-list-actions td:has(.eb-btn-delete-all),
  .eb-list-actions td:has(.eb-btn-switch-super),
  .eb-list-actions td:has(.eb-btn-switch-user) {
    flex: 1 1 calc(50% - 28px) !important;
  }

  .eb-list-actions .eb-btn-delete-selected,
  .eb-list-actions .eb-btn-delete-all,
  .eb-list-actions .eb-btn-switch-super,
  .eb-list-actions .eb-btn-switch-user {
    width: 100% !important;
    justify-content: center !important;
  }

  .eb-list-actions td:has(.eb-btn-export) {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .eb-list-actions .ui-button {
    box-sizing: border-box !important;
    min-height: 40px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 100% !important;
  }

  .eb-list-actions .ui-button.ui-button-icon-only {
    width: 44px !important;
    min-width: 44px !important;
    height: 40px !important;
  }

  .eb_datatable {
    height: auto !important;
    max-height: 70vh !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  }

  /* Table styling enhancements on mobile */
  .eb_datatable .ui-datatable thead th,
  .eb_datatable .ui-datatable tbody td {
    padding: 8px 10px !important;
    font-size: 13px !important;
  }

  .eb_datatable .ui-datatable thead th .ui-column-filter {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 12px !important;
    padding: 3px 6px !important;
  }

  /* Horizontal scroll hint */
  .eb_datatable::-webkit-scrollbar {
    height: 6px !important;
    width: 6px !important;
  }

  .eb_datatable::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 3px !important;
  }

  .eb_datatable::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 3px !important;
  }

  .eb_datatable::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
  }

  /* Responsive Paginator */
  .eb_datatable .ui-paginator {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 8px 4px !important;
  }

  .eb_datatable .ui-paginator .ui-paginator-current {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 4px !important;
    font-size: 12px !important;
  }

  .eb_datatable .ui-paginator .ui-paginator-page,
  .eb_datatable .ui-paginator .ui-paginator-first,
  .eb_datatable .ui-paginator .ui-paginator-prev,
  .eb_datatable .ui-paginator .ui-paginator-next,
  .eb_datatable .ui-paginator .ui-paginator-last {
    min-width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 !important;
    margin: 2px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
  }

  /* Main container mobile spacing */
  .main {
    padding: 8px 10px !important;
  }
}

/* End Components CSS   */
