/* ~~ General Page Styles ~~ */

@charset "utf-8";

body {
  /* font: 100%/1.3 Arial, Helvetica, sans-serif;
	font-size:10pt; */
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  background: #e9ecf4 url(../images/bg.png) repeat-x;
  margin: 0;
  padding: 0;
  color: #000;
}

table {
  font-size: 11pt;
}

table td input {
  font-size: 10pt;
}

.no_float {
  float: none;
}

#butt {
  background: url(../images/refresh.png);
  height: 21px;
  width: 99px;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
}

.wrapper {
  width: 1240px;
  clear: both;
  margin: 0 auto;
  position: relative;
}

.left {
  float: left;
  width: 280px;
  background: #ffffff;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  padding: 16px;
  margin-right: 15px;
  margin-bottom: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.right {
  float: left;
  width: 470px;
  background: #ffffff;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.margin_top {
  margin-top: 10px;
}

ul,
ol,
dl {
  padding: 0;
  margin: 0;
}

a img {
  /* removes default blue border around a linked image seen in FF browsers */
  border: none;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
  /* Storps margins that escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
  padding-right: 15px;
  padding-left: 15px;
  /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, = no box model math */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito Sans", sans-serif;
}

h1 {
  /* for page titles */
  color: #216d7f;
  font-size: 24px;
  line-height: 28px;
  padding-left: 5px;
  /* text-shadow: 0px 1px 1px #999; */
}

h2 {
  color: #47646d;
  font-size: 8pt;
  font-weight: 100;
  padding-left: 5px;
  line-height: 60%;
}

h3 {
  font-size: 9pt;
  color: #fff;
  padding-top: 5px;
}

h4 {
  font-size: 12pt;
  color: #47646d;
}

h6 {
  font-size: 9pt;
  text-align: center;
  color: #666;
  margin-top: 10px;
}

.subtext {
  font-size: 9pt;
  color: #444;
}

/* pushes floating Div Down proceeding to priordiv or nested div */
.clearfloat {
  clear: both;
  height: 0;
  font-size: 1px;
  line-height: 0px;
}

span {
  font-style: normal;
}

/* ~~ Link Styles ~~ */
a:link {
  color: #1c2342;
  text-decoration: none;
  /* Removes Underline */
}

a:visited {
  color: #1c2342;
}

a:hover {
  /* gives keyboard navigator the same hover experience keep it for Good UX */
  color: #1c2342;
  text-decoration: underline;
}

.ui-tabs .ui-tabs-nav li.ui-state-default {
  background: #edf0f3;
}

.ui-tabs .ui-tabs-nav li.ui-state-default.ui-state-active {
  background: #fff;
}

.ui-widget-header {
  background: transparent;
}

.ui-tabs .ui-tabs-nav {
  border: 0;
  border-bottom: 1px solid #aaaaaa;
  border-radius: 0;
}
.ui-tabs .ui-tabs-nav li {
  margin-bottom: -1px;
}

/* Content Styles. */

.content_title h1 {
  font-size: 18px;
  line-height: 18px;
  display: none;
}

.content_title img {
  vertical-align: top;
  margin-left: 10px;
}

.content_title {
  /* margin-bottom: 15px; */
}

.content {
  /* margin-top: 20px; */
  width: inherit;
}

.main_content1 {
  margin-top: 10px;
}

.rowelm {
  height: 10px;
  display: block;
}

#top_icon {
  margin-left: 10px;
}

/* Jqry styles */
.ui-autocomplete {
  padding: 0;
  list-style: none;
  background-color: #fff;
  width: 218px;
  border: 1px solid #b0beca;
  max-height: 350px;
  overflow-y: scroll;
}

.ui-autocomplete .ui-menu-item a {
  border-top: 1px solid #b0beca;
  display: block;
  padding: 4px 6px;
  color: #353d44;
  cursor: pointer;
}

.ui-autocomplete .ui-menu-item:first-child a {
  border-top: none;
}

.ui-autocomplete .ui-menu-item a.ui-state-hover {
  background-color: #d5e5f4;
  color: #161a1c;
}

.popup_label {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #3498db;
  text-align: left;
}

.call_back_schedule {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
}

.call_back_schedule td {
  padding: 6px 0;
  vertical-align: top;
  border: none;
}

.call_back_schedule td:first-child {
  font-weight: 500;
  color: #34495e;
  width: 70px;
  padding-right: 10px;
  font-size: 13px;
}

/* === NEW SIMPLE HISTORY LAYOUT === */

/* === CLEAN HISTORY CONTAINER === */
.history-container {
  padding: 20px;
  height: calc(100% - 60px);
  box-sizing: border-box;
}

#remark_history {
  /* height: 100%;
  overflow-y: auto; */
  padding: 0;
  background: #fff;
}

/* History Items */
.new-history-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.08);
  border: 1px solid #e0e4ea;
  margin-bottom: 24px;
  padding: 24px 28px 18px 28px;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
}


/* Type Badge */
.item-type {
  margin-bottom: 16px;
}

.type-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: #e3f2fd;
  color: #1565c0;
  border: none;
  box-shadow: 0 1px 4px rgba(44, 62, 80, 0.04);
}

.type-badge.appointment {
  background: #e8f5e8;
  color: #2e7d32;
}

.type-badge.remark {
  background: #e3f2fd;
  color: #1565c0;
}

/* Info Table */
.info-table {
  width: 60%;
}

.info-table td {
  vertical-align: middle;
}

.info-label {
  font-weight: 600;
  color: #34495e;
  width: 90px;
  font-size: 14px;
  padding-right: 8px;
}

.info-value {
  color: #2c3e50;
  font-size: 14px;
  line-height: 1.5;
}

/* Content Sections */
.content-section {
  margin-left: 3px;
}

.content-label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
  float: none !important;
}

.content-text {
  background: #f6f8fa;
  border-radius: 6px;
  color: #2c3e50;
}

.content-text:hover {
  background: #e3f2fd;
  border-color: #3498db;
}

/* Edit Button */
.edit-link {
  position: absolute;
  top: 18px;
  right: 24px;
  /* font-size: 12px !important; */
  background: #3498db;
  /* background-image:none !important; */
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.edit-link:hover {
  background: #217dbb;
}

/* Edit Info */
.edit-info {
  /* background: #fffbe6;
  border: 1px solid #ffeaa7;
  border-radius: 6px; */
  padding: 3px;
  font-size: 13px;
  color: #b8860b;
}

.clearfloat {
  clear: both;
  height: 0;
}

/* === OPTIMIZED 1200PX REMARK DIALOG LAYOUT === */
.remark-container {
  display: flex;
  gap: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.schedule-form {
  flex: 0 0 380px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;

  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.schedule-table-container {
  padding: 15px;
}

.history-panel {
  flex: 1;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-header {
  background: #1c2342;
  color: white;
  border-bottom: none;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  margin: 0;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  padding: 20px;
}

.schedule-table td {
  vertical-align: middle;
}

.field-label {
  font-weight: 600;
  color: #374151;
  width: 80px;
  font-size: 14px;
  padding-right: 12px;
}

.form-subtitle {
  font-weight: 600;
  color: #6b7280;
  font-size: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 16px;
}

.button-row {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  margin-top: 16px;
}

/* === MODERN FORM CONTROLS === */
#date {
  padding: 8px 12px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s ease;
  width: 140px;
}

#hours {
  padding: 8px 12px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  margin-right: 8px;
  transition: all 0.2s ease;
  width: 100px;
}

#minutes {
  padding: 8px 12px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  margin-left: 8px;
  transition: all 0.2s ease;
  width: 80px;
}

#remarks {
  width: 100%;
  padding: 12px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
  transition: all 0.2s ease;
  min-height: 100px;
}

#timeFeedback {
  min-height: 20px;
  font-size: 13px;
  color: #3b82f6;
  padding: 6px 0;
  font-weight: 500;
}

/* === MODERN BUTTONS === */
#addRemarks,
#update,
#update_c {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin: 0 4px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#addRemarks {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

#addRemarks:hover:not(:disabled) {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

#update {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(107, 114, 128, 0.2);
}

#update:hover:not(:disabled) {
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(107, 114, 128, 0.3);
}

#update_c {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

#update_c:hover:not(:disabled) {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

#addRemarks:disabled,
#update:disabled,
#update_c:disabled {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* === ENHANCED STATES === */
#date:focus,
#hours:focus,
#minutes:focus,
#remarks:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#date:disabled,
#hours:disabled,
#minutes:disabled,
#remarks:disabled {
  background-color: #f9fafb;
  color: #6b7280;
  cursor: not-allowed;
  border-color: #e5e7eb;
}

/* Clean up old styles that conflict */
.left,
.right {
  display: none;
}

.popup_label {
  display: none;
}

.call_back_schedule {
  display: none;
}

/* Modern Overlay System */
.overlay-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
}

.overlay-container {
  position: fixed;
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  /* max-height: 90%; */
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 1001;
}

.overlay-header {
  background: #2c3e50;
  color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.overlay-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.overlay-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.overlay-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.overlay-content {
  padding: 10px;
  overflow-y: auto;
  max-height: calc(90vh - 120px);
}

.overlay-footer {
  background: #ecf0f1;
  padding: 12px 20px;
  border-top: 1px solid #ddd;
  text-align: right;
}

.overlay-footer button {
  background: #95a5a6;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  margin-left: 8px;
  border: 1px solid #b5cad5;
}

.overlay-footer button:hover {
  background: #7f8c8d;
  color: #1c2342;
}

.CallID {
  font-size: 10pt;
  padding: 5px;
  background-color: #e4f5d6;
  border-bottom: thin #999 solid;
  margin-bottom: 9px;
}

.CallID:hover {
  font-size: 10pt;
  padding: 5px;
  background-color: #f5f7f2;
  margin-bottom: 8px;
}

.CallEdit {
  font-size: 12px;
  text-align: center;
  /* height: 15px;
  width: 40px; */
  /* background-image: url(../images/edit.png);
  background-position: bottom; */
  cursor: pointer;
  line-height: 140%;
  display: inline-block;
}

.CallEdit:hover {
  background-position: top;
  color: #7e7e7e;
}

.remark_box {
  background-color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  line-height: 18px;
  padding: 15px;
  margin-top: 4px;
  
  -moz-box-shadow: 0px 1px 1px #ccc;
  -webkit-box-shadow: 0px 1px 1px #ccc;
  box-shadow: 0px 1px 1px #ccc;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

.remark {
  width: 50px;
  display: inline;
  margin: 4px 0 10px 10px;
  float: left;
}

.remark_box:hover {
  background-color: rgba(255, 254, 240, 0.9);
}

.remark_desc {
  color: #4b3838;
  font-size: 12px;
  /* font: "Century Gothic";
  font-weight: 200;
  font-style: normal;
  text-align: left justify; */
  float: right;
  width: 325px;
  margin-bottom: 3px;
  border-bottom: thin #999 solid;
}

.remark_label {
  color: #5e717e;
  font-weight: bold;
  display: inline-block;
  font-size: 10pt;
  text-align: left;
  float: left;
  width: 120px;
  margin-left: 10px;
  margin-bottom: 4px;
}

.remark_edit_stamp {
  padding-left: 10px;
  font-size: 9pt;
  color: #999;
  float: left;
}

th {
  font-size: 12pt;
  color: #999;
  font-weight: bold;
  font: "Century Gothic";
}

/*prospect detail styles */

/* .popup_bg {
	Background-color: #f2f2f2;
	border: solid;
	border-width: thin;
	border-color: #ccc;
	border-radius: 5px;
	-moz-border-radius: 5px;
	padding-top: 10px;
	width: 870px;
} */
.popup_bg {
  display: flex;
  align-items: flex-start;
}

.prospect_details {
  /* margin: 10px 5px; */
  /* display: block; */
  width: 50%;
}

.prospect_details fieldset {
  margin-bottom: 10px;
  padding: 6px 10px;
}

.info_label {
  color: #5e717e;
  font-weight: bold;
  font-size: 10pt;
  text-align: left;
  margin-bottom: 5pt;
  padding-bottom: 5pt;
  display: block;
  background-image: url(../images/border.png);
  background-repeat: no-repeat;
  background-position: bottom left;
}

.info_display {
  font-size: 12pt;
  color: #333;
  font: "Century Gothic";
  width: inherit;
}

.info_inline {
  width: auto;
  display: -cell;
  padding-right: 20px;
}

.Prospect_Nationality td {
  font-size: 10pt;
  color: #30434b;
}

.Prospect_Nationality th {
  font-size: 10pt;
  color: #205872;
  vertical-align: top;
  font-style: bold;
  text-align: left;
}

.Prospect_details_labels td {
  font-size: 10pt;
  color: #30434b;
  border-bottom: thin solid #999;
}

.Prospect_details_labels th {
  font-size: 10pt;
  color: #205872;
  font-style: bold;
  text-align: left;
}

.view_details_pop {
  width: 850px;
  width: 100%;
}

.all_idnum {
  width: 8%;
}

.all_name {
  width: 30%;
}

.all_company {
  width: 30%;
}

.all_position {
  width: 25%;
}

/* form styles */

#pcid {
  /* margin-left: 20px; */
}

.prospect_id {
  line-height: 190%;
}

#form_left {
  float: left;
  vertical-align: top;
  width: 48%;
  margin-right: 5px;
}

#form_right {
  float: right;
  vertical-align: top;
  width: 48%;
  margin-left: 5px;
}

.clear {
  /* generic container (i.e. div) for floating buttons */
  overflow: hidden;
  width: 100%;
}

/*  styles */

.data_content_blue {
  font-size: 10pt;
  width: 100%;
  height: auto;
  background-color: #95ccfe;
  padding: 3px 10px;
  margin: 3px 0px;
  -moz-border-radius: 12px;
  border-radius: 5px;
  font: Arial, Helvetica, sans-serif;
}

.data_content_green {
  font-size: 10pt;
  width: 988px;
  height: auto;
  background-color: #9ae59a;
  padding: 3px 10px;
  margin: 3px 0px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  font: Arial, Helvetica, sans-serif;
}

.data_content_red {
  font-size: 10pt;
  width: 988px;
  height: auto;
  background-color: #ff8f8f;
  padding: 3px 10px;
  margin: 3px 0px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  border-radius: 12px;
  font: Arial, Helvetica, sans-serif;
}

.data_content_blue:hover {
  background-color: #cae5ff;
  -moz-box-shadow: 0px 0px 1px #000;
  -webkit-box-shadow: 0px 0px 1px #000;
  box-shadow: 0px 0px 1px #000;
}

.data_content_green:hover {
  background-color: #f3f8ea;
  -moz-box-shadow: 0px 0px 1px #000;
  -webkit-box-shadow: 0px 0px 1px #000;
  box-shadow: 0px 0px 1px #000;
}

.data_content_red:hover {
  background-color: #ffe6d0;
  -moz-box-shadow: 0px 0px 1px #000;
  -webkit-box-shadow: 0px 0px 1px #000;
  box-shadow: 0px 0px 1px #000;
}

.label_blue {
  font-size: 8pt;
  color: #555;
  font: Arial, Helvetica, sans-serif;
  vertical-align: bottom;
}

.time {
  font: bolder 14pt "Century Gothic";
  color: #3f3f3f;
  width: 100px;
  float: left;
}
.cbdate {
  font-size: 12px;
  line-height: 12px;
}

.time_lapse {
  float: left;
  font-size: 8pt;
}

.time_icon {
  margin: 2px 15px 2px;
}

.Prospect_info {
  width: 400px;
  font-size: 10pt;
  font: Arial, Helvetica, sans-serif;
  padding-left: 10px;
  margin-left: 10px;
  border-left: thin #666 solid;
  color: #333;
}

.Name a {
  color: #3c5056;
  font-size: 12pt;
  padding-bottom: 15px;
}

.Name {
  color: #3c5056;
  font-size: 12pt;
}

.Name a:hover {
  color: #708c9b;
}

.ID_number {
  margin-left: 5px;
  font-size: 8pt;
  display: inline;
  font: Arial, Helvetica, sans-serif;
  vertical-align: super;
}

.contact_info {
  font-size: 10pt;
  color: #333;
  text-align: left;
  vertical-align: bottom;
  padding-left: 10px;
  border-left: thin #666 solid;
  margin-left: 10px;
  background-color: transparent;
  line-height: 100%;
  width: 240px;
}

.secretary_info {
  width: 100px;
  font-size: 12pt;
  color: #5b5b5b;
  text-align: left;
}

.dashboard_remarks_label {
  font-size: 10pt;
  color: #47646d;
  text-align: right;
  padding-right: 10px;
  position: relative;
}

.dashboard_remarks {
  min-height: 50px;
  font-size: 10pt;
  color: #666;
  text-align: left;
  padding: 4px;
  box-shadow: 1px 1px 2px #777;
  /* background-color: rgba(254, 255, 252, 0.4); */
  background-color: #fff;
  border-radius: 3px;
  margin-left: 0;
}

.dashboard_remarks:hover {
  color: #222;
  box-shadow: 1px 1px 2px #aaa;
}

.footer {
  margin: 10px auto;
  text-align: center;
  color: #666;
}

.server_time {
  float: left;
  font-size: 12pt;
  color: #999;
  font-weight: bold;
  font: "Century Gothic";
  margin-left: 10px;
}

.top_caption {
  margin-left: 10px;
  background-color: #dfe8f0;
  border-bottom: thin solid #333;
  border-left: thin solid #666;
  border-right: thin solid #666;
}

.caption {
  font-size: 10pt;
  color: #4c697e;
}

.sort_group {
  margin: 2px 5px;
  display: inline-block;
  background-color: #ecedf2;
  padding: 2px 3px;
  border: thin dotted #444;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  float: right;
}

.time_sorting {
  margin: 3px 0 3px 96px;
  color: #333;
  border: thin dashed #666;
  border-radius: 5px;
  -moz-box-shadow: 2px 2px 3px #ccc;
  -webkit-box-shadow: 2px 2px 3px #ccc;
  background-color: #eee;
  padding: 2px 20px;
  font-style: oblique;
  font-size: 10pt;
  width: 30%;
  float: left;
}

.actiondiv {
  background-color: #f3d5cc;
  padding: 4px;
  border-radius: 3px;
  moz-border-radius: 3px;
  -moz-box-shadow: 1px 1px 1px #ccc;
  -webkit-box-shadow: 1px 1px 1px #ccc;
}

#tblunp {
  width: auto;
  display: inline;
  margin: 10px 5px;
}

#legendunp {
  margin: 10px 5px;
  width: auto;
}

.error_msg {
  width: auto;
  display: inline-block;
  margin: 5px;
  padding: 3px 5px;
  background-color: #fcc;
  border: thin solid #c00;
  font-size: 9pt;
  color: #333;
}

.warning {
  margin: 5px auto;
  padding: 10px 10px;
  background-color: #fcc;
  border: thin solid #e36868;
  font-size: 9pt;
  color: #52000a;
  border-radius: 10px;
  moz-border-radius: 10px;
  width: 600px;
}

.warning_title {
  font-size: 14pt;
  font-weight: bold;
  color: #da4b4b;
  text-align: center;
}

.warning_left {
  float: left;
  width: 15%;
}

.warning_left img {
  position: relative;
  top: 20px;
  left: 20px;
}

.warning_right {
  float: right;
  width: 85%;
}

.info_box {
  margin: 5px auto;
  padding: 10px 10px;
  background-color: #b5d4f1;
  border: thin solid #4e7eab;
  font-size: 10pt;
  font-weight: 600;
  color: #1a4860;
  border-radius: 10px;
  moz-border-radius: 10px;
  width: 400px;
  text-align: center;
}

.info_box2 {
  margin: 5px auto;
  padding: 10px;
  background-color: #cde1f4;
  border: thin solid #4e7eab;
  font-size: 12pt;
  color: #1a4860;
  border-radius: 10px;
  moz-border-radius: 10px;
  width: auto;
  display: inline-block;
}

.info_box img {
  vertical-align: middle;
  margin: 0 10px;
}

.green_box {
  margin: 5px auto;
  padding: 10px 10px;
  background-color: #d8f1b5;
  border: thin solid #7cab4e;
  font-size: 10pt;
  font-weight: bold;
  color: #4c6537;
  border-radius: 10px;
  moz-border-radius: 10px;
  width: 600px;
}

.text_box {
  padding: 5px;
  font-size: 12pt;
  width: 180px;
  display: inline-block;
}

.action_button {
  margin: 0 2px 2px 0;
}

.table_border {
  border: thin ridge #999;
  padding: 5px;
  margin-top: 5px;
}

.style_text_red {
  color: b71c1c;
  font-weight: bold;
  margin-left: 15px;
}

.dupe_results {
  width: 100%;
}

.dupe_results td {
  background-color: #f0f0f6;
  border-bottom: #4c697e thin solid;
  border-right: #6a92af thin solid;
  padding: 0 7px;
}

.dupe_results th {
  background-color: #d1dce5;
  color: #4c697e;
}

.dupe_results td.vs,
.dupe_results th.vs {
  width: 8px;
  background-color: #4c697e;
  padding: 0;
}

.dupe_results td.white {
  background-color: #fff;
}

table td.grey {
  background-color: #ddeaf5;
  font-weight: 500;
}

table td.dark {
  background-color: #f5dddd;
  font-weight: 500;
}

.Client_id {
  margin: 5px;
  color: #53708a;
  font-weight: 700;
}

.info_display a {
  display: inline-block;
  text-decoration: none !important;
  margin-right: 6px;
}
.dflt_btn {
  display: block;
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
  background: #ffffff;
  border-radius: 3px;
  border: 1px solid #1c2342;
  padding: 5px 8px;
  text-decoration: none;
  color: #1c2342 !important;
}
.dflt_btn.warn {
  border: 1px solid #951616;
  color: #951616 !important;
}
#usr_add.dflt_btn {
  display: inline-block;
}
.mplbl,
.mplbl input {
  cursor: pointer;
}
.mplbl input {
  width: 20px;
  height: 20px;
  vertical-align: -3px;
}

/* Prospect Action Buttons - Professional & Modern Design */
.prospect-action-btn {
    border-radius: 6px;
    padding: 6px 14px 6px 12px;
    margin-right: 6px;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.prospect-action-btn[name="schedule"] {
    background: #4a90e2;
    border-color: #3a7bc8;
    color: #fff;
    text-decoration: none;
}

.prospect-action-btn[name="edit_p"] {
    background: #5cb85c;
    border-color: #4cae4c;
    color: #fff;
    text-decoration: none;
}

.prospect-action-btn[name="black_p"] {
    background: #d9534f;
    border-color: #c9302c;
    color: #fff;
    text-decoration: none;
}

.prospect-action-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.prospect-action-icon {
    margin-right: 6px;
    font-size: 12px;
}

/* Modern Admin Action Buttons */
.admin-action-btn {
    border-radius: 6px;
    padding: 6px 12px;
    margin-right: 6px;
    margin-bottom: 2px;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-size: 12px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.admin-action-btn[name="mkclient_p"] {
    background: #17a2b8;
    border-color: #138496;
}

.admin-action-btn[name="reassign_p"] {
    background: #ffc107;
    border-color: #e0a800;
    color: #212529;
}

.admin-action-btn[name="del_p"] {
    background: #dc3545;
    border-color: #c82333;
}

.admin-action-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Modern Filter Panel */
.modern-filter-panel {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 2px solid #dee2e6;
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    color: #495057;
    margin: 0;
    padding: 0;
}

.filter-stats {
    display: flex;
    gap: 20px;
}

.total-records, .showing-records {
    background: #e9ecef;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #495057;
}

.showing-records {
    background: #d1ecf1;
    color: #0c5460;
}

/* Search Section */
.search-section {
    margin-bottom: 10px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.main-search-input {
    width: 100%;
    padding: 12px 16px;
    padding-right: 40px;
    border: 2px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.main-search-input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.clear-search-btn {
    position: absolute;
    right: 12px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 12px;
    display: none;
}

.clear-search-btn:hover {
    background: #dc3545;
}

/* Advanced Filters */
.advanced-filters {
    margin-bottom: 10px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-label {
    font-weight: 600;
    color: #495057;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    text-align: left;
    margin: 0;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    transition: border-color 0.2s ease;
}

.filter-select:focus {
    border-color: #007bff;
    outline: none;
}

/* Active Filters */
.active-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #e3f2fd;
    border-radius: 6px;
    margin-top: 10px;
}

.active-filters-label {
    font-weight: 600;
    color: #1976d2;
    font-size: 13px;
}

#filter-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.filter-chip {
    background: #2196f3;
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-chip .remove-chip {
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    cursor: pointer;
    font-size: 10px;
}

.clear-all-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

/* Pagination Section */
.pagination-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #dee2e6;
    padding-top: 5px;
}

.pagination-info {
    font-weight: 600;
    color: #495057;
}

.pagination-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
}

.page-btn:hover:not(:disabled) {
    background: #0056b3;
}

.page-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.page-select {
    padding: 6px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 13px;
}

/* Bulk Actions */
.bulk-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    margin-top: 10px;
}

.bulk-label {
    font-weight: 600;
    color: #856404;
    font-size: 13px;
}

.bulk-btn {
    background: #ffc107;
    color: #212529;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s;
}

.bulk-btn:hover {
    background: #e0a800;
}

.bulk-btn.danger {
    background: #dc3545;
    color: white;
}

.bulk-btn.danger:hover {
    background: #c82333;
}

@media (max-width: 768px) {
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .pagination-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .pagination-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Prospects Container */
.prospects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 15px;
}

@media (max-width: 768px) {
    .prospects-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Modern Prospect Card */
.prospect-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
}

.prospect-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.prospect-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.prospect-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prospect-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.prospect-id {
    background: #6c757d;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.prospect-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.prospect-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin-bottom: 5px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 11px;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
}

.detail-value {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}

.prospect-name {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.prospect-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid #e9ecef;
    padding-top: 5px;
}

/* Table Modernization */
.modern-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.modern-table thead {
    background: #f8f9fa;
}

.modern-table th {
    padding: 16px;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    text-align: left;
}

.modern-table td {
    padding: 0;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .new-history-item {
    padding: 16px 8px 12px 8px;
  }
  .edit-link {
    top: 12px;
    right: 8px;
    padding: 6px 10px;
    font-size: 13px;
  }
  .content-text {
    font-size: 14px;
    padding: 8px 8px;
  }
}
