* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Full background */
body, html {
  height: 100%;
}

.page {
  height: 103vh !important;
  /* background: url("../images/registrationPage/registration_bg.png") no-repeat center center; */
  background: url("../images/registrationPage/registration_bg.webp") no-repeat center center;
  background-size: cover; 
}

.page:before {
  /* content: ""; */
  /* position: absolute; */
  /* top: 0; */
  /* left: 0; */
  /* width: 100%; */
  /* height: 100%; */
  background: rgb(0 0 0 / 0%);
  backdrop-filter: blur(5px); /* blur effect */
  z-index: 0 !important;
}


/* .content {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 40px;
} */

.content {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}


/* Cards */
/* .card {
  width: 410px;
  padding: 25px;
  border-radius: 15px;
  background-color: #141a21e3;
  backdrop-filter: blur(10px);
} */

.card {
  flex: 1;
  max-width: 410px;
  width: 100%;
  padding: 25px;
  border-radius: 15px;
  background-color: #141a21e3;
  backdrop-filter: blur(10px);
}

.right-card, .left-card {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), -2px -2px 10px var(--neon-navy-blue), 2px 2px 10px rgba(255, 255, 255, 0.05)
}

input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: none;
  outline: none;
}


.upload-content:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(0.98); /* Slight click effect */
  color: #12171e;
}


.platinum-ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Conic gradient creates the "anodized" or "brushed" silver effect */
  background: conic-gradient(
    from 190deg at 50% 50%,
    #4a4a4a 0%,    /* Dark anchor */
    #b0b0b0 10%,   /* Silver mid-tone */
    #707070 25%,   /* Deep shadow */
    #e0e0e0 45%,   /* Sharp highlight */
    #808080 55%,   /* Muted grey */
    #f5f5f5 65%,   /* Secondary highlight */
    #4a4a4a 100%   /* Return to dark */
  );

  /* Deepen the outer shadows to make it look "weighted" */
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.7), 
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.preview-image {
  position: absolute;
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 50%;

  display: none;

  filter: contrast(1.05) brightness(0.95) saturate(1.1);

  /* soft fade into edges so it doesn't break the ring */
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 100%);
}


.upload-content {
  /* Keep the inner content slightly smaller to show the silver rim */
  width: 175px; 
  height: 175px;
  border-radius: 50%;
  background: #12171e; /* Dark background keeps it from looking "light" */
  
  /* This inner shadow creates the "milled" look where the silver meets the center */
  box-shadow: 
    inset 0 8px 15px rgba(0, 0, 0, 0.8),
    0 2px 4px rgba(255, 255, 255, 0.1);
    
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #a0a0a0;
  font-size: var(--font-primary);
}



/* Row inputs */
.row {
  display: flex;
  gap: 10px;
}


/* Button */
.btn {
  width: 100%;
  padding: 12px;
  /* margin-top: 15px; */
  border-radius: 25px;
  border: none;
  background: linear-gradient(to right, #9d6245, #f5d78e);
  color: black;
  font-weight: bold;
  cursor: pointer;
}


/* Map */
.map-box {
  height: 250px;
  margin-top: 15px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}


#map {
    height: 400px;
    width: 100%;
    border-radius: 12px;
}

/* Text */
.login-text {
    margin-top: 10px;
    font-size: var(--font-secondary);
    text-align: center;
    display: inline-flex;
    width: 100%;
    justify-content: center;
    gap: 5px;
}


.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px var(--neon-navy-blue);
}


.input-group {
    position: relative;
    margin-bottom: 0px !important;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    fill: #777;
}


.input-field {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 15px 15px 15px 45px;
    color: #ccc;
    font-size: var(--font-primary);
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.company-image-upload {
    text-align: center;
    justify-items: center;
}

.identification_input_icon {
    height: 18px;
    /* fill: #777; */
    width: 100%;
}

.identification_cards_wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.identification_card {
    width: 50%;
    text-align: center;
    padding: 15px;
    border: solid;
    border-color: #49484e;
    padding-inline-end: 10px;
    padding-inline-start: 10px;
    border-radius: 15px;
    border-width: thin;
}

.verification-container {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.error-field {
  border: 2px solid #ff4d4d !important;
  box-shadow: 0 0 8px rgba(255, 77, 77, 0.6);
  background: rgba(255, 0, 0, 0.05);
}

.error-message {
  color: #ff4d4d;
  font-size: var(--font-secondary);
  margin-top: 5px;
}


.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;
}

.popup-box {
    background: #12171e;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    width: 320px;

    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    color: #fff;
}

.popup-btn {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: #4a90e2;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

.popup-btn:hover {
    background: #3578c6;
}

.hidden {
    display: none;
}


.setup_title {
    font-size: var(--font-head);
}


@media (max-width: 1024px) {
  .content {
    gap: 25px;
  }

  .card {
    max-width: 410px;
  }

  .page {
    height: 122vh !important;
  }

}

@media (max-width: 768px) {

  .content {
    flex-direction: column;
    align-items: center;
    padding: 20px 12px;
    gap: 20px;
  }

  .card {
    padding: 20px 15px;
  }

  /* stack inputs */
  .row {
    flex-direction: column;
    gap: 0px;
  }


  /* FIX: upload cards */
  .identification_cards_wrapper {
    flex-direction: column;
  }

  .identification_card {
    width: 100%;
  }

  /* text */
  .setup_title {
    font-size: 1.3rem;
    text-align: center;
  }

  .input-field {
    font-size: 0.9rem;
    padding: 12px 12px 12px 40px;
  }

  .btn {
    padding: 10px;
    font-size: 0.9rem;
  }

  #map {
    height: 250px;
  }

  .page {
    height: 158vh !important;
  }
}


@media (max-width: 480px) {

  .content {
    padding: 15px 8px;
  }

  .card {
    padding: 15px 10px;
  }

  .setup_title {
    font-size: 1.1rem;
  }

  .input-field {
    font-size: 0.85rem;
  }

  .btn {
    font-size: 0.85rem;
  }

  .login-text {
    flex-direction: column;
    gap: 3px;
    font-size: 0.8rem;
  }

  #map {
    height: 200px;
  }
}

html, body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}


@media (max-width: 350px) {
  .page {
    height: 206vh !important;
  }
}