﻿body {
    background: var(--Main-light-blue, #E8F5FF);
}

.box_wrapper {
    text-align: center;
}

#member_box,
#visitor_box {
    background-color: #c1dad7;
    width: 100%;
    max-width: 405px;
    height: auto;
    margin: 10px auto;
    display: inline-block;
    position: relative;
    vertical-align: top;
}

#member-button,
#visitor-button {
    background-color: #00638c;
    color: white;
    width: 100%;
    max-width: 405px;
    height: auto;
    padding: 20px;
    margin: 10px auto;
    display: inline-block;
    position: relative;
    vertical-align: top;
}

.box-header {
    margin: 20px;
    color: #00638c;
    font-weight: bold;
    font-size: 26px;
    position: relative;
}

.bh-arrow {
    position: absolute;
    right: -10px;
    top: 10px;
}

.login_text {
    font-weight: bold;
    color: #00638c;
    font-size: 26px;
    font-family: "Alef Hebrew", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.login_text_modal {
    font-weight: bold;
    font-family: "Alef Hebrew", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.box-button {
    width: 100%;
    background: #00638c;
    padding: 10px;
    color: white;
    text-align: center;
}

.box-button:hover {
    cursor: pointer;
    color: yellow;
}

.input-label {
    margin: 5px 40px 0 0;
}

#center-area {
    margin: 0 auto;
}

.visitors-area {
    font-size: 16px;
    color: #00638c;
    font-weight: bold;
    text-align: center;
}

.table-form-btn-back {
    margin: 10px 0;
    background: #00638c;
    border: 2px solid #00638c;
    color: white;
    padding: 2px 15px;
    font-size: 14px;
    font-weight: bold;
    -moz-border-radius: 5px;
    text-decoration: none;
    text-align: center;
}

.table-form-btn-back:hover {
    color: yellow;
}

.bg-igm-green {
    background-color: #c1dad7;
}

.text-login-header {
    color: #00638c;
}

#msg {}

.msg-text-out {
    background: #eaedec;
    border-radius: 5px;
    color: #e91e63;
    font-weight: bold;
    margin: 0;
    padding: 5px;
    box-shadow: inset 0 0 5px #000000;
    margin: 10px 0 0 0;
}

.msg-text {
    background: #eaedec;
    border-radius: 5px;
    color: #e91e63;
    font-weight: bold;
    margin: 0;
    padding: 5px;
    box-shadow: inset 0 0 5px #000000;
}

.form-control {
    border-radius: 5px;
    box-shadow: 0px 1px 1px 0px rgb(0 0 0 / 23%);
}

/* Entire Section */
.geust-form-section {
    background: var(--Main-light-blue, #E8F5FF);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 1rem;
}

/* Card */
.geust-form-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 360px;
    padding: 2rem;
    text-align: center;
    font-family: Assistant, sans-serif;
}

/* Tab Buttons Row */
.tab-buttons {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #d9e1ec;
    margin-bottom: 1.5rem;
}

/* Each Tab Button takes 50% width */
.tab-buttons .tablinks {
    flex: 1;
    text-align: center;
    background: none;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0.5rem 0;
    cursor: pointer;
    color: #616d93;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-bottom-color 0.3s;
}

.tab-buttons .tablinks:hover {
    color: #00AEED;
}

.tab-buttons .tablinks.active {
    color: black;
    font-weight: 700;
    border-bottom: 4px solid var(--Main-dark-blue, #00A6CE);
}

/* Tab Content */
.tabcontent {
    display: none;
    text-align: right;
}

.tabcontent.active {
    display: block;
}

/* Form Labels & Inputs */
.geust-form-label {
    text-align: right;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #000;
}

.form-control {
    text-align: right;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
}

.form-control::placeholder {
    color: #616d93;
}

/* Primary Button */
.btn-primary {
    width: 100%;
    background: var(--Main-dark-blue, #00A6CE);
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #00AEED;
}

/* Secondary Link */
.secondary-link {
    display: block;
    margin-top: 0.5rem;
    color: #00AEED;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 15px;
    cursor: pointer;
}

@media (max-width: 480px) {
    .geust-form-container {
        padding: 1.5rem;
        margin: 1rem auto;
    }

    .tab-buttons .tablinks {
        font-size: 17px;
    }

    .form-control {
        font-size: 15px;
    }

    .btn-primary {
        font-size: 15px;
        padding: 0.6rem;
    }
}

.f-08 {
    font-size: 0.8rem;
}

/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* IE 10+ */
input[type=number]::-ms-clear,
input[type=number]::-ms-reveal {
    display: none;
}

/* If you only want to target your `.numbers-only` inputs: */
.numbers-only::-webkit-outer-spin-button,
.numbers-only::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.numbers-only {
    -moz-appearance: textfield;
}

.numbers-only::-ms-clear,
.numbers-only::-ms-reveal {
    display: none;
}

/* RTL Radio Buttons */
.form-check {
    padding-left: 0;
    padding-right: 1.5em;
    text-align: right;
}

.form-check .form-check-input {
    float: right;
    margin-left: 0;
    margin-right: -1.5em;
}

.cursor-pointer {
    cursor: pointer;
}

/* Fix for Bootstrap 5 RTL radio buttons */
.form-check-label.pr-4 {
    padding-right: 1rem !important;
}