.day,
.month,
.year {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    margin-left: 5px;
}

.day,
.month {
    margin-right: 5px;
}

body {
    padding-top: 60px;
    padding-bottom: 40px;
    background-color: #fff;
}

.header {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
}

.header-logout {
    position: absolute;
    top: 0;
    left: 15px;
}

.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

.form-max {
    margin: 0 auto;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.title-center {
    text-align: center;
    margin-bottom: 50px;
}

.form-register {
    max-width: 500px;
    padding: 15px;
    margin: 0 auto;
}

.link-back {
    text-align: center !important;
}

.gif {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#no-margin {
    margin: 0 !important;
}

#term {
    color: #555;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
}

/* LOADER */

.loader {
    position: absolute;
    top: calc(50% - 50px);
    bottom: calc(50% - 50px);
    right: calc(50% - 50px);
    left: calc(50% - 50px);
    width: 100px;
    z-index: 15;
    display: none;
}

.p0 {
    padding: 0;
}

@media screen and (max-width: 420px) {
    .year,
    #buttonSubmit {
        margin-top: 5vw;
    }
}

.area-code-display {
    width: 10px;
    position: absolute !important;
    z-index: 999;
    background: none;
    border: none;
    top: 1px;
}

#fld_cellphone_number {
    padding-left: 25px;
}

/* Today's target of the ambassador, under Submit on the phone page (WEBDEV-8293): white card with a gold top
   border, title and touchpoint, caption, "N / target", percent, bar.
   The accent is this app's primary blue, as the Submit button. */
.target-today {
    margin: 20px 0 0;
    padding: 16px;
    background: #fff;
    border-top: 4px solid #e9c266;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.target-today-head,
.target-today-numbers {
    display: flex;
    justify-content: space-between;
}
.target-today-head {
    align-items: center;
    margin-bottom: 16px;
}
.target-today-numbers {
    align-items: flex-end;
    margin-bottom: 8px;
}
.target-today-title {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    color: #1b1c1a;
}
.target-today-touchpoint {
    margin-left: 8px;
    font-size: 10px;
    font-weight: 500;
    color: #6c757d;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.target-today-caption {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #a8a29e;
}
.target-today-count {
    font-size: 1.25rem;
    font-weight: 900;
    color: #007bff;
}
.target-today-goal {
    font-size: 0.875rem;
    font-weight: normal;
    color: #a8a29e;
}
.target-today-percent {
    font-size: 0.75rem;
    font-weight: bold;
    color: #007bff;
}
.target-today-bar {
    height: 6px;
    background: #f5f5f4;
    border-radius: 9999px;
    overflow: hidden;
}
.target-today-fill {
    width: 0;
    height: 100%;
    background: #007bff;
    border-radius: 9999px;
}

/* Rewards given by the ambassador, under the target on the phone page (WEBDEV-8292) */
.ambassador-progress {
    margin: 20px 0 0;
    font-weight: bold;
}
.icon-lang {
    cursor: pointer;
    width: 40px;
    padding: 0 5px;
}
#fld_cellphone_number::before {
    content: "6";
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--multiple:focus-visible {
    border-color: #80bdff !important;
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

#qr-reader__camera_permission_button:disabled, #qr-reader__dashboard_section_csr > span > button:disabled {
    background-color: #ccc; 
    color: #666; 
    cursor: not-allowed; 
}
/* Why the QR screen needs the location or the camera, and how to allow it (WEBDEV-8338) */
.permission-help {
    margin: 0 0 16px;
    padding: 12px 16px;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    background-color: #fff3cd;
    color: #856404;
    text-align: left;
}
.permission-help-message {
    margin: 0 0 8px;
    font-weight: 600;
}
/* While the phone looks for the location: a quiet note, shown only if the answer takes a moment */
.permission-help.permission-help-pending {
    border-color: transparent;
    background-color: transparent;
    color: #6c757d;
    text-align: center;
    animation: permission-help-wait 0.2s ease-out 0.6s both;
}
.permission-help-pending .permission-help-message {
    margin: 0;
    font-weight: 400;
}
@keyframes permission-help-wait {
    from { opacity: 0; }
    to { opacity: 1; }
}
.permission-help-steps h6 {
    margin: 12px 0 4px;
    font-weight: 700;
}
.permission-help-steps ol {
    margin: 0;
    padding-left: 20px;
}
.permission-help-steps li {
    margin-bottom: 4px;
}
.permission-help .btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    border-color: #0e2b63;
    background-color: #0e2b63;
}
#qr-reader.permission-camera-failed #qr-reader__header_message {
    display: none !important;
}
