* {
    box-sizing: border-box;
}

/* ===============================
   Base Styles
================================= */
body {
    background-color: #f0f0f0;
    /* light grey background */
    font-family: Source Sans Pro, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #2d2323;
    margin: 0;
    scroll-behavior: smooth !important;
    scroll-behavior: smooth !important;
    overscroll-behavior: contain;

}

*:focus {
    outline: none;
}

/* ===============================
   Header (full width)
================================= */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f5;
    padding: 0 20px;
    height: 60px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.50);
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

.item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.divider {
    display: inline-block;
    width: 1px;
    height: 2em;
    background: #333;
}

.item img {
    width: 16px;
    height: 16px;
}

.header-logo img.logo-img {
    display: block;
    width: 120px;
    /* change as needed */
    height: auto;
    /* keeps proportions */
}

.header-title {
    font-weight: bold;
    font-size: 14px;
    line-height: 1.2;
}

.header-nav {
    display: flex;
    gap: 15px;
}

.header-nav .main-link {
    font-weight: bold;
    font-size: 1.2em;
    color: black;
}

.header-nav a:not(.main-link) {
    font-weight: normal;
    font-size: 1em;
    color: #333;
    text-decoration: none;
}

.header-nav a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.header-nav a:hover {
    border-bottom: 2px solid #000;
}

/* ===============================
   Hamburger
================================= */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 2px;
    background: #000;
    border-radius: 2px;
}

/* ===============================
   Mobile dropdown menu
================================= */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: max-height 0.4s ease;
}

.mobile-menu a {
    padding: 12px 20px;
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid #ddd;
}

.mobile-menu a:first-child {
    background: #d60000;
    color: #fff;
    font-weight: bold;
}

.mobile-menu.show {
    max-height: 500px;
}

/* Desktop-only items */
.desktop-only {
    display: inline-block;
}

.header-right.desktop-only {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===============================
   Page Content Wrapper
================================= */
.page-content {
    max-width: 100%;
    /* limit on large screens */
    margin: 0 auto;
    /* center horizontally */
    padding: 0 20px;
    /* side gutters */
    box-sizing: border-box;
}

/* ===============================
   Layout
================================= */
.container {
    display: grid;
    grid-template-columns: 1.3fr 1.7fr;
    gap: 20px;
    max-width: 1440px;
    /* or whatever suits your layout */
    margin: 0 auto;
    /* centers horizontally */
    padding: 0 20px;
    /* small, flexible side padding */
    background: #f0f0f0;
}


.left-col {
    flex: 1;
    min-width: 400px;
    /* prevents squashing */
    max-width: 500px;
    /* prevents overlap */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.placeholder {
    background: #000;
    border-radius: 6px;
    min-height: 150px;
}

.login-box {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    color: #000;
    min-height: 400px;
}

.logon-form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: #000;
}

.step-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 5px;
}

.form-control {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #aaa;
    margin-bottom: 5px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: red;
    box-shadow: 0 0 6px rgba(128, 128, 128, 0.6);
}

.form-control:hover {
    border-color: red;
    box-shadow: 0 0 6px rgba(128, 128, 128, 0.6);
}

.form-helper {
    font-size: 0.8rem;
    color: #666;
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #fa551e;
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: #fa551e;
    border: 1px solid #fa551e;
}

/* ===============================
   Right Column
================================= */
.right-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.50);
    padding: 15px;
    min-height: 100px;

}

.wide-card {
    background: linear-gradient(180deg, #95052a, #77021e);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.50);
    font-size: 1.1rem;
    color: white;
}

.wide-card h3 {
    margin-top: 0;
    margin-bottom: 2px;
}

.wide-card p {
    margin: 0;
    line-height: 1.2;
}

.card h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    min-height: 50px;
}

/* Responsive flowing grids */
.info-grid,
.right-bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* flexible min width */
    gap: 20px;
    width: 100%;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.info-item img {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.red-card {
    background: linear-gradient(180deg, #95052a, #77021e);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    color: #fff;
    border-radius: 10px;
}

.red-card h4 {
    margin: 0 0 10px 0;
}

.red-card .card-text {
    flex: 1;
}

.red-card .card-image img {
    max-width: 80px;
    /* control the maximum size */
    width: 100%;
    height: auto;
    /* keep proportions */
}

/* ===============================
   Responsive
================================= */
@media (max-width: 768px) {

    .desktop-only,
    .header-nav,
    .header-right.desktop-only {
        display: none !important;
    }

    .hamburger {
        display: flex;
        margin-left: 8px;
    }

    .container {
        grid-template-columns: 1fr;
        /* stack left + right */
        padding: 10px 0;
    }

    /* keep cards flowing side by side if possible */
    .info-grid,
    .right-bottom {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

/* ===============================
   Footer
================================= */
.footer {
    background: #f0f0f0;
    /* dark footer background */
    color: black;
    /* white text */
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
    /* space above footer */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 14px;
    line-height: 1.6;
}

/* Left side (circle + text + links) */
.login-left {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

/* Circle with icon inside */
.circle-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 5px solid #eee;
    border-top-color: #f43b57;
    /* pinkish-red */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #444;
}

.login-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-text h2 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.login-links {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: #333;
}

.login-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #2d2323;
    font-weight: 500;
}

.login-links a:hover {
    text-decoration: underline;
}

/* Right side */
.login-right {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #f43b57;
    cursor: pointer;
}

.login-right:hover {
    text-decoration: underline;
}

/* Placeholder icons (use actual SVGs or base64 later) */
.icon {
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.login-section {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
}

/* Top row: circle left, keypad right */
.login-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

/* Circle fixed left corner */
.circle-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 5px solid #eee;
    border-top-color: #f43b57;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    flex-shrink: 0;
}

/* Right top text */
.login-right {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #f43b57;
    cursor: pointer;
    white-space: nowrap;
}

.login-right:hover {
    text-decoration: underline;
}

/* Body under circle */
.login-body {
    margin-left: 55px;
    /* offset so it's under the circle */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-body h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

/* Links neatly aligned */
.login-links {
    display: flex;
    gap: 20px;
}

.login-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

/* Icon placeholders */
.icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    font-size: 14px;
    line-height: 1;
}

.info-item img {
    width: 1.5rem;
    /* scales with root font size */
    height: 1.5rem;
    /* keeps square ratio */
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Optional tweak for larger screens 
@media (min-width: 768px) {
  .info-item img {
    width: 3rem;
    height: 3rem;
  }
} */

.card,
.red-card,
.wide-card {
    width: 100%;
    /* take full grid cell width */
    height: auto;
    /* grow naturally */
}

/* Mobile tweaks */
@media (max-width: 768px) {

    .info-grid,
    .right-bottom {
        grid-template-columns: 1fr;
        /* one per row for readability */
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        /* stack left + right */
        padding-left: 10px;
        padding-right: 10px;
    }

    .left-col,
    .right-col {
        min-width: 0;
        /* critical */
    }
}

.card.wide-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.card-text {
    flex: 1;
    /* text takes available space */
}

.card-image img {
    max-width: 150px;
    /* adjust as needed */
    width: 100%;
    height: auto;
    /* keeps aspect ratio */
}

