﻿:root {
    --gold_color: #C89F67;
    --red_color: #771826;
    --blue_color: #102A49;
}

.html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fafafa;
    color: white;
    overflow-x: hidden;
    font-family: 'Nunito', sans-serif;
}
    body .pwa-updater[b-pwa-updater] {
        --pwa-updater-bar-backcolor: #89B03B;
        --pwa-updater-bar-z-index:20;
    }

.forgot-password{
    font-size: 15px;
}

.img-container-custom {
    width: 200px;
    height: 200px; 
    overflow: hidden;
}

    .img-container img {
        object-fit: cover; 
    }

.max-width {
    max-width: 500px;
}

.margin-left-nav-bar-text {
    margin-left: 15px;
}

.margin-right-nav-bar-text {
    margin-right: 10px;
}

.rounded-extra {
    border-radius: 10px;
}

.margin-right-img {
    margin-right: 20px;
}

.info-nav-bar-up {
    font-size: 35px;
    font-weight: bold;
    width: 100%;
    z-index: 5;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.green-gradient-background {
    background-image: radial-gradient(circle at 50% 50%, #A5D447, #89B03B, #779A33, #67852C 100%);
}

.white-background {
    background-color: white;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.red-background {
    background-color: var(--red_color);
}

.blue-background {
    background-color: var(--blue_color);
}

div.navbar-island a {
    color: white;
}

    div.navbar-island a.active {
        color: var(--gold_color);
    }

.blue-text {
    color: var(--blue_color);
}

.gold-text {
    color: var(--gold_color);
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-lg{
    height:50px;
    font-size:24px;
}
.btn-primary {
    background-color: var(--blue_color);
    border-color: transparent;
    color: white;
}

    .btn-primary:hover {
        border-color: transparent;
        color: white;
        background-color: var(--blue_color);
    }

.btn-secondary {
    background-color: var(--red_color);
    border-color: transparent;
    color: white;
}

    .btn-secondary:hover {
        border-color: transparent;
        color: white;
        background-color: #656662;
    }


.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}


.container-fluid {
    display: flex;
    justify-content: space-between;
}

/* LOADER */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader {
    border: 4px solid rgb(128, 128, 128);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    text-align: center;
}


/*OBRAZKI MENU*/
.menu-image-size {
    width: 100px;
    height: 100px;
    object-fit:cover; 
}

.custom-td {
    white-space: nowrap;
}

.custom-td-ingredient {
    color: gray;
}

/*button pokaz/ukryj qr itd*/
.qr-image {
    height: 200px;
    display: none; 
}

.card.expanded .qr-image {
    display: block;
}

.show-text {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card.expanded .show-text {
    display: none; 
}

.card.expanded .show-description {
    display: grid;
}

.h-45 {
    height: 35px;
    transition: height 0.3s ease-in-out;
    overflow: hidden;
}

.h-100 {
    height: 100px;
}

.error-background{
    background-color: lightgray;
}

.qr-code-container {
    margin-bottom: 17%;
    margin-top: 15px;
}

.modal-min-height{
    min-height:200px;
    margin-bottom:5%
}

/* Odstęp od krawędzi ekranu */
.navbar-island {
    margin: 10px 15px;
}

.card-custom-width {
    width: 300px;
}

.btn-toggle-password {
    top: 50%;
    border: none;
    background-color: transparent;
}

.container {
    text-align: center;
}

.message {
    color: green;
    font-size: 1.5em;
}

.img-success {
    width: 200px;
    height: 200px;
}
