html,
body {
	min-height: 100vh;
	/* fills full screen and grows with content */
	margin: 0;
	padding: 0;
}


body {
	/* Refined gradient: softer and more neutral with a cool tone for better readability */
	
	background: linear-gradient(120deg, #e8f0ff 0%, #ede7f6 50%, #f6e9f9 100%);


	min-height: 100vh;
	margin: 0;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	display: flex;
	flex-direction: column;
}

.red-row td {
	border: 2px solid red;
	/* Change red to your desired color */
	border-left: none;
	/* Optional: remove left/right extra borders */
	border-right: none;
}


.is-login-icon {
	color: #F3BB45;
}

.is-account-icon {
	color: #7AC29A;
}

.is-trx-icon {
	color: #EB5E28;
}

.is-mobile-icon {
	color: #68B3C8;
}


.is-customer-icon {
	color: #833A81;
}

/* -------------------- STATUS BACKGROUNDS -------------------- */
.new-status {
	background-color: #fff7cc;
	/* very soft yellow */
	color: #6b5a00;
	/* muted golden brown */
	box-shadow: 0 0 2px rgba(107, 90, 0, 0.15);
	border-radius: 6px;
}

.new-status-link {
	color: #6b5a00 !important;
}

.investigation-status {
	background-color: #d4e7ff;
	/* pastel blue */
	color: #1f4e91;
	/* calm navy tone */
	box-shadow: 0 0 2px rgba(31, 78, 145, 0.15);
	border-radius: 6px;
}

.resolved-status,
.customer_confirmed {
	background-color: #d9f2d9;
	/* pale green */
	color: #27632a;
	box-shadow: 0 0 2px rgba(39, 99, 42, 0.15);
	border-radius: 6px;
}

.resolved-status-link {
	color: #27632a;
}

.confirmed-status {
	background-color: #f9dddd;
	/* soft blush pink */
	color: #8b2b2b;
	box-shadow: 0 0 2px rgba(139, 43, 43, 0.15);
	border-radius: 6px;
}

.confirmed-status-link {
	color: #8b2b2b;
}

.false-status {
	background-color: #ffe7cc;
	/* muted peach */
	color: #8a4800;
	box-shadow: 0 0 2px rgba(138, 72, 0, 0.15);
	border-radius: 6px;
}

.customer_fraud {
	background-color: #ffe0b3;
	/* pale orange */
	color: #9a4f00;
	box-shadow: 0 0 2px rgba(154, 79, 0, 0.15);
	border-radius: 6px;
}

/* -------------------- SEVERITY INDICATORS -------------------- */

/* LOW */
.is-low {
    background-color: #e3f7e3 !important;
    color: #245b27 !important;
    box-shadow: 0 0 2px rgba(36, 91, 39, 0.15);
    border-radius: 6px;
}

.is-low-title { color: #245b27; }

.is-low-border {
    border: 2px solid #e3f7e3;
    border-radius: 12px;
}

.is-low-card:hover {
    background-color: rgba(36, 91, 39, 0.05); /* faint green tint */
}

/* MEDIUM */
.is--medium {
    background-color: #fff1cc !important;
    color: #5e4a00 !important;
    box-shadow: 0 0 2px rgba(94, 74, 0, 0.15);
    border-radius: 6px;
}

.is--medium-title { color: #5e4a00; }

.is--medium-border {
    border: 2px solid #fff1cc;
    border-radius: 12px;
}

.is--medium-card:hover {
    background-color: rgba(204, 169, 44, 0.05); /* faint amber tint */
}

/* HIGH */
.is-high {
    background-color: #f9d6dc !important;
    color: #7a1f3a !important;
    box-shadow: 0 0 2px rgba(122, 31, 58, 0.2);
    border-radius: 6px;
}

.is-high-title { color: #7a1f3a; }

.is-high-border {
    border: 2px solid #f9d6dc;
    border-radius: 12px;
}

.is-high-card:hover {
    background-color: rgba(153, 55, 85, 0.05); /* faint pink tint */
}

/* CRITICAL */
.is-critical {
    background-color: #f7b8b8 !important;
    color: #5c0000 !important;
    box-shadow: 0 0 2px rgba(92, 0, 0, 0.25);
    border-radius: 6px;
}

.is-critical-title { color: #5c0000; }

.is-critical-border {
    border: 2px solid #f7b8b8;
    border-radius: 12px;
}

.is-critical-card:hover {
    background-color: rgba(175, 58, 50, 0.04); /* faint red tint */
}



/* -------------------- OPTIONAL LABEL STYLE TWEAKS -------------------- */
.status-label,
.severity-label {
	padding: 3px 8px;
	font-size: 0.8rem;
	font-weight: 600;
	display: inline-block;
	margin-right: 6px;
	vertical-align: middle;
	text-transform: capitalize;
}

/* Info: Calm blue tone, matches investigation-status */
.alert-info {
	background-color: #d8ecff;
	/* soft light blue */
	color: #15579a;
	/* same deep blue used in investigation-status */
	border-left: 4px solid #3a8dde;
}

/* Danger: Soft red, aligns with is-high or confirmed-status */
.alert-danger {
	background-color: #f9d1cf;
	/* soft rose */
	color: #a33a3a;
	/* strong but not harsh red */
	border-left: 4px solid #d65c5c;
}

/* Warning: Muted amber, matches new-status and medium severity */
.alert-warning {
	background-color: #fff4c2;
	/* pale yellow-amber */
	color: #7a5a00;
	/* dark golden-brown for readability */
	border-left: 4px solid #d7b200;
}

/* Success: Gentle green, matches resolved-status */
.alert-success {
	background-color: #d4f2d4;
	/* pale mint */
	color: #2c7a2e;
	/* same green as resolved-status */
	border-left: 4px solid #4eb75a;
}


/* Blockquote */
blockquote {
	color: #1E1E1E;
	/* Match quote text color to the theme */
	font-style: italic;
	/* Optional: italicize blockquote */
	border-left: 4px solid #EB5E28;
	/* Optional: add border to blockquote */
	padding-left: 16px;
	/* Optional: add padding for blockquote */
	margin-left: 0;
	/* Optional: remove default margin */
}

/* List Items (ul, ol, li) */
ul,
ol {
	color: #1E1E1E;
	/* Match list text color to the theme */
	font-size: 1rem;
	/* Optional: adjust font size for lists */
}

li {
	line-height: 1.5;
	/* Optional: line height for list items */
}

/* =======================
   NAVBAR BASE STYLING
========================== */
.navbar {
	min-height: 55px;
	padding: 10px 15px;
	border-bottom: 1px solid #334155;
	background-color: #1E293B;
	/* Light navy */
}

/* =======================
   BRAND TITLE
========================== */
.navbar .navbar-brand .navbar-item h1 {
	color: #FFFFFF !important;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: 500;
	line-height: 30px;
	padding: 4px 0;
	text-align: center;
}

/* =======================
   NAVBAR ITEMS
========================== */
.navbar .navbar-item,
.navbar .navbar-start .navbar-item,
.navbar .navbar-end .navbar-item {
	font-size: 1rem;
	font-weight: 500;
	color: #FFFFFF !important;
	background-color: transparent !important;
	transition: background-color 0.3s ease, color 0.3s ease;
	border-radius: 6px;
}

/* Hover state */
.navbar .navbar-item:hover,
.navbar .navbar-start .navbar-item:hover,
.navbar .navbar-end .navbar-item:hover {
	background-color: #334155 !important;
	color: #FFFFFF !important;
}

/* Active state */
.navbar .navbar-item.is-active,
.navbar .navbar-start .navbar-item.is-active,
.navbar .navbar-end .navbar-item.is-active {
	color: #FFFFFF !important;
	background-color: #3C4D65 !important;
	border-radius: 6px;
}

/* =======================
   NAVBAR LINK (ICON-TEXT)
========================== */
.navbar-link {
	background-color: transparent !important;
	color: #FFFFFF !important;
	padding: 10px 16px;
	display: flex;
	align-items: center;
	border-radius: 6px;
}

/* Hover for navbar-link */
.navbar-link:hover {
	background-color: #334155 !important;
	color: #FFFFFF !important;
}

/* Active navbar-link */
.navbar-link.is-active {
	background-color: #3C4D65 !important;
	color: #FFFFFF !important;
	font-weight: 600;
}

/* icon-text spacing */
.icon-text .icon {
	margin-right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* =======================
   DROPDOWN STYLING
========================== */
.navbar-item.has-dropdown.is-hoverable .navbar-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 180px;
	background-color: #1E293B;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	padding: 8px 0;
	z-index: 1000;
	overflow-y: auto;
	max-height: 300px;
	border: none;
}

/* Show dropdown */
.navbar-item.has-dropdown.is-hoverable:hover .navbar-dropdown {
	display: block;
}

/* Dropdown items */
.navbar-dropdown .navbar-item {
	font-size: 0.95rem;
	padding: 10px 16px;
	color: #FFFFFF !important;
	background-color: transparent;
	transition: background-color 0.25s ease;
	white-space: nowrap;
}

/* Hover on dropdown items */
.navbar-dropdown .navbar-item:hover {
	background-color: #334155;
	border-radius: 4px;
}

/* Active dropdown item */
.navbar-dropdown .navbar-item.is-active {
	background-color: #3C4D65 !important;
	color: #FFFFFF !important;
	font-weight: 600;
	border-radius: 4px;
}

/* Dropdown arrow and icons */
.navbar-item.has-dropdown.is-hoverable .navbar-link,
.navbar-item.has-dropdown.is-hoverable .navbar-link .icon i {
	color: #FFFFFF !important;
}

.navbar-item.has-dropdown.is-hoverable .navbar-link:not(.is-arrowless):after {
	border-color: #FFFFFF !important;
	inset-inline-end: 1.125em;
	margin-top: -.375em;
}

/* =======================
   BURGER ICON (MOBILE)
========================== */
.navbar-burger {
	color: #FFFFFF !important;
	font-size: 1.5rem;
}

.navbar-burger:hover {
	color: #CBD5E1 !important;
}

.navbar-burger.is-active {
	color: #CBD5E1 !important;
}

.navbar-burger span {
	background-color: #FFFFFF !important;
	height: 2px;
	width: 25px;
}

/* =======================
   NAVBAR DIVIDER
========================== */
.navbar-divider {
	border: 1px solid #334155 !important;
}

/* Adjust navbar item sizes */
.is-size-custom {
	font-size: 0.92rem;
}

.is-medium-small {
	padding: 0.375rem 0.75rem;
	font-size: 0.875rem;
	height: 2.25rem;
}

.is-medium-small-select {
	font-size: 0.875rem;
	padding: 0.375rem 0.75rem;
	height: auto;
	line-height: 1.5;
}

/* Sidebar Styles */
.sidebar {
	position: fixed;
	top: 0;
	left: 0;
	width: 250px;
	height: 100%;
	background-color: #2c3e50;
	box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease-in-out;
}

.sidebar.collapsed {
	transform: translateX(-100%);
}

/* Toggle button for sidebar */
.toggle-btn {
	position: absolute;
	top: 20px;
	left: 260px;
	z-index: 1000;
	font-size: 24px;
	cursor: pointer;
	background-color: transparent;
	border: none;
	color: #2c3e50;
}

/* Main content area */
.content {
	margin-left: 250px;
	padding: 20px;
	transition: margin-left 0.3s ease-in-out;
}

.content.collapsed {
	margin-left: 0;
}

@media (max-width: 768px) {
	.sidebar {
		width: 200px;
	}

	.toggle-btn {
		left: 200px;
	}

	.content.collapsed {
		margin-left: 0;
	}
}

/* Custom styles for the user avatar */
.navbar .navbar-item.has-dropdown.is-hoverable .navbar-link .image {
	display: inline-block;
	width: 32px;
	height: 32px;
	margin-right: 8px;
}


/* Styling for Input Elements */
input,
textarea,
select {
	background-color: #f4f3ef;
	/* Background color for inputs */
	color: #66615B;
	/* Text color */
	border: 1px solid #ddd;
	/* Border color */
	border-radius: 5px;
	/* Rounded corners */
	padding: 8px 12px;
	/* Padding for better spacing */
	font-size: 1rem;
	/* Standard font size */
	transition: all 0.3s ease;
	/* Smooth transition on focus */
}


/* Input elements focus effect */
input:focus,
textarea:focus,
select:focus {
	outline: none;
	/* Remove default outline */
	border-color: #EB5E28;
	/* Border color when focused (active) */
	box-shadow: 0 0 5px rgba(235, 94, 40, 0.4);
	/* Soft glow effect */
}

/* Disabled input elements */
input:disabled,
textarea:disabled,
select:disabled {
	background-color: #e0e0e0;
	/* Lighter background for disabled inputs */
	color: #888;
	/* Lighter text color */
	border: 1px solid #ccc;
	/* Lighter border */
}

/* Placeholder text color */
input::placeholder,
textarea::placeholder {
	color: #888;
	/* Lighter color for placeholder text */
}

/* Custom select dropdown styling */
select {
	appearance: none;
	/* Remove default styling */
	-webkit-appearance: none;
	/* Safari fix */
	-moz-appearance: none;
	/* Firefox fix */
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"%3E%3Cpath d="M14 8l-4 4-4-4z" fill="none" stroke="%2366615B" stroke-width="2"%3E%3C/path%3E%3C/svg%3E');
	/* Custom dropdown icon */
	background-position: right 10px center;
	/* Position the custom arrow icon */
	background-repeat: no-repeat;
	/* Don't repeat the icon */
	background-size: 12px;
	/* Adjust the size of the icon */
	padding-right: 30px;
	/* Space for the icon */
}

/* Style for smaller form elements */
input.is-medium-small,
textarea.is-medium-small,
select.is-medium-small {
	font-size: 0.875rem;
	/* In-between font size */
	padding: 6px 12px;
	/* Slightly reduced padding */
}


/* Custom styling for .is-dark to match your color scheme */


.incident-panel {
	position: fixed;
	top: 0;
	right: -80%;
	/* Initially off-screen */
	width: 80%;
	max-width: 600px;
	height: 100vh;
	background: #f0f2f5;
	border-left: 3px solid #EB5E28;
	/* Yellow border */
	box-shadow: -4px 0px 15px rgba(0, 0, 0, 0.15);
	padding: 20px;
	border-radius: 10px 0 0 10px;
	z-index: 1000;
	overflow-y: auto;
	transition: right 0.5s ease-out;
	/* Duration for sliding in and out */
}

.incident-panel.is-active {
	right: 0;
	/* Slide into view */
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	border: none;
	background: transparent;
	font-size: 24px;
	font-weight: bold;
	cursor: pointer;
	transition: transform 0.2s ease-in-out;
}

.close-btn:hover {
	transform: scale(1.2);
}


.footer {
	background-color: #0F172A;
	padding: 10px 0;
}


/* Modify the color of the dropdown icon */
.select:not(.is-multiple):not(.is-loading):after {
	color: #66615B;
	/* Set the icon color */
	border-color: #66615B;
	/* If needed, set the border color */
	inset-inline-end: 1.125em;
	z-index: 4;
}


.login-brand {
	color: #FFFFFF !important;
	text-transform: uppercase;
	padding: 2px 0px;
	display: block;
	font-size: 18px;
	text-align: center;
	font-weight: 400;
	line-height: 200px;
}

.login-slogan {
	color: #FFFFFF !important;
	text-transform: uppercase;
	display: block;
	font-size: 14px;
	text-align: center;
	font-weight: 200;
	line-height: 30px;
}

.brand {
	padding-bottom: 10px;
}

.bulma-calendar-wrapper {
	width: 100%;
}

.datetimepicker-dummy {
	display: flex;
	align-items: center;
	width: 100%;
	padding-right: 2.5rem;
	/* Space for icon */
}

.datetimepicker-dummy input {
	flex-grow: 1;
	/* Ensures input is visible */
	width: 100%;
	/* Make sure it spans full width */
}

.datetimepicker-icon {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	/* Prevent icon blocking clicks */
}

.note-box {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 1rem;
	background-color: #f9f9f9;
}


.header-with-icons {
	display: inline-flex;
	align-items: center;
}

.sort-icons {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-left: 6px;
	font-size: 0.65rem;
	line-height: 1;
}

.sort-icons a {
	color: #999;
	text-decoration: none;
	padding: 1px;
	transition: color 0.2s;
}

.sort-icons a:hover {
	color: #485fc7;
	/* Bulma's .is-link color */
}


@media print {
	.no-print {
		display: none !important;
	}
}

/* Incident Cards  */

.incident-card {
	border-radius: 12px;
	transition: all 0.25s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

}

.incident-card-dashboard {
	border-radius: 12px;
	transition: all 0.25s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

}

.incident-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.incident-card-dashboard:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}


/* Align flex sections properly */

.flex-wrap-fix {
	flex-wrap: wrap;
	gap: 0.5rem;
}

/* Clean tag look */
.tag {
	font-weight: 500;
	border-radius: 6px;
}

/* Buttons style */

.buttons .button {
	border-radius: 8px;
	transition: all 0.2s;
}

.buttons .button:hover {
	filter: brightness(0.95);
}


.card-footer {
	background-color: transparent;
	/* let card border show through */
	border-top: none;
	/* optional: remove top border line */
	border-radius: 0 0 12px 12px;
	/* match card bottom corners */
	display: flex;
	/* keep buttons inline */
	justify-content: flex-start;
	/* align buttons to left */
	gap: 0.5rem;
	/* spacing between buttons */
	padding: 0.5rem;
	/* optional: inner padding */
}

.card-footer-item.button-subtle {
	background-color: #f5f5f5;
	/* light gray background */
	color: #333;
	/* dark text */
	font-size: 0.85rem;
	/* smaller font */
	padding: 0.35rem 0.5rem;
	/* tighter padding */
	border-radius: 4px;
	/* slight rounding, not pill */
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	transition: background-color 0.2s, filter 0.2s;
}

.card-footer-item.button-subtle:hover {
	background-color: #e0e0e0;
	/* slightly darker on hover */
	color: #111;
	filter: brightness(0.95);
}


 /* Make card links look normal (not blue) */
  .card-link {
    color: inherit;                /* keep original text color */
    text-decoration: none;         /* remove underline */
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;                /* makes full card clickable */
  }

  .card-link:hover {
    color: inherit;                /* prevent blue hover */
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }

