/**
 * ZodiacPress Styles
 */

/* General
-------------------------------------------------------------- */
@font-face {
  font-family: "zodiacpress";
  src: local("zodiacpress"),
    url("../fonts/zodiacpress.woff?fr7qsr") format("woff");
  font-weight: normal;
  font-style: normal;
}
#zp-form-wrap,
#zp-report-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 1em auto;
  font-size: 1em;
  line-height: 1.62em;
  font-family: "Gilroy", sans-serif;
}
.zp-small {
  font-size: 0.9em;
}

/* Form
-------------------------------------------------------------- */
#zp-form-wrap input,
#zp-form-wrap select {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
}

#zp-birthreport-form {
  border: 1px solid #cc9e75;
  border-radius: 25px;
  background-color: transparent;
}

#zp-birthreport-form:hover,
#zp-birthreport-form:focus {
  background: rgba(231, 252, 103, 0.1);
  box-shadow: 0 20px 60px rgba(231, 252, 103, 0.2),
    0 0 40px rgba(231, 252, 103, 0.1);
}

#zp-birthreport-form .zp-input-text:focus,
#zp-birthreport-form select:focus {
  border: 1px solid #cc9e75;
  outline: 0;
  transition: 0.2s ease-in;
}
#zp-form-wrap h2,
#zp-form-wrap .zp-form {
  width: 500px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.zp-form #hour,
.zp-form #month,
.zp-form #day {
  margin-right: 0.6em;
}
#zp-birthreport-form .zp-input-text {
  width: 100%;
  max-width: 100%;
}
#zp-birthreport-form fieldset,
#zp-birthplace {
  border: 0;
  margin: 0;
  padding: 0.8em 0;
}
#zp-birthreport-form legend {
  float: left;
  margin: 5px 10px 0 0;
}
.zp-name-field {
  margin-bottom: 12px;
}
.zp-name-field label,
.zp-birthdate legend,
.zp-birthtime legend,
#zp-birthplace label {
  min-width: 120px;
  font-weight: normal;
}
#zp-birthreport-form .zp-input-text,
#zp-birthreport-form select {
  padding: 8px;
  background: #f7f7f7;
  border: 1px solid #d1d1d1;
  border-radius: 2px;
  color: #1a1a1a;
  box-sizing: border-box;
}
#zp-birthreport-form .zp-form-label {
  float: left;
}
#zp-birthreport-form .zp-input-text-wrap {
  display: block;
  overflow: hidden;
}
.zp-name-field,
.zp-email-field,
#zp-password,
#zp-password-confirm,
#zp-birthplace {
  display: flex;
  flex-direction: column;
}

.zp-name-field label,
.zp-email-field label,
#zp-password label,
#zp-password-confirm label,
#zp-birthplace label {
  margin-bottom: 0 !important;
}

.zp-unknown-time-field {
  margin-top: 1em;
  text-align: center;
}
.zp-unknown-time-field #unknown_time {
  vertical-align: middle;
  margin-right: 0.4em;
}
form .zp-button {
  background: #cc9e75;
  border: 0;
  border-radius: 2px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 0.6em 0.8em;
  box-sizing: border-box;
}
form .zp-button:hover,
.zp-button:focus {
  background-color: #cc9e75;
}
#zp-submit-wrap {
  margin-top: 32px;
}
#zp-fetch-birthreport {
  margin: 3px 0 36px;
  width: 100%;
  cursor: pointer;
}
#zp-fetch-birthreport[disabled],
#zp-fetch-birthreport[disabled]:hover {
  cursor: default;
  cursor: not-allowed;
  opacity: 0.5;
  background: #333;
  border-color: #333;
}

/* Autocomplete
-------------------------------------------------------------- */
#autoComplete_results_list {
  cursor: default;
  padding: 0;
  margin: 0;
  background: #fff;
  color: #333;
  border-radius: 2px;
  font-size: 0.9em;
  font-family: Arial, Helvetica, sans-serif;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}
#autoComplete_results_list .autoComplete_result {
  list-style: none;
  padding: 2px 6px;
  margin: 0;
  border: 1px solid #ddd;
  border-bottom: 0;
  display: block;
}
.autoComplete_result:hover,
.autoComplete_result:focus {
  background: #ededed;
  font-weight: normal;
  color: #2b2b2b;
}

/* Ajax
-------------------------------------------------------------- */
#zp-report-wrap,
#zp-offset-wrap,
#zp-form-tip {
  display: none;
}
#zp-offset-label,
#zp-offset-wrap #zp_offset_geo {
  background-color: transparent;
  color: #cc9e75;
  font-size: 13px;
  font-weight: bold;
  border: 0;
  margin: 0;
  padding: 0;
  line-height: 0.9;
}
#zp-offset-label {
  display: inline;
  float: left;
  clear: left;
}
#zp_offset_geo {
  display: inline;
  float: left;
  width: 40%;
}
#zp-offset-wrap {
  margin: 0;
  padding: 0;
}
#zp-offset-wrap #zp_offset_geo {
  padding: 0 10px;
  box-shadow: unset;
}
.ui-state-error {
  border: 1px solid #f1a899;
  background: #fddfdf;
  color: #5f3f3f;
  padding: 1px;
}

/* Report
-------------------------------------------------------------- */

.zp-report-backlink {
  text-align: right;
}
.zp-report-header,
.zp-report-caption {
  background-color: transparent;
  text-align: left;
  line-height: 1.4;
  padding: 4px 10px;
}
.zp-report-caption {
  font-weight: 700;
  border-bottom-width: 0;
  font-size: 1.1rem;
  margin-left: 0.9rem;
}
.zp-report-header {
  max-width: 575px;
  margin: 0;
  font-size: 0.8em;
  border-collapse: inherit;
  table-layout: fixed;
  border-top-width: 0;
  border: 1px solid #cc9e75;
  border-radius: 25px;
  margin-bottom: 2rem;
}
.zp-mobile-wrap {
  display: inline;
  margin: 0;
  padding: 0;
}
.zp-report-header td,
.zp-report-header td:first-child {
  padding: 0 10px;
  border: 0;
  white-space: nowrap;
}
.zp-report-header tr {
  border: 0;
}
.zp-report-header tr:last-child td {
  padding-bottom: 5px;
}
.zp-chart-drawing {
  margin-top: 1em;
  box-shadow: 0 0 25px rgba(231, 252, 103, 0.5);
  border-radius: 100%;
}
.zp-zodiacal-dms {
  font-weight: 400;
  padding-left: 1em;
  font-size: 0.9em;
}
.zp-subheading {
  font-weight: bold;
}
h3.zp-report-section-title {
  padding: 2em 0;
  font-weight: bold;
  margin: 0.3em 0;
}
.zp-orb {
  font-weight: 400;
  font-style: italic;
  font-size: 12px;
}

[class^="zp-icon-"],
[class*=" zp-icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "zodiacpress" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  color: #cf000f;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.zp-icon-aries:before {
  content: "\e90b";
}
.zp-icon-taurus:before {
  content: "\e909";
  color: #00d717;
}
.zp-icon-gemini:before {
  content: "\e90a";
  color: #f5ab35;
}
.zp-icon-cancer:before {
  content: "\e908";
  color: #4169e1;
}
.zp-icon-leo:before {
  content: "\e907";
}
.zp-icon-virgo:before {
  content: "\e906";
  color: #00d717;
}
.zp-icon-libra:before {
  content: "\e905";
  color: #f5ab35;
}
.zp-icon-scorpio:before {
  content: "\e904";
  color: #4169e1;
}
.zp-icon-sagittarius:before {
  content: "\e903";
}
.zp-icon-capricorn:before {
  content: "\e902";
  color: #00d717;
}
.zp-icon-aquarius:before {
  content: "\e901";
  color: #f5ab35;
}
.zp-icon-pisces:before {
  content: "\e900";
  color: #4169e1;
}

/*  Misc
-------------------------------------------------------------- */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.zp-clear:after {
  content: "";
  display: table;
  clear: both;
}
#zp-form-wrap .ui-state-highlight {
  border: 1px solid #dac15e;
  background: #ffdc90;
  color: #777620;
}

@media screen and (max-width: 727px) {
  .zp-form #hour,
  .zp-form #month,
  .zp-form #day,
  .zp-form #minute {
    margin-right: 0.2em;
  }
  #zp-birthreport-form .zp-form-label,
  #zp-birthreport-form legend {
    float: none;
    padding: 0 3px;
  }
  #zp-birthreport-form .zp-input-text-wrap {
    padding: 7px 0 0;
  }
  .zp-report-header {
    max-width: 100%;
  }
  .zp-mobile-wrap {
    display: block;
  }
}

/* Custom dark theme styles */
body {
  background-color: #0d0d0d;
  color: #f9fafb;
}

#zp-form-wrap .zp-form,
#zp-report-wrap {
  padding: 24px;
}

#zp-form-wrap h2 {
  text-align: center;
  color: #cc9e75;
}

.zp-name-field label,
.zp-birthdate legend,
.zp-birthtime legend,
#zp-birthplace label,
.zp-unknown-time-field label {
  color: #d1d5db;
  font-weight: bold;
}

#zp-birthreport-form .zp-input-text,
#zp-birthreport-form select {
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 25px;
  color: #f9fafb;
  padding: 12px;
}

#zp-birthreport-form .zp-input-text:focus,
#zp-birthreport-form select:focus {
  border-color: #cc9e75;
  outline: none;
  box-shadow: 0 0 5px rgba(252, 200, 103, 0.5);
  transition: all 0.2s ease-in;
}

#zp-birthreport-form .zp-input-text::placeholder {
  color: #9ca3af;
  opacity: 1;
}

#zp-birthreport-form .zp-input-text:-ms-input-placeholder {
  color: #9ca3af;
}

#zp-birthreport-form .zp-input-text::-ms-input-placeholder {
  color: #9ca3af;
}

form .zp-button#zp-fetch-birthreport {
  background-color: #cc9e75;
  color: #111827;
  border-radius: 25px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  width: 100%;
  padding: 16px;
  transition: background-color 0.3s;
}

form .zp-button#zp-fetch-birthreport:hover {
  background-color: #f0c550;
}

.zp-unknown-time-field {
  text-align: left;
  margin-left: 2px;
}

#zp-report-content {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  justify-content: center;
  align-items: center;
}

#zp-birthreport-form input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  margin-right: 0.7em;
  font: inherit;
  color: #4b5563;
  width: 1.25em;
  height: 1.25em;
  border: 0.15em solid #4b5563;
  border-radius: 50%;
  transform: translateY(-0.075em);
  display: inline-grid;
  place-content: center;
  vertical-align: middle;
}

#zp-birthreport-form input[type="checkbox"]::before {
  content: "";
  width: 0.75em;
  height: 0.75em;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #cc9e75;
  background-color: #cc9e75;
}

#zp-birthreport-form input[type="checkbox"]:checked::before {
  transform: scale(1);
}

#zp-birthreport-form .zp-unknown-time-field label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  color: #d1d5db;
}

/* Password fields styles */
#zp-password,
#zp-password-confirm,
#zp-terms {
  border: 0;
  margin: 0;
  padding: 12px 0;
}

#zp-password label,
#zp-password-confirm label,
#zp-terms label {
  min-width: 120px;
  font-weight: normal;
  color: #d1d5db;
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
}

#zp-password .zp-input-text,
#zp-password-confirm .zp-input-text {
  width: 100%;
  max-width: 100%;
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 25px;
  color: #f9fafb;
  padding: 12px;
  margin-bottom: 5px;
}

#zp-password .zp-input-text:focus,
#zp-password-confirm .zp-input-text:focus {
  border-color: #cc9e75;
  outline: none;
  box-shadow: 0 0 5px rgba(252, 200, 103, 0.5);
  transition: all 0.2s ease-in;
}

#zp-terms input[type="checkbox"] {
  margin-right: 0.7em;
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
}

#zp-terms label {
  font-size: 0.9em;
  line-height: 1.4;
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* Password error styles */
.zp-password-error {
  color: #ef4444;
  font-size: 0.85em;
  margin-top: 5px;
  display: block;
  padding: 5px 10px;
  background-color: rgba(239, 68, 68, 0.1);
  border-radius: 5px;
  border-left: 3px solid #ef4444;
}

/* Required field indicator */
.zp-form-label span[style*="color: red"] {
  color: #ef4444 !important;
  font-weight: bold;
}

/* Welcome message styles */
.zp-welcome-message {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #cc9e75, #f0bb50);
  border-radius: 15px;
  color: #111827;
  margin: 20px 0;
  box-shadow: 0 10px 30px rgba(204, 158, 117, 0.3);
}

.zp-welcome-message h2 {
  color: #111827;
  margin-bottom: 20px;
  font-size: 2em;
  font-weight: bold;
}

.zp-welcome-message p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #374151;
}

.zp-loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #111827;
  animation: spin 1s ease-in-out infinite;
  margin-top: 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
