@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

.ProductCard-custom-popup {
    border: 3px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
}

.ProductCard-popup-header {
    background-color: orange;
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 2px;
    font-size: 24px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.loginPF-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to right, #f0f2f5, #dce1e6);
}

.loginPF-card {
    width: 100%;
    max-width: 350px;
    background-color: rgb(242,242,242);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.trisisslogo-img {
    width: 300px;
    height: auto;
}

label {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}
/* Ürün görseli + barkod yapısı */
.product-visual-container {
    display: flex;
    flex-direction: column; /* alt alta dizilsin */
    align-items: center;
    justify-content: flex-start;
    padding: 12px;
}

/* Ürün görseli: responsive ve container taşması yok */
.product-image {
    width: 100%;
    max-height: 300px; /* isteğe bağlı: 250–350px arası oynayabilirsin */
    object-fit: contain;
    display: block;
}

/* Barkod container: görselin genişliğini takip etsin */
.barcode-container {
    width: auto; /* ürün görseline göre orantılı genişlik  */
    height:auto;
    margin-top: 6px; /* görselden küçük boşluk */
    display: flex;
    justify-content: center;
    align-items: center;
}

    /* Barkod SVG: ince, orantılı ve responsive */
    .barcode-container svg {
        width: 100%; /* görsel genişliğiyle orantılı   */
        height: auto;
        max-height: auto; /* barkodun en fazla yüksekliği (çok kalın olmasın) */
        /*aspect-ratio: 4 / 1;*/ /* genişlik/yükseklik oranı — uzun, ince görünüm */
        display: block;
        object-fit: contain;
    }
