* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Full background */
body, html {
  height: 100%;
}


.page {
  background: url("../images/registrationPage/registration_main_page.png") no-repeat center center;
  background-size: cover;
}


.page:before {
  background: rgb(0 0 0 / 0%);
  backdrop-filter: blur(10px);
}


.header-logo-area {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.main-logo {
    max-height: 50px;
}

.main-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.main-card {
    width: 100%;
    max-width: 800px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-title {
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-primary);
    font-size: var(--font-title);
}

.options-wrapper {
    display: flex;
    gap: 30px;
    width: 100%;
    justify-content: center;
}


.selection-card {
    background-color: rgba(0, 0, 0, 0.4);
    border: 2px solid transparent;
    border-radius: 10px;
    width: calc(50% - 15px); 
    min-width: 300px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.individual-glow {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), -2px -2px 10px var(--neon-teal), 2px 2px 10px rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 204, 204, 0.4);
}
.individual-glow .option-title { color: var(--cyan); }

.individual-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px var(--neon-teal);
}

.fleet-glow {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), -2px -2px 10px var(--amber), 2px 2px 10px rgba(255, 255, 255, 0.05);
    border-color: rgba(233, 196, 106, 0.4);
}
.fleet-glow .option-title { color: var(--amber); }

.fleet-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px var(--amber);
}

.option-title {
    font-size: var(--font-head);
    margin-bottom: 20px;
    font-weight: 700;
}

.option-content-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
    justify-content: center;
}

.option-graphic {
    max-width: 80%;
    height: auto;
    object-fit: contain;
}

.option-description {
    font-size: var(--font-primary);
    color: var(--text-muted);
    line-height: 1.5;
}


.login-link {
    color: var(--references);
    font-size: var(--font-secondary);
    margin-top: 10px;
    cursor: pointer;
    text-decoration: none;
}

.login-text {
    color: var(--text-muted);
    font-size: var(--font-secondary);
    margin-top: 10px;
    cursor: pointer;
}

.page-bottom-link {
    display: block;
    margin: 20px auto;
    text-align: center;
    color: var(--text-muted);
    text-decoration: underline;
    font-size: var(--font-primary);
}

.company-profile-panel {
    width: 350px;
    min-width: 350px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel-title {
    margin-bottom: 10px;
    font-size: var(--font-head);
}

.dark-input {
    background-color: #1a1a1a;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 10px 15px;
    color: var(--text-primary);
    width: 100%;
}

.form-group.row {
    display: flex;
    gap: 10px;
}

.form-group .half-width {
    width: calc(50% - 5px);
}

.upload-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid #C0C0C0;
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 100%);
    box-shadow: inset 2px 2px 5px rgba(255,255,255,0.1), inset -2px -2px 5px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    cursor: pointer;
    margin: 10px auto;
    font-size: var(--font-secondary);
}

.location-section h4 {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: var(--font-primary);
}

.map-placeholder {
    height: 150px;
    background-color: rgba(0,0,0,0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 10px;
}

.login-link.centered {
    margin: 10px auto;
    width: fit-content;
}


.card {
  border-radius: 15px;
  background-color: #141a21e3;
  backdrop-filter: blur(10px);
}

.btn {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border-radius: 25px;
  border: none;
  background: linear-gradient(to right, #9d6245, #f5d78e);
  color: var(--text-primary);
  font-weight: bold;
  cursor: pointer;
}

.individual-btn {
    background: linear-gradient(to right, #145f63, #ffffff);
}

.company-btn {
    background: linear-gradient(to right, #9d6245, #f5d78e);
}

.login-section {
    display: flex;
    gap: 5px;
}

.register_btn {
    color: var(--text-primary);
    text-decoration: none;
}


@media (min-width: 769px) {
  .selection-card {
    min-width: 300px;
  }
}

/* =========================
   Tablets (≤ 992px)
========================= */
@media (max-width: 992px) {

  .main-layout {
    padding: 20px;
    gap: 20px;
  }

  .main-card {
    padding: 30px 20px;
  }

  .options-wrapper {
    gap: 20px;
  }

  .selection-card {
    min-width: unset;
    width: 100%;
  }
}


/* =========================
   Mobile (≤ 768px)
========================= */
@media (max-width: 768px) {

  /* Navbar */
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 15px;
  }

  .logo img {
    width: 80px;
    height: auto;
  }

  /* Layout */
  .main-layout {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .main-card {
    padding: 20px 15px;
  }

  .card-title {
    font-size: 1.5rem;
  }

  /* Stack cards vertically */
  .options-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .selection-card {
    width: 100%;
    padding: 20px 15px;
  }

  .option-title {
    font-size: 1.3rem;
  }

  .option-description {
    font-size: 0.9rem;
  }

  .btn {
    padding: 10px;
  }
}

@media (max-width: 600px) {
    .page {
        height: 125vh !important;
    }
}


/* =========================
   Small Mobile (≤ 480px)
========================= */
@media (max-width: 480px) {

  .card-title {
    font-size: 1.3rem;
  }

  .option-title {
    font-size: 1.1rem;
  }

  .option-description {
    font-size: 0.85rem;
  }

  .login-text,
  .login-link {
    font-size: 0.8rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 10px;
  }

  .selection-card img {
    width: 80px;
    height: auto;
  }

  .main-card {
    padding: 15px 10px;
  }
}


@media (max-width: 350px) {
    .page {
        height: 175vh !important;
    }
}