:root {
    --color-vine-red: #b90d3e;
    --color-deep-burgundy: #320c2a;
    --color-plum-purple: #7d2f70;
    --color-rich-maroon: #840a2e;
    --color-mauve: #c17ba0;
    --color-dark-mauve: #5d1f55;
    --color-muted-purple: #624d56;
    --color-warm-grey: #9c8c84;
    --color-off-white: #f7e9dc;
    --color-primary-blue: #4A6B8A;
    --color-info-blue: #5DADE2;
    --color-success-green: #527A5D;
    --color-warning-orange: #D17A45;
    
    --border-vine-red: #a30b36;
    --border-deep-burgundy: #2b0a24;
    --border-plum-purple: #6c2c62;
    --border-rich-maroon: #750927;
    --border-mauve: #ae6b90;
    --border-dark-mauve: #531c4c;
    --border-muted-purple: #57454f;
    --border-warm-grey: #897a76;
    --border-off-white: #e0d6c7;
    --border-primary-blue: #42607A;
    --border-info-blue: #2E86C1;
    --border-success-green: #496954;
    --border-warning-orange: #B9683A;
    --bs-heading-color: var(--bs-secondary);
    --bs-font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-modern: 'Plus Jakarta Sans', 'Inter', sans-serif;
    
    --font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bs-body-bg: #fcfcfc;
    --bs-background: #fcfcfc;
    --bs-card-bg: transparent;
    --bs-primary: var(--color-primary-blue);
    --bs-secondary: var(--color-plum-purple);
    --bs-success: var(--color-success-green);
    --bs-navbar-nav-link-padding-x: 2rem;
    --bs-btn-border-color: var(--color-primary-blue) !important;
    --bs-btn-bg: var(--color-primary-blue) #6c9a8b !important;
}

.bg-primary { 
    background-color: var(--color-plum-purple);
    color: #fff !important;
}

html, body {
    font-family: var(--bs-font-sans-serif), Helvetica, Arial, sans-serif;
}

.lora-text {
           font-family: "Lora", serif;
           font-optical-sizing: auto;
           font-weight: 400;
           font-style: normal;
       }
.lora-normal {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.lora-bold {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.lora-boldest {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}



html {
    -webkit-tap-highlight-color: transparent;
}

body {
    color: #444;
    height: 100%;
    display: flex;
    min-height: 100vh;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: var(--bs-background);
    font-family: var(--font-body);
    position: relative;
}

/* Hero Section Outer Container */
.hero-section-outer {
    position: relative;
    padding: 60px 0 100px 0;
    margin-bottom: -60px; /* Overlap with main body */
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Rounded Gradient Box in Hero */
.hero-gradient-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><circle cx="30" cy="30" r="4"/></g></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-badge .badge {
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem 0;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* Main Body Container with Rounded Top */
.main-body-container {
    background: #fcfcfc;
    border-radius: 32px 32px 0 0;
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 200px);
    padding-top: 2rem;
}

/* Newsletter Card - Standalone with Shadow */
.newsletter-card-standalone {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.newsletter-card-standalone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* Newsletter Card - Sidebar Version */
.newsletter-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.newsletter-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-form-inline {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-button {
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.newsletter-button:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.newsletter-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.newsletter-message {
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.newsletter-message.success {
    background: rgba(40, 167, 69, 0.2);
    color: #d4edda;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.newsletter-message.error {
    background: rgba(220, 53, 69, 0.2);
    color: #f8d7da;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.newsletter-disclaimer {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.8rem;
}

/* Feed Cards */
.feed-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feed-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feed-image-container {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Image type variations */
.feed-image-container.bottle-shot {
    aspect-ratio: 3/4; /* Tall vertical for full bottle photography */
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.feed-image-container.label-image {
    aspect-ratio: 1/1; /* Square for label close-ups */
    background: #ffffff;
}

.feed-image-container.product-photo {
    aspect-ratio: 4/3; /* Classic product photography ratio */
}

.feed-image-container.editorial {
    aspect-ratio: 16/9; /* Wide for editorial/lifestyle content */
}

.feed-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    /* Ensure images don't lose quality when scaled */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Image display strategies by type */
.feed-image.bottle-shot {
    object-fit: cover;
    object-position: center 20%; /* Focus on upper portion for bottles */
}

.feed-image.label-image {
    object-fit: contain;
    padding: 12px;
    background: #ffffff;
}

.feed-image.product-photo {
    object-fit: cover;
    object-position: center 30%;
}

.feed-image.editorial {
    object-fit: cover;
    object-position: center center;
}

.feed-card:hover .feed-image {
    transform: scale(1.02);
}

.feed-badges {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

.feed-badges .badge {
    backdrop-filter: blur(10px);
    font-weight: 500;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feed-content {
    padding: 1.5rem;
}

/* Remove card background issues */
.card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-divider {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .hero-gradient-box {
        border-radius: 16px;
        padding: 2rem 1.5rem;
    }

    .main-body-container {
        border-radius: 24px 24px 0 0;
        padding-top: 1.5rem;
    }

    .hero-section-outer {
        padding: 40px 0 80px 0;
        margin-bottom: -40px;
    }
}

#colorbar {
    background: linear-gradient(to right, #6C5961, #3B2F36);
    position: relative;
    top: 0;
    height: 4px;
    width: 100%;
}

@-webkit-keyframes colorbarAnimated {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes colorbarAnimated {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes colorbarAnimated {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

#body-bg {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    /*background-image: url('/images/background.png');*/
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
    z-index:-1;
}

main { 
    min-height: 60vh;
}

a, a:active, a:link, a:visited {
    color: var(--color-plum-purple);
    text-decoration: none;
    color: var(--color-primary-blue);
} 

.navbar-brand-icon {
    display: inline-block;
    float: left;
    margin-right: 10px;

    & img {
        height: 60px;
        background-color: rgba(252,252,252,1);
        border: 4px solid rgba(252,252,252,1);
        border-radius: 50%;
        margin-top: -5px;
        transition: transform ease 0.3s;
        /*box-shadow: 0 0 10px rgba(252, 252, 252, 0.5);*/

        &:hover {
            transform: rotate(-5deg) scale(1.1);
        }
    }
}
*:focus {
    box-shadow: none !important;
}

.gradient-text {
    background-image: linear-gradient(to bottom, #9c0b51 60%, #2e2a4f 90%) !important;
    /*-webkit-text-stroke: 1px #2e2a4f;*/
    color: transparent !important;

    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block; 
}

.navbar-brand {
    font-family: var(--font-serif);
    color: var(--color-rich-maroon);
    font-size: 28pt;
    letter-spacing: -2px !important;
    margin-top: -10px;
    margin-right: 2rem;
    font-weight: 500;

    & img {
        height: 22px;
        margin-top: -15px;
    }
}
.navbar-collapse { 
    margin-top: -15px;
}

.vinelog-logo { 
    color: var(--color-rich-maroon) !important;
}

article {
    background-color: #fff;
    border: 1px solid #e7e7e7;
    padding-top: 1.5em;
    border-radius: 10px;
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans-serif);
    color: var(--color-plum-purple);
    margin-bottom: 1.1rem;
    
    a:link, a:active, a:visited {
        color: var(--color-plum-purple);
    }
}

    h1 {
        font-size: 16pt;

        img {
            height: 1.5em;
        }
    }

h2 {
    font-family: var(--font-serif), serif;
    font-size: 14pt;
}
h3 { font-size: 13pt;}
h5 { font-size: 12pt;}

h1:focus {
    outline: none;
}

h4  {
    font-size: 12pt;
    color: var(--color-muted-purple);
    text-transform: uppercase;
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;

}

.btn-warning {
    color: var(--color-off-white) !important;
    background-color: var(--color-warning-orange);
    border-color: var(--border-warning-orange);
}
.btn-primary  {
    color: var(--color-off-white) !important;
    background-color: var(--color-primary-blue) !important;
    border-color: var(--border-primary-blue) !important;
}

.btn-secondary {
    color: var(--color-off-white) !important;
    background-color: var(--color-rich-maroon);
    border-color: var(--border-rich-maroon);
}

.btn-success {
    color: var(--color-off-white) !important;
    background-color: var(--color-success-green) !important;
    border-color: var(--border-success-green) !important;
}
.btn-success-outline { 
    border-color: var(--color-success-green) !important;
    color: var(--color-success-green) !important;
    
    &:hover { 
        background-color: var(--color-success-green) !important;
        color: var(--color-off-white) !important;
    }
}

.subheader { font-size: smaller !important; }

.text-warning {
    color: var(--color-warning-orange) !important;
}
.text-success { 
    color: var(--color-success-green) !important;
}
.text-primary { 
    color: var(--color-primary-blue) !important;
}
.text-info {
    color: var(--color-info-blue) !important;
}

.btn-danger {
    color: var(--color-off-white) !important;
    background-color: var(--color-rich-maroon);
    border-color: var(--border-rich-maroon);
    a, a:active, a:link, a:visited {
        color: var(--color-off-white);
    }
}

.btn-info {
    color: var(--color-off-white) !important;
    background-color: var(--color-info-blue);
    border-color: var(--border-info-blue);
    a, a:active, a:link, a:visited {
        color: var(--color-off-white);
    }
}

.btn-success {
    color: var(--color-off-white) !important;
    background-color: var(--color-success-green);
    border-color: var(--border-success-green);
    a, a:active, a:link, a:visited {
        color: var(--color-off-white);
    }
}


/*.btn-light {*/
/*    color: var(--color-plum-purple);*/
/*    background-color: var(--color-warm-grey);*/
/*    border-color: var(--border-warm-grey);*/
/*    */
/*    a, a:active, a:link, a:visited {*/
/*        color: var(--color-off-white);*/
/*    }}*/

.btn-dark {
    color: var(--color-off-white) !important;
    background-color: var(--color-deep-burgundy);
    border-color: var(--border-deep-burgundy);
    a, a:active, a:link, a:visited {
        color: var(--color-off-white);
    }}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.img-round-border-xs {
    background-image: url('/images/border4.png');
    background-repeat: no-repeat;
    background-size: contain;
    height: 2em;
    width: 2em;
    padding: 0.1em 0.5em;
    
    & img {
        max-height: 1em;
        border-radius: 50%;
    }
}
.img-round-border-sm {
    background-image: url('/images/border4.png');
    background-repeat: no-repeat;
    background-size: contain;
    height: 50px;
    width: 50px;
    padding: 5px;

    & img {
        max-height: 30px;
        border-radius: 50%;
        margin: 5px;

    }
}
.img-round-border {
    background-image: url('/images/border4.png');
    background-repeat: no-repeat;
    background-size: contain;
    height: 70px;
    width: 70px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;


    & img {
        max-height: 45px;
        border-radius: 50%;
        margin: 5px;
    }
}

.img-round-border-lg {
    background-image: url('/images/border4.png');
    background-repeat: no-repeat;
    background-size: contain;
    height: 90px;
    width: 90px;
    padding: 12px;

    & img {
        max-height: 56px;
        border-radius: 50%;
        margin: 5px;
    }
}

.img-round-border-xl {
    background-image: url('/images/border6.png');
    background-repeat: no-repeat;
    background-size: contain;
    height: 100px;
    width: 100px;
    padding: 15px 20px;
    display: inline-block;
    color: #fff;

    .currency {
        font-family: var(--font-sans-serif);
        font-size: 16pt;
        display: inline-block;
        top: 20px;
        left: 5px;
        position: absolute;
        color: #fff;
    }

    & .price {
        font-family: var(--font-serif);
        font-size: 30pt;
        letter-spacing: -2px;
        position: absolute;
        top: 0;
        left: 15px;
        color: #fff;
    }

    & div {
        font-size: 50px;
        font-family: var(--font-serif);
        color: var(--color-vine-red);
        border-radius: 50%;
        height: 100px;
        width: 100px;
        margin-left: auto;
        margin-right: auto;
        display: inline-block;
    }

    & img {
        max-height: 80px;
        border-radius: 50%;
        margin: 5px;
    }
}

a.nav-link, a.nav-link:link, a.nav-link:active, a.nav-link:visited {
    color: var(--color-muted-purple);
    font-size: 18px;
    text-align: center !important;
    transition: color 0.2s ease;
    margin-left: 1rem;
    margin-right: 1rem;
}
.subheader {
    & a.nav-link, & a.nav-link:link, & a.nav-link:active, & a.nav-link:visited
    {
        font-size: 11pt;
        padding: 4px 1rem;
        text-align: left;
    }
    & .nav-link.active {
        background-color: var(--color-muted-purple);
    }

}

.nav-link img {
        height: 30px;
        transition: filter 0.2s ease, transform 0.3s ease;
        margin-right: 10px;
    }
.nav-link:hover img {
    transform: scale(1.1) rotate(-5deg);
    filter: none;
}
.nav-link.btn { }

.content {
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
    
.icon, i { 
    font-size: 1em !important;
    height: 1em;
}

.font-script {
    font-family: 'Shadows Into Light', 'Neuton', serif;
}


.navbar-light .navbar-toggler-icon {
    background-color: var(--bs-dark);
}


footer {
    background: linear-gradient(to right, #3B2F36, #6C5961);
    color: #D2C7C3 !important;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
}

.footer-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-nav,
    .footer-social {
        justify-content: center;
    }
}
footer a:link, footer a:visited, footer a
footer a:link:not(.btn), footer a:visited:not(.btn), footer a:not(.btn)
{ 
    color: var(--color-off-white) !important;
}

    footer .logo {
        font-family: var(--font-sans-serif);
        color: var(--color-off-white) !important;
        font-size: 40pt;
        letter-spacing: -2px !important;
    }


.img-deal {
    text-align: left;
    width: 30%;
    margin-right: 10px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
    border-radius: 10px;
    max-height: 300px;
}

.img-container {
    width: 100%; /* Full width of the parent */
    
    position: relative; /* Relative positioning for absolute child */
}

    .img-container .img-cover, .img-container .img-contain {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-position: bottom center;
        border-radius: 10px;
    }
.img-cover {
    object-fit: cover; /* Ensures the image covers the container */
}
.img-contain {
    object-fit: contain;
}
.feed-item {
    margin-bottom: 2rem;
    padding: 0 0 0.5rem;
    border: none;
    background: transparent !important;
}

.feed-item-header { 
    margin-bottom: 10px;
}
.feed-icon { margin-right: 10px; }
.feed-item-title { margin-top: 0.25rem;}
.feed-icon img {
    /*height: 2.5rem;*/
    max-height: 40px;
    max-width: 40px;
    background-image: url('/images/border-new.png');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    padding:5px;
}

.btn-with-icon {
    & img {
        max-height: 30px;
        max-width: 30px;
        border-radius: 50%;
        background-color: #fff;
        float: left;
    }
}
.img-profile {
    width: 40px; /* Set a fixed size */
    height: 40px;

    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), /* Subtle shadow */
    0 4px 6px rgba(0, 0, 0, 0.05); /* Softer shadow */
    position: relative;
    overflow: hidden;
}
.img-profile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%; /* Only the top half */
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)); /* Fade reflection */
    opacity: 0.6; /* Subtle reflection */
    pointer-events: none; /* Prevent interactions */
}

.text-smaller { font-size: 85%; }
.text-smallest { font-size: 10pt; }
.text-larger { font-size: 115%; }
.text-larger { font-size: 115%; }
.text-lg-1 { font-size: 115%; }
.text-lg-2 { font-size: 120%; }
.text-lg-3 { font-size: 135%; }
.text-lg-4 { font-size: 150%; }
.text-lg-5 { font-size: 175%; }

.navbar-profile-icon {
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    
    & img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 2px solid rgba(108, 89, 97, 0.1);
        transition: all 0.2s ease;
        object-fit: cover;
    }
    
    &:hover img {
        border-color: var(--wine-primary);
        box-shadow: 0 0 0 1px var(--wine-primary);
        transform: none;
    }
}
.navbar-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--wine-primary);
    color: var(--color-off-white) !important;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 14px;
    
    &:hover {
        background: var(--wine-accent);
        color: var(--color-off-white) !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(108, 89, 97, 0.2);
    }
}
.navbar-profile-icon-2 {
    /*margin-right: auto !important;*/
    transition: transform ease 0.1s;
    display: inline-block;
    margin-right: 0;
    /*padding: 3px;*/
    /*background-color: rgb(252,252,252);*/
    /*border: 3px solid #2e5952;*/
    /*height: 80px;*/
    /*border-radius: 50%;*/
    & img {
        padding: 10px;
        height: 60px;
        border-radius: 50%;
        /*margin: 3px;*/
        /*border: 3px solid #a50559;*/
        border: 3px solid #fcfcfc;
        background-color: #fcfcfc;
        background-image: url('/images/border-new.png');
        background-repeat: no-repeat;
        background-size: cover;
        margin-right: 0;
        
    }
    &:hover img {
        transform: rotate(0deg) scale(1.3);
    }
}

.border-custom {
    display: inline-block;
    padding: 3px; /* First layer of #fff padding */
    background-color: rgb(252,252,252);
    border: 3px solid #a50559; /* First colored border */
    border-radius: 50%;
    position: relative;

    & img {
        display: block;
        border-radius: 50%;
        height: 60px; /* Adjust as needed */
        width: 60px;
    }

}

.border-custom::after {
    content: "";
    position: absolute;
    top: -6px; /* Adjust based on total padding + border width */
    left: -6px;
    right: -6px;
    bottom: -6px;
    background-color: rgb(252,252,252);
    border: 3px solid #2e5952; /* Second colored border */
    border-radius: 50%;
}



.font-serif { 
    font-family: var(--font-serif);
}

.loading-bar {
    background: linear-gradient(271deg, #a30b36, #d8ff3a, #ff3a3a) !important;
    background-size: 600% 600% !important;

    -webkit-animation: LoadingBar 16s ease infinite;
    -moz-animation: LoadingBar 16s ease infinite;
    animation: LoadingBar 16s ease infinite;
}


.text-truncate-y {
    /*white-space: pre-wrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.text-truncate-y-5 {
    /*white-space: pre-wrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.text-truncate-y-3 {
    /*white-space: pre-wrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

#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;
}

  
h1.divided { 
    padding: 0.5rem 0;
    margin: 0.5rem 0;
    border-top: 1px solid #fefefe;
    border-bottom: 1px solid #fefefe;
    
}

i { height: 100%; }
.price-strikethrough {
    text-decoration: line-through;
    color: #a10000;
    
    span { color: #606060; }
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show { 
    border-radius: 10px !important;
    background-color: #f0f0f0 !important;
    border: 1px solid #c0c0c0;
}

h1.underline, h2.underline, h3.underline, h4.underline, h5.underline, h6.underline, h6.underline { 
    border-bottom: 1px solid #f0f0f0;
}

.text-black-50 * strong { font-weight: bold; color: #303030;}

.subtle-gradient {
    background: linear-gradient(to bottom, rgba(224, 224, 224, 0.3) 0%, rgba(255, 255, 255, 1) 75px);
    /*border-radius: 10px;*/
    
}

.subtle-gradient.flash-sale { 
    border-top: 2px solid var(--bs-danger);
    border-bottom: none 0;
}
.subtle-gradient.limited-offer {
    border-top: 2px solid var(--bs-warning);
    /*border-width: 2px; */
    /*border-style: solid;*/
    /*border-image: linear-gradient(to bottom, #000000 0, #000000 75%);*/
    /*border-radius: 8px;*/
    border-bottom: none 0;
}

.search-box { 
    background-color: #f9f9f9;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    & input { 
        background-color: inherit;
        border: none;
        outline: none;
    }
    & button { 
        background-color: transparent !important;
        border: none;
    }
}

.text-normal { font-weight: normal;}

.rz-g > div.subtle-gradient { border: none 0;
    border-radius: 0 !important;
    box-shadow: none !important;
}

[class^=rz-] img, [class^=rz-] svg {
    vertical-align: text-bottom !important;
}

/* Modern Header Styles */
#header {
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(252, 252, 252, 0.95);
    transition: all 0.3s ease;
}

.navbar {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
}

.navbar-brand-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-right: 3rem;
    transition: all 0.2s ease;
}

.navbar-brand-modern:hover {
    text-decoration: none;
    opacity: 0.8;
}

.brand-icon {
    height: 48px;
    width: 48px;
    transition: transform 0.2s ease;
}

.brand-text {
    height: 20px;
    transition: all 0.2s ease;
}

.navbar-brand-modern:hover .brand-icon {
    transform: rotate(-2deg);
}

/* Legacy navbar-brand for backwards compatibility */
.navbar-brand {
    font-family: var(--font-serif);
    color: var(--color-rich-maroon);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-right: 3rem;
}

.navbar-nav {
    gap: 2rem;
}

/* Modern Navigation Icons */
.nav-icon {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-right: 0.5rem;
    color: var(--color-muted-purple);
    transition: all 0.2s ease;
}

.nav-link:hover .nav-icon {
    color: var(--color-plum-purple);
    transform: translateY(-1px);
}

.nav-link.active .nav-icon {
    color: var(--color-plum-purple);
}

.dropdown-icon {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-right: 0.5rem;
    color: var(--color-muted-purple);
    opacity: 0.8;
}

.dropdown-item:hover .dropdown-icon {
    color: var(--color-plum-purple);
    opacity: 1;
}

.nav-link {
    font-family: var(--font-modern);
    font-weight: 500;
    font-size: 15px;
    color: #4A5568 !important;
    transition: color 0.2s ease;
    padding: 0.5rem 0 !important;
    position: relative;
}

.nav-link:hover {
    color: var(--wine-primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--wine-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-login-btn {
    background: var(--wine-primary);
    color: var(--color-off-white) !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.navbar-login-btn:hover {
    background: var(--wine-accent);
    color: var(--color-off-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 89, 97, 0.25);
}

/* Modern Feed Styles */
.hero-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--color-vine-red) 100%);
    min-height: 60vh;
}

.min-vh-50 {
    min-height: 50vh;
}

.feed-container {
    max-width: 100%;
}

.feed-post {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    border-radius: 12px;
}

.feed-post:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.btn-ghost {
    background: none;
    border: none;
    color: #6c757d;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s ease;
}

.btn-ghost:hover {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
}

.sticky-top {
    position: sticky;
    z-index: 1020;
}

/* Card Enhancements */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: rgba(var(--bs-primary-rgb), 0.05);
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 12px 12px 0 0 !important;
}

/* Button Improvements */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--border-primary-blue) !important;
    color: var(--color-off-white) !important;
}

.btn-primary:hover {
    background-color: var(--color-vine-red) !important;
    border-color: var(--border-rich-maroon) !important;
    color: var(--color-off-white) !important;
}

/* List Group Improvements */
.list-group-item {
    border: none;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    border-radius: 8px !important;
    margin-bottom: 0.25rem;
}

.list-group-item:hover {
    background: rgba(var(--bs-primary-rgb), 0.05);
}

.list-group-item.active {
    background: var(--bs-primary);
    color: white;
}

/* Typography */
.fw-bold {
    font-weight: 600;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
    }
    
    .feed-post {
        margin-bottom: 1rem;
    }
    
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Loading States */
.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
}

/* Image Enhancements */
img {
    border-radius: 8px;
}

.rounded-circle {
    border-radius: 50% !important;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--color-vine-red) 100%);
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6C5961 0%, #3B2F36 100%);
    padding: 2rem;
}

.login-content {
    width: 100%;
    max-width: 440px;
}

.login-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.login-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.login-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0;
    letter-spacing: 0.05em;
}

.login-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.login-card h2 {
    color: var(--color-plum-purple);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.login-card .form-floating {
    margin-bottom: 1rem;
}

.login-card .btn-primary {
    margin-top: 1rem;
    padding: 0.75rem;
    font-size: 1.1rem;
}

.login-card a {
    color: var(--color-primary-blue);
}

.login-card a:hover {
    color: var(--color-plum-purple);
}

@media (max-width: 576px) {
    .login-container {
        padding: 1rem;
    }

    .login-card {
        padding: 1.5rem;
    }

    .login-icon {
        width: 60px;
        height: 60px;
    }

    .login-title {
        font-size: 2rem;
    }
}