html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.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."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}


/* General Radzen Button Styling */
.rz-button {
    font-family: Arial, sans-serif; /* Consistent font for all buttons */
    font-size: 14px; /* Maintain a readable font size */
    border-radius: 6px; /* Slightly more rounded corners for a modern feel */
    padding: 8px 12px; /* Adjust padding for better spacing */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Primary buttons (e.g., Approve) */
.rz-button-primary {
    background: linear-gradient(135deg, #4a90e2, #007bff) !important; /* Soft gradient blue */
    color: #fff !important; /* White text */
    border: none; /* Remove hard border */
}

    .rz-button-primary:hover {
        background: linear-gradient(135deg, #3a70c2, #0056b3) !important; /* Slightly darker blue gradient */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
        color: #e6e6e6 !important; /* Softer white text */
    }

/* Secondary buttons (e.g., View) */
.rz-button-secondary {
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0) !important; /* Gradient light gray */
    color: #333 !important; /* Dark gray text */
    border: none;
}

    .rz-button-secondary:hover {
        background: linear-gradient(135deg, #e0e0e0, #cccccc) !important; /* Slightly darker gray gradient */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
        color: #000 !important; /* Black text */
    }

/* Danger buttons (e.g., Cancel) */
.rz-button-danger {
    background: linear-gradient(135deg, #e74c3c, #dc3545) !important; /* Softer red gradient */
    color: #fff !important;
    border: none;
}

    .rz-button-danger:hover {
        background: linear-gradient(135deg, #c0392b, #a71d2a) !important; /* Slightly darker red gradient */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
        color: #f8f9fa !important; /* Softer white text */
    }

/* Info buttons (e.g., Informational actions) */
.rz-button-info {
    background: linear-gradient(135deg, #5bc0de, #17a2b8) !important; /* Softer cyan gradient */
    color: #fff !important;
    border: none;
}

    .rz-button-info:hover {
        background: linear-gradient(135deg, #117a8b, #0d6efd) !important; /* Slightly darker cyan gradient */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
        color: #e6e6e6 !important;
    }

/* Success buttons (e.g., Success actions) */
.rz-button-success {
    background: linear-gradient(135deg, #58d68d, #28a745) !important; /* Softer green gradient */
    color: #fff !important;
    border: none;
}

    .rz-button-success:hover {
        background: linear-gradient(135deg, #218838, #1e8449) !important; /* Slightly darker green gradient */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
        color: #e6e6e6 !important;
    }

/* Warning buttons (e.g., Warnings) */
.rz-button-warning {
    background: linear-gradient(135deg, #f7dc6f, #ffc107) !important; /* Softer yellow gradient */
    color: #212529 !important; /* Dark text */
    border: none;
}

    .rz-button-warning:hover {
        background: linear-gradient(135deg, #e0a800, #d4ac0d) !important; /* Slightly darker yellow gradient */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
        color: #000 !important; /* Black text */
    }

/* Override the CSS for Razden SubMenu etc */
/* Highlight the currently selected/active navigation menu item as hot pink */
.rz-navigation-item-link.rz-navigation-item-link-active,
.rz-navigation-item-link.active {
    background-color: #DC143C !important;
    color: #fff !important;
}


/* Add some colours to use for badges / labels */
.custom-badge {
    border-radius: 0.25rem; /* Rounded corners */
    padding: 0.25em 0.5em; /* Padding for better spacing */
    font-size: 0.875rem; /* Adjust font size */
    font-weight: 500; /* Slightly bold text */
}
   
.badge-dark-orange {
    background-color: #d35400; /* Dark Orange */
    color: white;
    border-radius: 0.25rem; /* Optional: Rounded corners for consistency with Bootstrap badges */
    padding: 0.25em 0.5em; /* Optional: Padding for better spacing */
    font-size: 0.875rem; /* Optional: Adjust font size */
    font-weight: 500; /* Optional: Slightly bold text */
}

.badge-dark-green {
    background-color: #145a32; /* Dark Green */
    color: white; /* White text for contrast */
    border-radius: 0.25rem; /* Optional: Rounded corners for consistency with Bootstrap badges */
    padding: 0.25em 0.5em; /* Optional: Padding for better spacing */
    font-size: 0.875rem; /* Optional: Adjust font size */
    font-weight: 500; /* Optional: Slightly bold text */
}
   
/* adjust css for the license view screen */
.d-flex {
    display: flex;
    gap: 1rem; /* Add spacing between the cards */
}

.flex-fill {
    flex: 1; /* Ensure both cards take equal width */
    display: flex;
    flex-direction: column; /* Ensure the card content flows vertically */
}

.card {
    height: 100%; /* Ensure the card stretches to match the tallest sibling */
}

.env-badge {
    padding: 0.25em 0.75em;
    border-radius: 0.5em;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-left: 0; /* Ensure no extra margin */
    margin-right: 30px; /* Adjust as needed */
}

.env-live {
    background: #dc3545; /* Bootstrap red */
    color: #fff;
}

.env-test {
    background: #ffc107; /* Bootstrap yellow */
    color: #212529;
}

.navbar-ibex-bg {
    background-color: #880015 !important;
}

.nav-menu-separator {
    border-top: 1px solid #000;
    margin-top: 10px;
}

/* Hide menu on mobile unless open, always show on desktop */
.responsive-menu-wrapper {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hide menu on mobile unless open, always show on tablet/desktop */
@media (max-width: 639.98px) {
    .responsive-menu-wrapper {
        position: fixed;
        top: 3rem;
        right: 0;
        width: 80vw;
        max-width: 320px;
        height: calc(100vh - 3rem);
        background: #b71c1c;
        z-index: 9999;
        box-shadow: -2px 0 8px rgba(0,0,0,0.2);
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

        .responsive-menu-wrapper.open {
            transform: translateX(0);
            opacity: 1;
            pointer-events: auto;
            /* z-index and background are inherited, but you can repeat if needed */
        }
}

@media (min-width: 640px) {
    .responsive-menu-wrapper {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        box-shadow: none;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

@media (min-width: 640px) {
    .navbar-toggler {
        display: none !important;
    }
}

.navbar-logo {
    height: 100%;
    max-height: 3rem; /* or your preferred value */
    width: auto;
    display: block;
    object-fit: contain;
    margin-right: 0; /* Ensure no margin */
    padding-right: 0; /* Ensure no padding */
}

.navbar-portal-text {
    color: #fff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 0; /* Remove gap */
    padding-left: 0; /* Remove gap */
    letter-spacing: 0.03em;
    line-height: 1;
    display: flex;
    align-items: center;
}

.top-bar-row {
    display: flex;
    align-items: center;
    background: #f7f7f7; /* Match the right side */
    min-height: 56px;
    border-bottom: 1px solid #e0e0e0; /* Only one border here */
    padding: 0 1.5rem;
}

.top-row-main {
    flex: 1;
    display: flex;
    align-items: center;
    background: none; /* Inherit from parent */
    border-bottom: none !important; /* Remove any border */
    box-shadow: none !important; /* Remove any shadow */
}

.notification-area {
    background: none; /* Inherit from parent */
    border-radius: 0;
    font-weight: bold;
    margin-right: 20px;
    padding: 0;
    color: #212529;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    height: 100%;
}





