* {
  padding: 0;
  margin: 0;
}

body {
  margin: 0;
  color: #333333;
  height: 100%;
  background: #f7f8fa;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  font-size: 14px;
  font-family: "Hiragino Sans GB","Microsoft Yahei",SimSun,Arial,"Helvetica Neue",Helvetica;
}

html, body {
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
}

audio, canvas, progress, video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden], template {
  display: none;
}

svg:not(:root) {
  overflow: hidden;
}

a {
  background: transparent;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:active {
  outline: 0;
}

a:active {
  color: #006699;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b, strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
  vertical-align: middle;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

code, kbd, pre, samp {
  font-size: 1em;
}

button, input, optgroup, select, textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled], html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"], input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  resize: vertical;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td, th {
  padding: 0;
}

html, button, input, select, textarea {
  font-family: "Helvetica Neue", Helvetica, STHeiTi, Arial, sans-serif;
}

/* Custom Modal Styles */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.custom-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.custom-modal-overlay.active .custom-modal {
  transform: translateY(0);
  opacity: 1;
}

.custom-modal {
  background: #fff;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.custom-modal .modal-header {
  background: #1e3c8a;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-modal .modal-header h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

.custom-modal .modal-header .close-modal {
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.custom-modal .modal-header .close-modal:hover {
  color: #fff;
}

.custom-modal .modal-body {
  padding: 30px 20px;
  text-align: center;
}

.custom-modal .modal-body .modal-icon {
  width: 60px;
  height: 60px;
  background: rgba(44, 83, 179, 0.1);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-modal .modal-body .modal-icon svg {
  width: 30px;
  height: 30px;
  fill: #2c53b3;
}

.custom-modal .modal-body .modal-icon i {
  font-size: 30px;
  color: #2c53b3;
}

.custom-modal .modal-body .modal-icon img {
  width: 30px;
  height: 30px;
}

.custom-modal .modal-body p {
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}

.custom-modal .modal-footer {
  padding: 0 20px 25px;
  text-align: center;
}

.custom-modal .modal-footer .btn-confirm {
  background: #2c53b3;
  color: #fff;
  border: none;
  padding: 10px 30px;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.custom-modal .modal-footer .btn-confirm:hover {
  background: #274a9f;
  box-shadow: 0 5px 15px rgba(44, 83, 179, 0.3);
  transform: translateY(-1px);
}

.custom-modal .modal-footer .btn-confirm:active {
  transform: translateY(0);
}
