﻿@import "../assets/fonts/font.css";

:root {
    --main-button-color: #053b67;
}

html {
    height: 100%;
}
body {
    padding-bottom: 5em;
    background: #f2f2f2;
    font-family: GothamPro;
}
#uiview
{
    font-size: 16px;
}
p {
    text-indent: 2em;
}
.loading-layer
{
    background-color: #fff;
    height: 100%;
    width: 100%;
    z-index: 1040;
    position: fixed;
    top: 0;
    opacity: .7;
    text-align: center;
}
.loading-layer img
{
    position: relative;
    width: 8%;
    
    top: calc(50% - 8%);
}
.ng-hide
{
    display: none !important;
}
.ng-show
{
    display: block !important;
}
.container-fluid {
    height: inherit;
}
.container-fluid .header {
    padding: 1em 0 1em 0;
}

.header > h4 {
    font-weight: bold;
}

.pre-reg-greeting {
    color: #0e4dae;
    font-weight: bold;
}
.pre-reg-greeting>p {
    text-indent: 0;
    font-size: 31px;
}
.pre-reg-attention {
    padding: 1em 0 1em 0;
    text-align: center;
}

.pre-reg-description{
    margin-bottom: 2em;
}

.container-fluid .pre-reg-description__body,
.container-fluid .pre-reg-explanation,
.container-fluid .pre-reg-caution {
    padding: 0.5em;
}

.pre-reg-description__body {
    border: solid 2px #7d5555;
    background-color: #f2dedf;
    color: #7d5555;
}
.pre-reg-description__body p {
    font-weight: bolder;
}

.container-fluid .pre-reg-caution {
    padding-top: 2em;
}
.container-fluid .pre-reg-caution .alert {
    border-color: #a94442;
}
.navbar {
    background-color: #fff;
    border: none;
    min-height: 4em;
}
.navbar-btn {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.form-horizontal .control-label {
    text-align: left;
}
.form-group label {
    font-weight: normal;
}
.queue-page .header {
    padding-bottom: .5em;
}
.queue-page .service-select {
    /*padding: 2em 1em 2em 1em;*/
    display: table-cell;
    vertical-align: middle;
}
.queue-page .service-center-select {
    padding: 0.5em;
    margin-bottom: 0.7em;
    font-weight: bold;
    background-color: var(--main-button-color) !important;
    color: white;
}
.print .header {
    padding-bottom: 3em;
}
.print .explanation {
    padding-top: 2.5em;
}
.print .alert {
    margin-bottom: 0;
}
.profile input.ng-invalid.ng-touched:not(.no-validate) {
    border-color: #a94442;
}
.profile input.ng-valid.ng-touched:not(.no-validate) {
    border-color: #3c763d;
}
.dropdown-menu > li > a {
    white-space: normal;
}
.service-select-wrap {
    color: white;
    background-color: var(--main-button-color);
    border-color: #bce8f1;
    min-height: 100px;
    max-height: 150px;
    text-overflow: ellipsis;
    display: table;
}
.serviceName {
        text-align: center;
        margin: 2%;
}

.startPreReg {
        background-color: #1d8b21!important;
}
.btn-primary, .btn-success {
    background-color: var(--main-button-color) !important;
}
 .navbar-fixed-bottom{
	 position: relative;
 }
.navbar-services{
    padding-top: 4.5em;
 }
 .toast {
    position: fixed;
    top: 1vh;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90vw;
    background: #323232;
    color: #fff;
    padding: 1em 1.5em;
    border-radius: 0.5em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 1100;
    text-align: center;
    word-break: break-word;
    animation: fadein 0.5s, fadeout;
    font-size: 1rem;
}

.toast-close {
    position: absolute;
    top: 0.3em;
    right: 0.5em;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
}

@keyframes fadein {
    from {
        opacity: 0;
        top: 0;
    }

    to {
        opacity: 1;
        top: 1vh;
    }
}

@keyframes fadeout {
    from {
        opacity: 1;
        top: 1vh;
    }

    to {
        opacity: 0;
        top: 0;
    }
}

.ogas-widget {
    border-radius: 6px;
}

.ogas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 30px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ogas-header__left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ogas-header__logo {

    width: clamp(100px, 561px, 37vw);
}

.ogas-blue {
    color: #1f4fa3;
}

.ogas-orange {
    color: #f4a300;
}

.ogas-header__right {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 20px);
}

.ogas-header__time {
    font-size: clamp(20px, 5vw, 40px);
    font-weight: bold;
}

.ogas-header__date {
    font-size: 14px;
}

.ogas-header__day {
    background: #00376A;
    color: #fff;
    border-radius: 50%;
    width: clamp(2vw, 10vw, 75px);
    height: clamp(2vw, 10vw, 75px);
    font-size: clamp(1vw, 5vw, 42px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


.ogas-text {
    max-width: 1639px;
    margin: 0 auto 20px;
    font-size: clamp(25px, 1.8vw, 1.8vw);
    line-height: 1.5;
}

.ogas-highlight {
    color: #1f4fa3;
    font-size: clamp(25px, 1.8vw, 1.8vw);
    max-width: 1214px;
    font-weight: bold;
    margin-bottom: 30px;
}

.ogas-alert {
    max-width: 1552px;
    margin: 0 auto 30px;
    border: 1px solid red;
    background: #f8e6e6;
    border-radius: 8px;
    padding: 20px;
}

.ogas-alert__title {
    font-weight: bold;
    font-size: clamp(22px, 1.6vw, 1.6vw);
    margin-bottom: 10px;
}

.ogas-alert__text {
    font-size: clamp(18px, 1.5vw, 1.5vw);
}

.ogas-btn:hover {
    opacity: 0.9;
}

.ogas-form {
    max-width: 900px;
    margin: 40px auto;
}

.ogas-form__header {
    background: #00376A;
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    border-radius: 6px;
    margin-bottom: 20px;
}

.ogas-form__body {
    display: flex;
    padding: 5% 10%;
    flex-direction: column;
    gap: 15px;
}

.ogas-input {
    height: 50px;
    padding: 0 15px;
    font-size: 16px;

    border: 1px solid #5a7bbf;
    border-radius: 6px;
    outline: none;
}

.ogas-input:focus {
    border-color: #1f4fa3;
}

.ogas-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: clamp(14px, 1.5vw, 23px);
}

/* BUTTON */
.ogas-btn {
    background: #00376A;
    color: white;
    border: solid 1px #0E4194;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: clamp(16px, 1.5vw, 1.5vw);
    cursor: pointer;
}
.ogas-btn-acquired {
    width: clamp(290px, 35vw, 650px);
    font-size: clamp(16px, 1.5vw, 1.5vw);
    font-weight: 400;
}

.ogas-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ogas-btn:hover {
    opacity: 0.9;
}

.ogas-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, 2vw, 30px);
    justify-content: center;
    margin-top: 20px;
}
.ogas-centers__actions {
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    max-width: 100%;
    gap: 30px;
    margin-top: 20px;
}

.ogas-services__actions{
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    max-width: 100%;
    gap: 30px;
    margin-top: 20px;
}

.ogas-form__actions .ogas-btn{
    width: clamp(303px, 45%, 47%);
}
.ogas-centers__actions .ogas-btn {
    flex: 0 1 auto;
    min-width: 120px;
    max-width: 250px;
}

.ogas-centers {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

.ogas-centers__title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
}

.ogas-centers__list {
    max-height: 400px;
    overflow-y: auto;

    display: flex;
    flex-direction: column;
    gap: 15px;

    padding-right: 10px;
}

.ogas-center {
    padding: 20px;
    border: 2px solid #f4a300;
    border-radius: 10px;
    text-align: left;
    background: #fff;
    cursor: pointer;

    transition: all 0.2s ease;
}

.ogas-center:hover {
    background: #fff7e6;
}

.ogas-center--active {
    background: #f4a300;
}

.ogas-center__name {
    font-size: 20px;
    font-weight: bold;
}

.ogas-center__address {
    font-size: 16px;
    opacity: 0.8;
}

.ogas-srvCenter-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.ogas-pagination__info {
    font-size: 18px;
    font-weight: bold;
}

.ogas-services {
    max-width: 1000px;
    margin: 0 auto;
}

.ogas-services__title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
}

.ogas-services__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.ogas-services__list.two-columns {
    grid-template-columns: 1fr 1fr;
}

.ogas-service {
    border: 2px solid #00376A;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    background: #fff;
    transition: 0.2s;
}

.ogas-service--centered {
    justify-self: center;
}

.ogas-service--single {
    width: fit-content;
    max-width: 100%;
    justify-self: center;
}

.ogas-services__list.two-columns .ogas-service--centered {
    grid-column: 1 / -1;
    width: calc((100% - 15px) / 2);
    max-width: 100%;
}

.ogas-services__list.two-columns .ogas-service--single {
    grid-column: 1 / -1;
    width: fit-content;
}

.ogas-service:hover {
    background: #fff7e6;
}

.ogas-service__content {
    text-align: center;
    font-size: 18px;
}

.ogas-services__actions {
    margin-top: 15px;
}

.ogas-pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

/* CONTENT */
.ogas-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    padding: clamp(10px, 40px, 140px);
    text-align: center;
}


.ogas-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
}

/* SERVICE NAME */
.ogas-service-name {
    margin: 20px auto;
    font-size: 18px;
    font-weight: bold;
}

/* DATE TIME LAYOUT */
.ogas-datetime {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
    width: 100%;
}

/* WRAPPER */
.ogas-select-wrapper {

}

.ogas-select-wrapper .nya-bs-select{
    width: clamp(200px, 35vw, 500px) !important;
}

/* SELECT */
.ogas-select {
    width: 100%;
}

/* BUTTON (override nya) */
.nya-bs-select > button {
    height: 50px;
    border-radius: 6px;
    border: 1px solid #5a7bbf;
    background: #fff;
    font-size: 16px;
    text-align: left;
}

/* DROPDOWN */
.nya-bs-select .dropdown-menu {
    border-radius: 6px;
    border: 1px solid #5a7bbf;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ITEMS */
.nya-bs-select .dropdown-menu > li > a {
    padding: 12px 15px;
    font-size: 16px;
}

/* ACTIVE */
.nya-bs-select .dropdown-menu > li.active > a {
    background: #f4a300;
    color: #000;
}

/* HOVER */
.nya-bs-select .dropdown-menu > li > a:hover {
    background: #f5e1b5;
}


/* TOAST */
.ogas-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #333;
    color: #fff;
    padding: 15px 20px;
    border-radius: 6px;
    z-index: 1000;
    min-width: 250px;
}

.ogas-toast__close {
    background: transparent;
    border: none;
    color: #fff;
    float: right;
    cursor: pointer;
    font-size: 16px;
}

/* TITLE */
.ogas-title {
    font-size: clamp(24px, 2.7vw, 2.7vw);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

/* INFO BLOCK */
.ogas-print-info {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

/* ROW */
.ogas-print-row {
    margin-bottom: 10px;
    font-size: 18px;
}

/* LABEL */
.ogas-print-label {
    font-weight: bold;
}

/* VALUE */
.ogas-print-value {
    margin-left: 5px;
}

/* ACTIONS */
.ogas-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}