/* +----------------------------------------------------------------------+ */
/* | OpenConf                                                             | */
/* +----------------------------------------------------------------------+ */
/* | Copyright (c) 2002-2025 Zakon Group LLC.  All Rights Reserved.       | */
/* +----------------------------------------------------------------------+ */
/* | This source file is subject to the OpenConf License, available on    | */
/* | the OpenConf web site: www.OpenConf.com                              | */
/* +----------------------------------------------------------------------+ */

/* ------------------------------------------------------------------------- */
/* UI Redesign - Modern, Responsive, Clean */
/* ------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #0d5c9e; /* Matching the blue tone from the banner */
  --secondary-color: #2b7a4b; /* Matching the green tone from the banner */
  --bg-color: #f3f6f9;
  --text-color: #2d3748;
  --light-text: #718096;
  --border-color: #e2e8f0;
  --card-bg: #ffffff;
  --hover-color: #ebf8ff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --border-radius: 8px;
}

body, TD, TH {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Typography */
a { color: var(--primary-color); text-decoration: none; transition: color 0.2s ease-in-out; }
a:hover { color: var(--secondary-color); text-decoration: underline; }
a.confName { display: block; text-align: center; }
a.confName img { max-width: 100%; height: auto; border-radius: 0 0 var(--border-radius) var(--border-radius); box-shadow: var(--shadow); }
em { font-style: italic; }
strong { font-weight: 600; }
h1 { color: #1a202c; text-align: center; font-size: 1.8rem; font-weight: 700; margin-bottom: 25px; }

/* Layout */
.mainbody {
  max-width: 1000px;
  margin: 20px auto 40px auto;
  padding: 0 20px;
}
.conf { margin-bottom: 20px; }
.header, .HEADER2 { font-size: 1.25rem; font-weight: 600; text-align: center; margin-bottom: 20px; color: #2d3748; }
.chairHeader { font-weight: 600; font-size: 1.1rem; color: var(--primary-color); margin: 20px 0; border-bottom: 2px solid var(--primary-color); padding-bottom: 5px; display: inline-block; }

/* Navigation Menus */
.menu, .menuoc {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin: 0 auto 30px auto;
  max-width: 1000px;
}
.menufiller { display: none; }
.menuitem {
  background-color: transparent;
  border: none;
  padding: 8px 16px;
  margin: 4px;
  font-weight: 500;
  color: var(--text-color);
  border-radius: 6px;
  transition: all 0.2s ease;
}
.menuitem a { color: var(--text-color); font-weight: 500; text-decoration: none; }
.menuitem:hover, .menuitem:hover a {
  background-color: var(--hover-color);
  color: var(--primary-color);
  text-decoration: none;
}
.linkHighlight { color: var(--primary-color) !important; font-weight: 700 !important; }

/* Forms & Cards */
.ocform fieldset, .occonfigform fieldset, .ocstatusform fieldset, .ocreviewform fieldset {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}
.ocform fieldset fieldset {
  background-color: #fafbfc;
  box-shadow: none;
  padding: 20px;
  margin-top: 15px;
}
.ocform legend, .occonfigform legend, .ocstatusform legend, .ocreviewform legend {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  padding: 0 15px;
  background: var(--bg-color);
  border-radius: 6px;
  border: 1px solid var(--border-color);
}
.ocform legend span { font-size: 0.85rem; color: var(--light-text); font-weight: 400; cursor: pointer; }

/* Form Fields */
.ocform div.field, .occonfigform div.field, .ocstatusform div.field, .ocreviewform div.field {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}
.ocform label, .occonfigform label, .ocstatusform label, .ocreviewform label {
  width: 200px;
  font-weight: 500;
  color: #4a5568;
  margin-right: 20px;
  text-align: right;
  padding-top: 8px;
}
.ocform label.plain { width: auto; text-align: left; margin: 0; padding: 0; }
.ocform input[type="text"], .ocform input[type="password"], .ocform select, .ocform textarea,
.occonfigform input[type="text"], .occonfigform select, .occonfigform textarea,
.ocreviewform input[type="text"], .ocreviewform select, .ocreviewform textarea {
  padding: 10px 14px;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  background-color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  color: #2d3748;
  width: 100%;
  max-width: 450px;
  transition: all 0.2s;
  box-sizing: border-box;
}
.ocform textarea { max-width: 100%; height: 120px; resize: vertical; }
.ocform input[type="text"]:focus, .ocform input[type="password"]:focus, .ocform select:focus, .ocform textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 92, 158, 0.15);
}

/* Checkboxes & Radios */
.ocform fieldset.radio, .ocform fieldset.checkbox {
  background: transparent; border: none; box-shadow: none; padding: 0; margin-bottom: 10px;
}
.ocform fieldset.radio label, .ocform fieldset.checkbox label {
  width: auto; text-align: left; font-weight: 400; margin-right: 20px; display: inline-flex; align-items: center; cursor: pointer; padding: 5px 0;
}
.ocform fieldset.radio input, .ocform fieldset.checkbox input { margin-right: 8px; width: 16px; height: 16px; cursor: pointer; accent-color: var(--primary-color); }
.ocform fieldset div.fieldnote { margin-left: 220px; color: var(--light-text); font-size: 0.85rem; margin-top: 5px; }

/* Buttons */
.submit, .ocform .submit, .occonfigform .submit, .ocstatusform .submit {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-top: 15px;
  display: inline-block;
}
.submit:hover, .ocform .submit:hover {
  background-color: #0a467a;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}
.submit:active, .ocform .submit:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.submit:disabled { background-color: #a0aec0; cursor: not-allowed; transform: none; box-shadow: none; }

/* Utilities & Alerts */
.note, .note2, .note3 { font-size: 0.85rem; color: var(--light-text); margin-top: 5px; display: block; }
.note2 { font-weight: 500; color: var(--secondary-color); }
.err { color: #c53030; font-weight: 600; background: #fff5f5; padding: 12px 16px; border-radius: 6px; border-left: 4px solid #c53030; margin-bottom: 20px; }
.warn { color: #dd6b20; font-weight: 600; background: #fffff0; padding: 12px 16px; border-radius: 6px; border-left: 4px solid #dd6b20; margin-bottom: 20px; }
.cat { font-weight: 600; font-size: 1.1rem; color: var(--primary-color); border-bottom: 2px solid var(--border-color); padding-bottom: 8px; margin-bottom: 15px; display: block; }

/* Tables */
table.ocfields { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card-bg); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 30px; border: 1px solid var(--border-color); }
table.ocfields th { background-color: #f7fafc; color: #4a5568; font-weight: 600; padding: 16px; text-align: left; border-bottom: 1px solid var(--border-color); }
table.ocfields td { padding: 16px; border-bottom: 1px solid var(--border-color); vertical-align: middle; }
table.ocfields tr:last-child td { border-bottom: none; }
.rowheader { background-color: #edf2f7; font-weight: 600; }
.row1 { background-color: #ffffff; }
.row2 { background-color: #f7fafc; }
.rowselect:hover { background-color: var(--hover-color); cursor: pointer; }
.del { background-color: #fed7d7; }
.sel { background-color: #e2e8f0; }
.linfo { float: right; font-size: 0.85rem; color: var(--light-text); }

/* Language Selector */
.oclanguage { display: flex; justify-content: flex-end; align-items: center; padding: 10px 20px; }
.oclanguage select { padding: 6px 12px; border-radius: 4px; border: 1px solid var(--border-color); font-size: 0.9rem; background-color: var(--card-bg); margin-left: 10px; }
.oclanguage img { margin-right: 5px; }

/* Skip Link Accessibility */
.ocskip a { position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }
.ocskip a:focus { position:static; width:auto; height:auto; background: #fff; padding: 10px; z-index: 1000; left: 0; border: 2px solid var(--primary-color); }

/* Privacy */
.ocprivacy { margin-top: 20px; text-align: center; color: var(--light-text); font-size: 0.9rem; }
#oc_submit_emailConfirmInner { display: none; }
#oc_submit_emailConfirm { margin: 1em 0 1.5em 30px; font-size: 1.2em; color: #000; font-weight: bold; }

/* Popup Tooltips */
.popup { position: relative; }
.popup a { text-decoration: none; color: var(--primary-color); }
.popup a span { display: none; }
.popup a:hover span { display:block; text-align: left; font-weight: normal; font-size: 0.85rem; color: #fff; position:absolute; top: 1.5em; left: 50%; transform: translateX(-50%); z-index: 100; background-color: rgba(0,0,0,0.8); border-radius: 4px; padding:8px 12px; text-decoration: none; white-space: pre; box-shadow: var(--shadow); }

/* ------------------------------------------------------------------------- */
/* DO NOT CHANGE OR HIDE - Footer Copyright Notice */
/* ------------------------------------------------------------------------- */
#powered {
  text-align: center;
  font-size: 0.85rem;
  color: var(--light-text);
  padding: 30px 15px;
  margin-top: 50px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-color);
}
#powered a { font-weight: 600; color: var(--primary-color); }
#powered sup { font-size: 0.7em; }
/* ------------------------------------------------------------------------- */

/* Responsive Design */
@media (max-width: 768px) {
  .ocform div.field, .occonfigform div.field { flex-direction: column; }
  .ocform label, .occonfigform label { width: 100%; text-align: left; margin-bottom: 8px; }
  .ocform input[type="text"], .ocform input[type="password"], .ocform select, .ocform textarea { max-width: 100%; }
  .ocform fieldset div.fieldnote { margin-left: 0; margin-top: 8px; }
  .menu, .menuoc { flex-direction: column; width: 100%; border-radius: 0; border-left: none; border-right: none; }
  .menuitem { width: 100%; text-align: center; border-bottom: 1px solid var(--border-color); margin: 0; border-radius: 0; padding: 12px 0; }
  .menuitem:last-child { border-bottom: none; }
  .mainbody { margin: 10px auto; padding: 0 10px; }
  .ocform fieldset { padding: 15px; }
}
