/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}*/

/*.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}*/

/* General page styling */
/* Ensure page fills viewport */
html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #333;
    background: #fff;
    line-height: 1.5;
}

/* Page wrapper for sticky footer */
.page-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Main content grows */
.content {
    flex: 1;
    padding: 20px; /* optional spacing */
}

/* Page title */
h1 {
    color: #e0006d; /* pink like screenshot */
    font-size: 24px;
    margin-bottom: 0.5em;
}
h2 {
    color: #234B8E; /* pink like screenshot */
    font-size: 22px;
    margin-bottom: 0.5em;
}

h3 {
    color: #333;
    font-size: 18px;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.3em;
    text-transform: uppercase;
}

/* Section legends */
legend {
    font-size: 16px;
    font-weight: bold;
    color: #004b8d; /* hospital blue */
    margin-bottom: 0.8em;
    text-transform:uppercase;
}

/* Labels */
label {
    display: block;
    /*font-weight: bold;*/
    margin-bottom: 0.2em;
    /*color: #004b8d;*/
}

/* Numbered list with red circular markers */
ol.numbered-circles {
    list-style: none; /* hide default numbers */
    padding-left: 0;
    counter-reset: item;
}

ol.numbered-circles li {
    counter-increment: item;
    position: relative;
    margin: 0 0 10px 0;
    padding-left: 2.6em; /* space for the circle */
}

/* The red circle number */
ol.numbered-circles li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0.05em;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #E81F8A; /* red */
    color: #fff;
    font-weight: 700;
    display: grid; /* easy centering */
    place-items: center;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05); /* subtle ring (optional) */
}


/*#region Form styles */

/* Payment form styling (your existing styles) */
.payment-form {
    /*max-width: 600px;*/
    margin: 0 auto;
}

/* Section headings, fieldsets, inputs, buttons, card logos remain the same */

input[type="text"],
input[type="date"],
input[type="email"],
input[type="tel"],
input[type="number"] {
    width: 100%;
    max-width: 350px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 1em;
}

.input-inline {
    display: flex;
    align-items: center; /* vertically center checkbox & label */
    gap: 8px; /* space between checkbox and label */
    margin-bottom: 1em;
}
.label-inline {
    display: flex;
    align-items: center;
    gap: 4px; /* small space between star and text */
}

.label-inline .text-danger {
    margin-top: -2px; /* tweak vertical alignment if needed */
}

button, input[type="submit"] {
    background: #004b8d;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 10px;
    transition: background 0.2s ease-in-out;
}

button:hover, input[type="submit"]:hover {
    background: #0066cc;
}

/* Card logos */
.card-logos {
    margin: 15px 0 25px;
}

.card-logos img {
    height: 40px;
    margin-right: 12px;
    vertical-align: middle;
    filter: grayscale(20%);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.card-logos img:last-child {
    margin-right: 0;
}

.card-logos img:hover {
    transform: scale(1.05);
    filter: none;
}

/*#endregion */

/*#region Summary page */
/* Summary page styles */
.summary-container {
    /*border: 1px solid #ddd;*/
    border-radius: 8px;
    padding: 20px;
    /* max-width: 500px;
    background: #fafafa;*/
}

    .summary-container p {
        margin: 0.4em 0;
    }

    .summary-container h3 {
        margin-top: 1em;
        color: #004b8d;
    }

/*#endregion */

/*#region Footer */

/* Footer styling */
footer {
    position: unset !important;
    background: #004b8d;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.site-footer {
    background-color: #525252;
    color: #fff;
    padding: 25px 0 10px;
    font-size: 14px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 0 15px;
    gap: 20px; /* space between columns */
}

.footer-col {
    flex: 1 1 30%;
    min-width: 200px; /* ensures columns don’t get too narrow */
}

.footer-col h4 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #fff;
}

.footer-col p,
.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #fff;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col a {
    color: #fff!important;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #e0006d;
}

.footer-bottom {
    text-align: center;
    margin-top: 15px;
    border-top: 1px solid #666;
    padding-top: 10px;
    font-size: 13px;
}

.footer-col .social-icons a {
    color: #fff;
    font-size: 20px;
    margin-right: 12px;
    transition: color 0.2s;
}

.footer-col .social-icons a:hover {
    color: #e0006d; /* pink highlight on hover */
}

.footer-col .footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.2s;
    text-transform:uppercase;
}

.footer-col .footer-links a:hover {
    color: #e0006d;
}

/* Ensure paragraphs stack vertically */
.footer-col p {
    margin: 8px 0;
}

/* Responsive: stack columns on smaller screens */
@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col {
        flex: 1 1 100%;
        max-width: 400px;
        margin-bottom: 20px;
    }
}


/*#endregion */

/*#region Toggle Language */

.top-bar {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
/*    background: #f5f5f5;*/
}

.language-switch a {
    font-size: 14px;
    font-weight: bold;
    color: #004b8d;
    text-decoration: none;
}

.language-switch a:hover {
    text-decoration: underline;
}


/*#endregion */