﻿
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     overflow: hidden;

}

 
.coupon-card-size {
    /* auto height on mobile, fix on big screen */
}

.progressbar-text {
    color: black !important;
}

.ring-banner {
    position: relative;
    height: 200px;
    background: url('/image/banner_ring.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center; /* Centers text vertically */
    justify-content: center; /* Centers text horizontally */
    text-align: center; /* Ensures text alignment */
    opacity: 30%;
}

.ring-banner-stuff {
    position: absolute;
    top: 20px;
    left: 50px;
    color: black; /* Change as needed */
    font-size: 25px;
    font-weight: bold;
    text-align: left;
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);*/ /* Adds readability */
}
  

/* Do big screen */
@media only screen and (min-device-width: 933px) {

    .coupon-card-size {
        height: 140px;
        overflow: auto;
    }

/*    body {
        background: url('/image/test.jpg') no-repeat center center fixed;
        background-size: cover;
    }
*/
    .product-table-first-column {
        min-width: 400px;
    }
}


/* Scrollable bg for mobile devices */
/*@media only screen and (max-device-width: 933px) {

    .background-div {
        background: url('/image/test.jpg') no-repeat center center fixed;
        background-size: cover;  Ensures the image covers the entire div 
        background-position: center;  Centers the image 
        background-attachment: scroll;  Image scrolls with the content 
        height: 120vh;  Fullscreen height 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .mud-main-content {
        padding-top: 0px;
    }

    .mud-container {
        margin-top: 100px;
        position: absolute;
        top: 0%;
        left: 50%;
        transform: translate(-50%, 0);
    }
}*/


iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/*.mud-button-filled.mud-button-filled-primary {
    border-radius: 0px;
    background-color: rgba(255,255,255,0.50);
    border: 1px solid gray;
    box-shadow: none;
    color: gray;
}

.mud-button-filled.mud-button-filled-primary:hover {
    border-radius: 0px;
    background-color: rgba(255,255,255,0.99);
    border: 1px solid gray;
    box-shadow: none;
    color: gray;
}*/

.content-alpha {
    border-radius: 0px;
    background-color: rgba(255,255,255,0.75);
    box-shadow: none;
}


.tab-header-alpha {
    border-radius: 0px;
    background-color: rgba(255,255,255,0.75);
    box-shadow: none;
}

.break-email {
    word-break: break-word; /* Ensures long words wrap */
    overflow-wrap: break-word; /* Alternative for better support */
    white-space: normal; /* Allows breaking */
    max-width: 100%; /* Adjust width to fit your design */
}


.registration-card {
    border-radius: 0px;
    background-color: rgba(255,255,255,0.70);
    font-size: 18px;
    box-shadow: none;
}

.successfullregistartion-card {
    border-radius: 0px;
    background-color: rgba(255,255,255,0.60);
}

.mud-input-control-input-container:last-child::after {
    /* need some significant content (e.g. nbsp) or else the placeholder won't show */
    content: "\00A0";
    /* some props from .mud-input-helper-text and .mud-input-control-helper-container */
    margin-top: 3px;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.66;
}

/* Reload dialog */
.components-reconnect-hide > div {
    display: none;
}

.components-reconnect-show > div {
    display: none;
}

.components-reconnect-show > .show {
    display: block;
}

.components-reconnect-failed > div {
    display: none;
}

.components-reconnect-failed > .failed {
    display: block;
}

.components-reconnect-rejected > div {
    display: none;
}

.components-reconnect-rejected > .rejected {
    display: block;
}

.p5 {
    padding-right: 5px;
}

.p10 {
    padding-right: 10px;
}

.myDialog {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background-color: #fefefe;
    margin: auto;
    border: 1px solid #888;
    height: 150px;
    width: 400px;
    border-radius: 6px;
    box-shadow: 0 10px 20px rgb(0 0 0 / 10%), 0 6px 6px rgb(0 0 0 / 16%);
}

.components-reconnect-top {
    background: black;
    display: flex;
    flex-direction: row;
    height: 60px;
    transition: height 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
    padding: 20px;
    color: white;
    width: 100%;
}

.components-reconnect-bottom {
    display: flex;
    flex-direction: row;
    padding: 20px;
}


/* site.css or wwwroot/css/fitline.css – loads after mudblazor.min.css */
.fitline-btn {
    /* Size rules copied from FitLine’s .sc_button_size_normal */
    font-size: 14px;
    padding: 0.85em 2.2em;
    /* Make sure text sits dead-centre like FitLine’s flex wrapper */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    text-transform: none;
}

.mud-nav-link {
    background-color: rgba(0,0,0,0);
}
.mud-nav-link:hover:not(.mud-nav-link-disabled) {
    background-color: rgba(0,0,0,0);
}

.mud-nav-link:focus:not(.mud-nav-link-disabled) {
    background-color: rgba(0,0,0,0);

}


   


/* base look */
.nav-link {
    position: relative;
    padding: 0 .75rem .25rem; /* bottom padding gives space */
    text-decoration: none;
    color: var(--mud-palette-text-primary);
    transition: color .2s ease;
}

    /* the animated underline */
    .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0; /* sits right under the text */
        height: 2px;
        width: 0; /* collapsed by default */
        background: var(--mud-palette-primary); /* or any theme colour */
        transition: width .25s ease;
    }

/* expand the line when the link is active */
.nav-link--active::after {
    width: 100%;
}

.nav-link:hover::after {
    width: 100%;
}