/* css/custom.css */
.auth-container {
  padding: 0 20px;
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
  color: #888;
  margin: 20px 0;
}
.separator::before,
.separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ddd;
}
.separator:not(:empty)::before {
  margin-right: 0.25em;
}
.separator:not(:empty)::after {
  margin-left: 0.25em;
}

.oauth-button {
  width: 100%;
  margin-bottom: 10px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.oauth-button.google {
  background-color: #db4437;
}
.oauth-button.apple {
  background-color: #000000;
}

/* General style for images in buttons */
.oauth-button img {
  width: 18px;
  margin-right: 10px;
}

/* Specific filter ONLY for the image inside the Apple button */
.oauth-button.apple img {
  filter: invert(1);
}

.auth-switch {
  text-align: center;
  margin-top: 20px;
}

.login-footer-image {
  display: block;
  width: 75%;
  height: auto;
  margin: 16px auto 0;
}
#error-message {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  text-align: center;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  display: none;
}

.wpcf7-submit.button-primary {
  background: green !important;
  width: 100%;
}

.password-rules {
  text-align: left;
  font-size: 12px;
  color: #555;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px 10px 10px 15px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.password-rules p {
  margin: 0 0 5px 0;
  font-weight: bold;
}

.password-rules ul {
  margin: 0;
  padding-left: 0;
}

.password-rules li {
  list-style-type: none;
}

.password-rules li::before {
  content: "○ "; /* Default state: empty circle */
  color: #dc3545; /* Red */
  font-weight: bold;
  display: inline-block;
  width: 1em;
}
.password-rules li.valid::before {
  content: "● "; /* Valid state: filled circle */
  color: #28a745; /* Green */
}

.auth-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px 40px;
  text-align: center;
}

.auth-hero-image {
  max-width: 640px !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto 10px;
}

/* Full-bleed hero photo behind the whole auth page (login/register/zapomenute-heslo/aktivace):
   fills the entire pre-footer area (min-height: 100vh) instead of a short banner strip, and
   the card+links are vertically centered in front of it via justify-content. */
.auth-wrapper.has-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -10px; /* cancels Elementor's default .elementor-column-gap-default 10px padding so it touches the very top */
  margin-bottom: -10px; /* same padding also trails at the bottom, leaving a gap before the footer otherwise */
  min-height: 85vh; /* a bit less than the full viewport so the footer peeks into view and the card sits higher */
  justify-content: center;
  /* light white haze over the photo (not a gaussian blur) - flattened onto the same
     background as a linear-gradient layered on top of the image */
  background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url('/img/hero.webp');
  background-size: cover;
  background-position: center;
}

.auth-title {
  font-size: 21px;
  font-weight: bold;
  color: #333;
  margin: 0 0 22px;
}

@media (max-width: 480px) {
  .auth-title {
    font-size: 18px;
  }
}

.auth-subtitle {
  max-width: 560px;
  margin: 0 auto 15px;
  color: #6c757d;
  font-size: 14px;
  line-height: 1.5;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  margin-top: 18px;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 26px 30px 22px;
}

.auth-card-title {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-align: center;
}

.auth-form {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.auth-field {
  position: relative;
  margin-bottom: 14px;
}

.auth-field-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #adb5bd;
  font-size: 15px;
  pointer-events: none;
}

.auth-input {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  height: 46px !important;
  line-height: 46px !important;
  padding: 0 16px 0 42px !important;
  margin: 0 !important;
  border: 1px solid #dfdfdf !important;
  border-radius: 8px !important;
  background-color: #f8f9fa !important;
  color: #333 !important;
  font-size: 15px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
  outline: none;
  border-color: #007bff !important;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
  background-color: #fff !important;
}

.auth-input::placeholder {
  color: #adb5bd;
  opacity: 1;
}

.auth-submit {
  border-radius: 8px !important;
  margin-top: 6px !important;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.auth-submit:hover {
  background: #067a1e !important;
  color: #fff !important; /* .auth-submit on <a> tags (aktivace.php) would otherwise pick up the global body a:hover blue */
}

.auth-submit:active {
  transform: scale(0.99);
}

.auth-oauth {
  border-radius: 8px !important;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.auth-oauth:active {
  transform: scale(0.99);
}

/* Google's own guidelines: white button, colorful "G" logo, dark text - not a colored background */
.auth-oauth.google {
  background-color: #fff !important;
  color: #3c4043 !important;
  border: 1px solid #dadce0 !important;
}

.auth-oauth.google:hover {
  background-color: #f8f9fa !important;
}

/* --- Styles for Dashboard --- */

.dashboard-menubar {
  background-color: #343a40; /* A slightly darker grey */
  border-bottom: 1px solid #495057;
  /* padding: 0 10px 0 10px; */
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; /* Ensure it's full width */
  box-sizing: border-box; /* Important for full-width padding */
  position: sticky;
  top: 0; /* Sticks to the top of the viewport */
  z-index: 1000; /* Ensures it stays above other content */
}

.dashboard-menubar .menubar-brand {
  font-size: 16px; /* Slightly smaller */
  color: #fff;
}

.dashboard-menubar .menubar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-menubar .logout-button {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 6px 12px; /* Reduced padding */
  border-radius: 5px;
  cursor: pointer;
  font-family: inherit; /* <button> nedědí font-family z body jako <a> - bez tohoto spadne na browser default */
  font-size: 13px; /* Slightly smaller */
  transition: background-color 0.2s;
  margin: 0;
}

.dashboard-menubar .logout-button:hover {
  background-color: #c82333;
}

.dashboard-menubar .menubar-brand a {
  color: inherit; /* Makes the link inherit the white color */
  text-decoration: none; /* Removes the underline */
}

.dashboard-menubar .menubar-brand a:hover {
  opacity: 0.8; /* Adds a slight fade effect on hover */
}

.dashboard-menubar .profile-button {
  background-color: #007bff; /* Blue color */
  color: white;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 13px;
  text-decoration: none; /* Remove underline from the link */
  line-height: normal; /* Ensure proper vertical alignment */
  transition: background-color 0.2s;
}

.dashboard-menubar .profile-button:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

.dashboard-content {
  padding: 30px 40px;
}

.dashboard-section {
  margin-bottom: 45px;
}

.dashboard-section-title {
  font-size: 22px;
  margin: 0 0 45px;
  padding-bottom: 10px;
  color: #333;
  border-bottom: 2px solid #007bff;
  display: inline-block;
}

.dashboard-panels {
  display: flex;
  flex-wrap: wrap;
  gap: 25px; /* Space between panels */
}

.panel {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  width: 280px;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.panel .panel-icon {
  font-size: 48px;
  color: #007bff;
  margin-bottom: 15px;
}

.panel .panel-body {
  text-align: center;
}

.panel .panel-body h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
}

.panel .panel-body p {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.custom-tooltip {
  position: absolute;
  background-color: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 13px;
  z-index: 10;
  display: none; /* Hidden by default */
}
.custom-tooltip::after {
  content: "";
  position: absolute;
  bottom: 100%; /* Position arrow at the top of the tooltip */
  left: 20px;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #333 transparent;
}

html,
body {
  height: 100%;
  overflow-x: hidden; /* .has-hero's 100vw width is wider than body's clientWidth when a vertical scrollbar is present - clip instead of showing a horizontal scrollbar */
}

.site-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.elementor.elementor-2 {
  flex: 1; /* This makes the main content area grow and push the footer down */
}
.site-footer {
  background-color: #eef0f3; /* darker than the page background so it stays visually distinct */
  padding: 20px;
  border-top: 1px solid #dee2e6;
}

body {
  font-family: "Roboto", Sans-serif !important;
  background-color: #f7f7f8 !important;
}

.form-feedback {
  position: relative;
  padding: 1rem;
  margin: 1rem 0;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  text-align: center;
  font-size: 1.1rem; /* Bigger font size */
  font-weight: bold;
  display: none; /* Hidden by default, JS will show it */
}

.form-feedback-close {
  position: absolute;
  top: 0.4rem;
  right: 0.75rem;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1;
}

.form-feedback-close:hover {
  opacity: 0.7;
}

/* Red for errors */
.form-feedback.error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* Green for success */
.form-feedback.success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

/* Blue for info */
.form-feedback.info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  h2.elementor-heading-title {
    font-size: 28px;
  }

  .dashboard-menubar {
    padding: 8px 15px;
    flex-direction: column;
    gap: 8px;
  }

  .dashboard-panels {
    flex-direction: column;
    align-items: center;
  }
  .panel {
    width: 100%;
    max-width: 400px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
  /*.wpcf7 form {
    padding: 15px;
  }*/

  .dashboard-menubar .logout-button,
  .dashboard-menubar .profile-button {
    font-size: 12px;
    padding: 5px 10px;
  }
}

.form-row {
    display: flex;
    flex-wrap: wrap; /* Allows columns to wrap */
    gap: 80px;       /* Creates space between the columns */
    margin-left: 0;  /* Bootstrap's .form-row sets -5px here otherwise */
    margin-right: 0;
    margin-bottom: 10px;
}

/* This makes each column take up equal space */
.form-column {
    flex: 1;
    min-width: 250px; /* Prevents columns from getting too squished */
}

/* This is the magic for mobile devices */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column; /* Stacks the columns vertically */
        gap: 0;                 /* Removes the space between them when stacked */
    }

    .form-row .form-column:nth-child(2) {
        margin-top: 25px;
    }
}

.custom-modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* Poloprůhledné pozadí */
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-modal-content {
    background-color: #fefefe;
    padding: 20px 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.custom-modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.custom-modal-icon {
    margin-bottom: 20px;
}

/* Lepší vzhled pro formulář registrace sluchadel */
.form-column h4 {
    margin-top: 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* css/custom.css */

/* --- Styly pro tabulku registrací --- */
#registrations-table-container {
    padding-top: 20px;
}

#registrations-table-container > p {
    margin: 0;
}

.registrations-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.registrations-table th,
.registrations-table td {
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    text-align: left;
}

.registrations-table thead th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.registrations-table tbody tr:nth-of-type(even) {
    background-color: #f8f9fa;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    color: #fff;
    text-align: center;
}

.status-badge.ok {
    background-color: #28a745;
}

.status-badge.in-warranty {
    background-color: #28a745;
}

.status-badge.expired {
    background-color: #6c757d;
}

@media (max-width: 768px) {
    .registrations-table thead {
        display: none;
    }
    .registrations-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
    }
    .registrations-table td {
        display: block;
        text-align: right;
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }
    .registrations-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        font-weight: bold;
        text-align: left;
    }
}


.registrations-table tbody tr.row-ok {
    background-color: #d4edda;
}
.registrations-table tbody tr.row-ok:nth-of-type(even) {
    background-color: #c3e6cb;
}

.registrations-table tbody tr.row-warranty-expired {
    background-color: #e9ecef;
}
.registrations-table tbody tr.row-warranty-expired:nth-of-type(even) {
    background-color: #dee2e6;
}

.terms-container {
    text-align: left;
    margin: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.terms-container input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.terms-container label {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    cursor: pointer;
}

.wpcf7-form-control.wpcf7-text::placeholder {
    color: rgba(123, 123, 123, 0.5);
    transition: all 0.3s ease;
}

/* --- Styly pro miniaturu produktu a lightbox --- */
.product-thumbnail {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Lightbox modal */
.image-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: fixed;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10000;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.lightbox-close:hover {
    color: #ff5555;
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95vw;
        max-height: 80vh;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 35px;
    }
}

/* --- Styly pro stránku Dokumenty --- */
.documents-container {
    max-width: 700px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.document-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 18px 22px;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s, box-shadow 0.2s;
}

.document-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.document-icon {
    font-size: 36px;
    color: #dc3545;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.document-body {
    flex: 1;
    min-width: 0;
}

.document-body h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    color: #333;
}

.document-body p {
    margin: 0;
    font-size: 13px;
    color: #6c757d;
    overflow-wrap: break-word;
}

.document-download {
    font-size: 20px;
    color: #007bff;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .document-card {
        padding: 14px 16px;
        gap: 14px;
    }
    .document-icon {
        font-size: 28px;
        width: 32px;
    }
    .document-body h3 {
        font-size: 16px;
    }
}

/* --- Styly pro Registrace sluchadla --- */
.reg-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin: 20px 0 10px;
}

.reg-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 20px;
    color: #6c757d;
    font-size: 16px;
    line-height: 1.5;
}

.reg-card {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
}

.loading-state {
    text-align: center;
    color: #6c757d;
    font-size: 18px;
}

.loading-state i {
    margin-right: 8px;
}

.reg-column-title {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #555;
    margin: 0 0 14px;
}

.button-group {
    display: flex;
    justify-content: space-between;
}

.reg-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    height: 46px;
    padding: 0 16px;
    margin: 0 0 12px;
    border: 1px solid #dfdfdf;
    border-radius: 8px;
    background-color: #f8f9fa;
    color: #333;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.reg-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
    background-color: #fff;
}

.reg-input:disabled {
    background-color: #eef3f7;
    color: #555;
}

.reg-btn {
    margin-top: 0; /* theme's generic "button" selector sets 24px otherwise */
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background-color: #007bff;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.reg-btn:hover {
    background-color: #0056b3;
}

.reg-btn:active {
    transform: scale(0.98);
}

.reg-btn:disabled {
    background-color: #b7d7f7;
    cursor: not-allowed;
    transform: none;
}

.reg-btn-secondary {
    background-color: #6c757d;
}

.reg-btn-secondary:hover {
    background-color: #565e64;
}

.reg-verified {
    margin: 10px 0 6px;
}

.reg-verified p {
    margin: 0 0 6px;
    font-size: 14px;
    color: #555;
}

.reg-address-hint {
    color: #dc3545;
    font-size: 14px;
}

.reg-address-confirm {
    margin: 20px 0;
    padding: 18px 20px;
    border: 1px solid #dfdfdf;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.reg-address-confirm p {
    margin: 0 0 6px;
    font-size: 14px;
    color: #333;
}

.reg-address-hint-text {
    color: #6c757d;
    font-size: 13px;
    margin: 0 0 14px !important;
}

.reg-address-confirmed {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 0;
    font-weight: 600;
    text-align: center;
}

.reg-textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 100px;
    padding: 12px 16px;
    margin: 10px 0;
    border: 1px solid #dfdfdf;
    border-radius: 8px;
    background-color: #f8f9fa;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.reg-textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
    background-color: #fff;
}

.reg-submit-hint {
    text-align: center;
    margin-top: 10px;
}

.reg-submit-hint p {
    font-size: 13px;
    color: #6c757d;
    margin: 0 0 10px;
}

.reg-submit-badge {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

.reg-submit {
    display: inline-block;
    width: auto;
    padding: 12px 30px;
    margin-top: 0;
    border: none;
    border-radius: 8px !important;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s ease;
}

#submitdiv {
    text-align: center;
}

.reg-submit:hover {
    filter: brightness(0.9);
}

.reg-thankyou-icon {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 10px;
}

.reg-submit-link {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    text-align: center;
    padding: 12px 30px;
    border-radius: 8px !important;
}

@media (max-width: 768px) {
    .reg-card {
        padding: 20px;
    }
}

/* --- Styly pro Úpravu osobních údajů --- */
.profile-hint {
    margin: 0 0 20px;
    font-size: 14px;
    color: #444;
}

.reg-input.povinne {
    background-color: rgba(0, 123, 255, 0.07);
}

.reg-input.povinne:focus {
    background-color: #fff;
}

.profile-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    margin: 6px 0 20px;
    cursor: pointer;
}

.profile-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.profile-submit-wrap {
    text-align: center;
    margin-top: 10px;
}

/* autoComplete.js wraps #address in its own div + applies fixed-size input styles;
   override both so the field matches the other .reg-input fields exactly. */
.autoComplete_wrapper {
    display: block !important;
    width: 100% !important;
}

#address {
    width: 100%;
    box-sizing: border-box;
    height: 46px;
    padding: 0 16px;
    margin: 0 0 12px;
    border: 1px solid #dfdfdf;
    border-radius: 8px;
    background-color: rgba(0, 123, 255, 0.07);
    color: #333;
    font-size: 15px;
    outline: none;
}

#address:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
    background-color: #fff;
}