﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    margin: 0;
}

.navbar-light .navbar-nav .nav-link {
    color: white;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: lightgoldenrodyellow;
}

.navbar-light .navbar-nav .nav-link:not(:hover) {
    color: white;
}

.dropdown-menu {
    font-size: 14px;
    background-color: aliceblue;
}

.dropdown-menu .dropdown-header {
    /*background-color: lightcyan;*/
    color:black;
}

/*.dropdown-menu .dropdown-item {*/
/*}*/

.dropdown-menu .dropdown-item:hover {
    background-color: #c0c6cc;
}

.page {
    position: relative; /* Important to set stacking context */
    z-index: 0; /* Ensures it's above the background */
    min-height: 100vh; /* 👈 Ensures it fills full viewport height */
}


.summary-tiles .tile {
    background-color: #ffffffcc;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    color: #333;
    transition: all 0.2s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 130px;
}

.summary-tiles .tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.summary-tiles .row > div {
    display: flex;
}

@media (max-width: 768px) {
    .summary-tiles .col-md-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .summary-tiles .col-md-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}



.tile-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.tile-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 4px;
}

.tile-value {
    font-size: 1.1rem;
    font-weight: bold;
}



.page-border{
    padding: 20px; 
    border: 1px solid goldenrod; 
    border-radius: 10px
}

.home-container {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #dddddd;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.workspace-container {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #dddddd;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    padding-left: 12px;
    padding-right: 12px;
    z-index: 1;
}

.userinfo {
    border: 1px solid #2e7d32;
    background-color: #f9f9f9;
    color: #333;
    padding: 7px 7px;
    border-radius: 10px;
    font-size: 15px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}


.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/Designer.jpeg') no-repeat center center;
    background-size: cover;
    opacity: 1;
    z-index: -1; /* Ensures it stays behind */
    pointer-events: none;
}

/*.login-background::before {*/
/*    content: "";*/
/*    position: fixed;*/
/*    top: 0; left: 0;*/
/*    width: 100%; height: 100%;*/
/*    background-color: rgba(0, 0, 0, 0.9); !* adjust darkness *!*/
/*    z-index: -1;*/
/*}*/

.login-background::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* Adjust alpha for strength */
    z-index: 1;
    pointer-events: none;
}

.watermark-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/Designer.jpeg') no-repeat center center;
    background-size: cover;
    opacity: 0.07;
    z-index: -1; /* Ensures it stays behind */
    pointer-events: none;
}

.frosted-content {
    background-color: rgba(255, 255, 255, 0.2); /* Optional light tint */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* for Safari */
    border-radius: 1rem;
    padding: 1rem;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}

/* More transparent for login/register */
.navbar-transparent-strong {
    background-color: rgba(0, 0, 0, 0.1);
    /*backdrop-filter: blur(6px);*/
    /*-webkit-backdrop-filter: blur(6px);*/
    color: white;
    /*box-shadow: 0 0 10px rgba(143, 139, 139, 0.2);*/
    z-index: 100;
}

/* Less transparent (darker) for normal pages */
.navbar-transparent-light {
    background-color: rgba(0, 113, 193, 1);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    color: white;
    box-shadow: 0 0 10px rgba(143, 139, 139, 0.4);
    z-index: 100;
}


.login-card {
    width: 100%;
    max-width: 500px;
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: white;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    /*min-height: 100vh;*/
    padding: 2rem;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .login-wrapper {
        padding-top: 60px;
    }
}

/* Fixed logo in bottom-left corner */
.login-fixed-logo {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -35%);
    max-width: 50%;
    opacity: 0.16;
    z-index: 0;
    pointer-events: none;
}


@media (max-width: 768px) {
    .login-fixed-logo {
        max-width: 70%;
        opacity: 0.16;
    }
}


.page-watermark-logo {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -35%);
    max-width: 50%;
    opacity: 0.07;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .page-watermark-logo {
        max-width: 70%;
        opacity: 0.07;
    }
}


.modal .modal-body {
    overflow-y: auto;
    max-height: 350px;
    z-index: 9999999999;
}

h1:focus {
    outline: none;
}

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

.e-btn .btn-primary {
    color: #fff;
    background: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

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

.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."
    }

.e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn{
    width: 30px;
    height: 30px;
}

/*  Print Styles Start */

.page-styles {
    font-family: 'Calibri', 'Arial', sans-serif;
    text-align: left;
    font-size: 13px;
}

.page-styles-fs {
    font-family: 'Calibri', 'Arial', sans-serif;
    text-align: left;
    font-size: 13px;
    position: relative;
    min-height: 842px; /* ensure the page has enough height */
}


.invoice-logo-fs {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    background: url('../images/CustImg/FirstShipLogo.jpg') no-repeat center center;
    background-size: contain;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}


/*
.invoice-logo-fs {
    position: absolute;
    top: 15%;
    left: 75%;
    width: 160px;
    height: 160px;
    transform: translate(-15%, -75%);
    background: url('../images/CustImg/FirstShipLogo.jpg') no-repeat center center;
    background-size: contain;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}
 */
 

@media print {
    .invoice-logo-fs {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}


.inv-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.title-row {
    font-weight: bold;
    background-color: #b6d4fe;
    font-size: 14px;
}

.title-row-soa {
    font-weight: bold;
    font-size: 14px;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.opening-row {
    background-color: #f8f9fa !important;
    font-weight: bold;
    color: #333;
}

.lined-row {
    font-weight: bold;
    font-size: 14px;
    /*border-top: 1px solid lightgray;*/
    border-bottom: 1px solid black;
}

.total-row {
    font-weight: bold;
    background-color: #f2f2f2;
}

.address {
    text-align: left;
    margin: 0;
    padding-top: 2px;
}

.ac-name{
    font-size: 14px;
    font-weight: bold;
}

.comp-name {
    font-size: 20px;
    margin: 0;
    font-weight: bold;
}

.center-text {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.center-text h2 {
    font-size: 20px;
    margin: 0;
    margin-top: 10px;
}

.left-text {
    padding: 4px;
    text-align: left;
    font-size: 12px;
}

.right-text {
    padding: 4px;
    text-align: right;
    font-size: 12px;
}

.bold {
    font-weight: bold;
}

.horizontal-margin {
    margin: 10px 0;
}

.top-margin {
    margin-top: 10px;
}

.zero-tb{
    margin-top: 0;
    margin-bottom: 0;
}

.invoice-label{
    font-size: 16px;
    margin: 0;
    margin-top: 10px;
}

.hr-style {
    border: none;
    height: 1px;
    border-top: 2px solid black;
}


/*  Print Styles End */


/* Override default height of Syncfusion dropdowns */

.e-input-group.e-ddl {
    height: auto !important;
    min-height: 30px;
}


/* Voucher Styles Start */

.form-group {
    margin-bottom: 0.2rem;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.25rem;
    display: block;
}

label.e-float-text {
    margin-bottom: 10px;
    display: block;
}

.group {
    color: gray;
}

.name {
    padding-left: 10px;
}

.totalTaxable {
    background-color: lightgoldenrodyellow;
    color: darkgreen;
    font-size: large;
}

.totalTax {
    background-color: lightgoldenrodyellow;
    color: darkgreen;
    font-size: large;
}

.grandTotal {
    background-color: lightgoldenrodyellow;
    color: darkgreen;
    font-size: x-large;
}

.detail-row {
    border: 1px solid #ccc;
    padding: 5px;
    margin-top: 16px;
    border-radius: 5px;
    background-color: aliceblue;
}

.voucher-details {
    /*border: 1px solid #fff;*/
    padding: 20px;
    border-radius: 5px;
    /*background-color: white;*/
}

.remove-row {
    padding: 0;
}

/* Voucher Styles End */

.text-warning-dark {
    color: #b58900;
    font-style: italic;
    font-size: 14px;
}

#shareOptions a, #shareOptions button {
    margin-left: 0.5rem;
}

.invoice-footer {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
    font-size: 11px;
    color: #888;
}

.invoice-printedInfo {
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: left;
    font-size: 11px;
    color: #888;
}

.e-toast-container.e-toast-top-center {
    pointer-events: none;
    right: 0;
    top: 100px;
    width: 100%;
}

.help-img{
    max-width:100%;
    height:auto;
    display:block;
    border:1px solid #e5e7eb;
    border-radius:8px;
    box-shadow:0 1px 3px rgba(15,23,42,.08);
}

/* Match A4 printable width: 210mm - left(10) - right(10) = 190mm */
#helpdoc, #helpdoc * {
    max-width: 190mm;
    margin: 0 auto;
    content-visibility: visible !important;
}

/* Force a new page BEFORE this marker */
/* Force a new PDF page right here */
.page-break{
    display:block;
    height:0; margin:0; border:0; padding:0;
    /* both for different engines */
    break-before: page;
    page-break-before: always;
}

/* Safety gap so the next line won't be clipped */
.page-break::after{
    content:"";
    display:block;
    height:4mm;   /* 2–6mm usually works */
}

/* Prevent figures/images from splitting across pages */
.help-content figure,
.help-content img {
    break-inside: avoid;
    page-break-inside: avoid;
    display: block;
    max-width: 100%;
}

/* Keep blocks from splitting across pages */
.no-break,
figure, pre, code, blockquote, img, .card, .section {
    break-inside: avoid;            /* modern */
    page-break-inside: avoid;       /* legacy */
}

/* Keep headings with the content that follows */
h1, h2, h3 {
    break-after: avoid;
    page-break-after: avoid;
}

/* Optional: prevent HR from being cut in half */
hr {
    break-inside: avoid;
    page-break-inside: avoid;
}

@media print {
    /* Force page breaks using CSS (works with html2pdf pagebreak: 'css') */
    .page-break {
        break-before: page;
        page-break-before: always;
    }
    .e-dlg-overlay, .e-dialog, .e-spinner-pane, .e-toast { display: none !important; }
}






/* ===== Landing Page ===== */
.landing-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1d4e89 45%, #0f766e 100%);
}

.landing-navbar {
    position: relative;
    z-index: 10;
    background: transparent;
}

.nav-logo {
    height: 60px;
    width: auto;
}

.landing-nav-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
}

.landing-nav-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.hero-section {
    position: relative;
    padding: 40px 0 70px 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.08), transparent 25%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.hero-title {
    color: #fff;
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px;
}

.hero-subtitle {
    color: rgba(255,255,255,0.92);
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 650px;
}

.hero-subtitle-small {
    color: rgba(255,255,255,0.92);
    font-size: 0.9rem;
    line-height: 1.2;
    max-width: 650px;
}

.hero-actions .btn {
    min-width: 180px;
    border-radius: 12px;
    font-weight: 600;
}

.hero-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-point {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.92);
}

.hero-point i {
    color: #fde047;
}

.login-panel {
    border-radius: 24px;
    padding: 1px;
    background: rgba(255,255,255,0.12);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.login-card-inner {
    padding: 28px 24px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(14px);
}

.login-input {
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.94);
}

.forgot-link {
    color: #fde047;
    text-decoration: none;
    font-size: 0.92rem;
    font-style: italic;
}

.forgot-link:hover {
    text-decoration: underline;
    color: #fff59d;
}

.login-note {
    color: rgba(255,255,255,0.82);
    font-size: 0.92rem;
    line-height: 1.6;
    text-align: center;
}

.validation-message {
    color: #ffd6d6;
    font-size: 0.88rem;
}

.info-section {
    background: #f8fafc;
    padding: 70px 0;
}

.alt-section {
    background: #eef4fb;
}

.section-header h2 {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.section-header p {
    color: #475569;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

.feature-card,
.mini-card,
.faq-card,
.pricing-card {
    height: 100%;
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.feature-card:hover {
    transform: translateY(-4px);
    transition: 0.2s ease;
}

/*.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb, #0f766e);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}*/

.feature-icon {
    font-size: 2rem;
    color: #0d6efd;
    background: #eef4ff;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.feature-card h5,
.mini-card h5,
.faq-card h5 {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.feature-card p,
.mini-card p,
.faq-card p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 0;
}

.mini-card {
    border-left: 5px solid #2563eb;
}

.pricing-card {
    position: relative;
    border: 1px solid #e5e7eb;
}

.pricing-card.popular {
    border: 2px solid #2563eb;
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 18px;
    background: #2563eb;
    color: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.pricing-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
}

.pricing-subtitle {
    color: #2563eb;
    font-weight: 600;
    margin-top: 8px;
}

.pricing-desc {
    color: #64748b;
    margin-top: 4px;
    margin-bottom: 16px;
}

.pricing-list {
    padding-left: 18px;
    margin-bottom: 20px;
    color: #475569;
    line-height: 1.9;
}

.pricing-note {
    font-size: 14px;
    color: #6c757d;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-edition {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 14px 16px;
    border: 1px solid #e9ecef;
}

.pricing-edition:hover {
    background: #ffffff;
    border-color: #dee2e6;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.edition-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    margin-bottom: 8px;
}

.edition-row strong {
    font-size: 18px;
    color: #0d6efd;
    font-weight: 600;
}

.edition-row span {
    color: #6c757d;
    font-weight: 500;
}

.pricing-card .pricing-edition + .pricing-edition {
    margin-top: 14px;
}

@media (max-width: 576px) {

    .edition-row {
        font-size: 14px;
    }

    .edition-row strong {
        font-size: 16px;
    }

    .pricing-edition {
        padding: 12px;
    }
}



.trial-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1d4ed8 0%, #0f766e 100%);
}

.trial-box {
    background: rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 32px;
    color: #fff;
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
    backdrop-filter: blur(10px);
}

.trial-box h3 {
    font-weight: 700;
    margin-bottom: 10px;
}

.trial-box p {
    color: rgba(255,255,255,0.92);
    line-height: 1.7;
}

.landing-footer {
    background: #0f172a;
    color: rgba(255,255,255,0.84);
    padding: 45px 0;
}

.landing-footer h5,
.landing-footer h6 {
    color: #fff;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.84);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .login-card-inner {
        padding: 22px 18px;
    }

    .trial-box {
        padding: 24px 18px;
    }
}


.summary-tile {
    background: #fff;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
}

.summary-label {
    color: #64748b;
    font-size: 0.92rem;
    margin-bottom: 6px;
}

.summary-value {
    color: #0f172a;
    font-size: 1.8rem;
    font-weight: 700;
}


.sub-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
}

.sub-badge-success {
    background: #dcfce7;
    color: #166534;
}

.sub-badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.sub-badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.sub-badge-dark {
    background: #e5e7eb;
    color: #111827;
}

.sub-badge-secondary {
    background: #e0f2fe;
    color: #075985;
}

.expiry-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.expiry-alert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: default;
}

.expiry-alert-warning {
    color: #d97706;
}

.expiry-alert-danger {
    color: #dc2626;
}

.expiry-note {
    margin-top: 3px;
    font-size: 0.78rem;
    line-height: 1.2;
}

.expiry-note-warning {
    color: #b45309;
}

.expiry-note-danger {
    color: #b91c1c;
}

.subscription-summary-card {
    background: aliceblue;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.summary-label {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 4px;
}

.summary-value-sm {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
}


/* Inventory Invoice Small Page Print */

.receipt-invoice.bilingual {
    width: 78mm;
    max-width: 78mm;
    margin: 0 auto;
    padding: 6px 8px;
    background: #fff;
    color: #000;
    font-family: Arial, Tahoma, "Segoe UI", sans-serif;
    font-size: 12px;
    line-height: 1.25;
}

.receipt-header {
    text-align: center;
    margin-bottom: 8px;
}

.receipt-company {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
    text-transform: none;
}

.receipt-line {
    font-size: 11px;
    line-height: 1.3;
}

.receipt-title {
    text-align: center;
    margin: 10px 0 8px;
}

.receipt-title .en {
    font-size: 15px;
    font-weight: 700;
}

.receipt-title .ar {
    font-size: 14px;
    font-weight: 700;
}

.en {
    direction: ltr;
    text-align: left;
}

.ar {
    direction: rtl;
    unicode-bidi: embed;
    text-align: right;
    font-size: 11px;
}

.receipt-title .en,
.receipt-title .ar {
    text-align: center;
}

.receipt-meta,
.receipt-items,
.receipt-totals,
.receipt-tender {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.receipt-meta {
    border-bottom: 1px dashed #777;
    padding-bottom: 4px;
}

.receipt-meta td {
    padding: 3px 0;
    vertical-align: top;
}

.meta-label {
    width: 38%;
}

.meta-sep {
    width: 4%;
    text-align: center;
}

.meta-value {
    width: 58%;
    text-align: right;
    vertical-align: middle;
}

.receipt-items thead th {
    padding: 6px 2px;
    border-top: 1px dashed #777;
    border-bottom: 1px dashed #777;
    vertical-align: top;
    font-weight: 700;
}

.receipt-items tbody td {
    padding: 8px 2px;
    vertical-align: top;
    border-bottom: 1px dotted #aaa;
}

.receipt-items .qty-col {
    width: 12%;
}

.receipt-items .rate-col {
    width: 18%;
}

.receipt-items .price-col {
    width: 20%;
}

.receipt-subline {
    font-size: 10px;
    color: #444;
    margin-top: 2px;
}

.receipt-totals td,
.receipt-tender td {
    padding: 6px 0;
    vertical-align: top;
}

.receipt-totals {
    margin-top: 10px;
    border-top: 1px dashed #777;
    border-bottom: 1px dashed #777;
}

.receipt-netamount-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #777;
}

.netamount-label .en {
    font-size: 18px;
    font-weight: 500;
}

.netamount-label .ar {
    font-size: 15px;
    font-weight: 600;
    margin-top: 4px;
}

.netamount-value {
    text-align: right;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.receipt-tender {
    margin-top: 10px;
    border-bottom: 1px dashed #777;
    padding-bottom: 6px;
}

.receipt-footer {
    margin-top: 16px;
    font-size: 11px;
    line-height: 1.4;
}

.receipt-footer .en {
    text-align: left;
}

.receipt-footer .ar {
    text-align: right;
}

.left-text {
    text-align: left;
}

.right-text {
    text-align: right;
}




 