/*
---------------------------------------------------
Copyright (c) 2025, NEAR ZERO, LLC
---------------------------------------------------
*/
:root
{
  --nz-neon-blue: #00f0ff;
  --nz-deep-bg: #050510;
  --nz-modal-bg: #0a0f28;
  --nz-card-bg: rgba(10, 15, 40, 0.85);
  --nz-text-glow: 0 0 10px rgba(0, 240, 255, 0.5);
  --nz-box-glow: 0 0 15px rgba(0, 240, 255, 0.3);
}

body{margin:0 auto;padding:0;background:#1a113e url('https://nearzero.bio/img/background.png') center center no-repeat fixed;background-size:cover;color:#fff;}

.nz-contact-card {
  background: var(--nz-card-bg);
  border: 1px solid var(--nz-neon-blue);
  border-radius: 4px;
  box-shadow: var(--nz-box-glow), inset 0 0 20px rgba(0, 240, 255, 0.1);
  position: relative;
  backdrop-filter: blur(5px);
}

.nz-contact-card::before, .nz-contact-card::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--nz-neon-blue);
  transition: all 0.3s ease;
}
.nz-contact-card::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.nz-contact-card::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active
{
  -webkit-box-shadow: 0 0 0 30px var(--nz-modal-bg) inset !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #2a3b55 !important;
  caret-color: white;
}

.form-control {
  background-color: var(--nz-modal-bg) !important;
  border: 1px solid #2a3b55 !important;
  color: #fff !important;
  border-radius: 0 !important;
}

.form-control:focus {
  background-color: rgba(0, 240, 255, 0.05);
  border-color: var(--nz-neon-blue);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
  color: #fff;
}

.form-label {
  color: #a0c0ff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-control::placeholder {
  color: #4a5b75;
  font-style: italic;
}

.btn-nz {
  background: transparent;
  border: 1px solid var(--nz-neon-blue);
  color: var(--nz-neon-blue);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  width: 100%;
  padding: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.btn-nz:hover {
  background: var(--nz-neon-blue);
  color: #000;
  box-shadow: 0 0 25px var(--nz-neon-blue);
}

#contact-form
{
  margin:auto;
  width:70%;
  top:27%;
  left:15%;
  background-color:rgba(26,17,62,0.9);
  padding:1rem;
  border-radius:1rem;
}

.nz-modal-content {
    background-color: var(--nz-modal-bg);
    border: 1px solid var(--nz-neon-blue);
    box-shadow: var(--nz-box-glow);
    color: #fff;
    border-radius: 4px;
}

.nz-modal-body{padding-bottom:1rem;}

.nz-modal-header {
    border-bottom: 1px solid rgba(0, 240, 255, 0.3);
}

.nz-modal-header .modal-title {
    color: var(--nz-neon-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-shadow: var(--nz-text-glow);
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
}
.btn-close-white:hover {
    opacity: 1;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.modal-backdrop.show {
    opacity: 0.85;
    background-color: #020205; 
}

#app-website{display:none;}


#app-contact-submit
{
  position:relative;
  --hold-progress:0%;
  overflow:hidden;
  z-index:1;
  transition:none !important;
}

#app-contact-submit::before
{
  content:'';
  position:absolute;
  top:0;
  left:0;
  height:100%;
  background-color:rgba(255, 255, 255, 0.25);
  width:var(--hold-progress);
  z-index:-1;
  transition:width 2000ms linear;
}

label.success{font-size:0.9rem;font-style:italic;color:#75b798;}
label.error{font-size:0.9rem;font-style:italic;color:#842029;}
label.valid{display:none;}

.accepted{background-color:#1a113e;}
.accepted-icon{font-size:6rem;}
.accepted-info{color:#fff;}
