
form .error-message {
    color:red;
    display: block;
}
label.required {
    font-weight: bold;
}
.input.required label:after, 
label.required:after {
    content: ' *';
    color: #C3232D;
}
.pointer {
    cursor: pointer;
}

/* Front end Text formatting
============================*/


/* Searchbox
============================*/
#searchSection {
	width: 50%;
	text-align: center;
    padding:0;
}
.search_bx {
	position: relative;
	width: 90%;
    margin:0;
}
.search_bx input {
	border: 1px solid #959595;
	border-radius: 8px;
	width: 100%;
	padding: 15px;
	font-size: 16px;
	font-weight: 100;
}
.search_bx .search_img {
	position: absolute;
	right: 0px;
	top: 10px;
}
.search_bx .search_img:hover {
	color:green;
	cursor: pointer;
}
.search_bx input::placeholder {
	color: #ccc;
	opacity: 1;
}

/*Guess class for onlineUsers*/
.guest_class {
    color:rgb(228, 152, 13);
}

#socialShareModal {
    display:none;
}

.no-arrow .dropdown-toggle::after {
    display: none;
}

/* ========================================
   PROFESSIONAL NAVBAR STYLES
   ======================================== */

/* Main Navbar */
.pro-navbar {
	border-bottom: 1px solid #dee2e6;
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
	box-shadow: 0 2px 4px rgba(0,0,0,0.08) !important;
	padding: 0.5rem 1rem;
}

/* Nav Links */
.pro-nav-link,
.pro-nav-icon {
	color: #495057 !important;
	transition: all 0.3s ease;
	border-radius: 8px;
	padding: 0.5rem 0.75rem !important;
	margin: 0 0.25rem;
}

.pro-nav-link:hover,
.pro-nav-icon:hover {
	background-color: #e9ecef;
	color: #0452A2 !important;
	transform: translateY(-1px);
}

.pro-nav-link i,
.pro-nav-icon i {
	font-size: 1.1rem;
}

/* Site Selector - Desktop */
.pro-site-selector {
	position: relative;
}

.pro-site-link {
	display: flex;
	align-items: center;
	padding: 0.5rem 1.25rem;
	background: linear-gradient(135deg, #0452A2 0%, #0366c3 100%);
	border-radius: 50px;
	color: #ffffff !important;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(4, 82, 162, 0.3);
	min-width: 250px;
	justify-content: center;
}

.pro-site-link:hover {
	background: linear-gradient(135deg, #034080 0%, #0452A2 100%);
	box-shadow: 0 4px 12px rgba(4, 82, 162, 0.4);
	transform: translateY(-2px);
	color: #ffffff !important;
}

.pro-site-logo {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	margin-right: 0.75rem;
	border: 2px solid rgba(255, 255, 255, 0.3);
	object-fit: cover;
}

.pro-site-name {
	font-weight: 600;
	font-size: 1rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 180px;
}

/* Mobile Site Selector */
.mobile-site-selector {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-bottom: 1px solid #dee2e6;
	padding: 0.75rem 0;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pro-site-link-mobile {
	display: flex;
	align-items: center;
	padding: 0.75rem 1rem;
	background: #ffffff;
	border-radius: 12px;
	color: #0452A2 !important;
	text-decoration: none;
	border: 1px solid #dee2e6;
	transition: all 0.3s ease;
}

.pro-site-link-mobile:hover {
	border-color: #0452A2;
	box-shadow: 0 2px 8px rgba(4, 82, 162, 0.15);
	color: #0452A2 !important;
}

.pro-site-logo-mobile {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	margin-right: 0.75rem;
	border: 2px solid #e9ecef;
	object-fit: cover;
}

.pro-site-name-mobile {
	font-weight: 600;
	font-size: 0.95rem;
	flex: 1;
}

/* Site Dropdown */
.pro-site-dropdown {
	min-width: 280px;
	border: none;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	border-radius: 12px;
	padding: 0.5rem 0;
	margin-top: 0.5rem;
}

.pro-site-dropdown .dropdown-header {
	font-weight: 600;
	color: #0452A2;
	padding: 0.75rem 1.25rem;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.pro-site-dropdown-item {
	display: flex;
	align-items: center;
	padding: 0.75rem 1.25rem;
	transition: all 0.2s ease;
	color: #495057;
}

.pro-site-dropdown-item:hover {
	background-color: #f8f9fa;
	color: #0452A2;
	padding-left: 1.5rem;
}

.pro-site-dropdown-item.active {
	background-color: #e7f3ff;
	color: #0452A2;
	font-weight: 600;
}

.pro-site-dropdown-logo {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	margin-right: 0.75rem;
	border: 1px solid #dee2e6;
	object-fit: cover;
}

/* Notification Badge */
.pro-notification-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	font-size: 0.65rem;
	padding: 0.25rem 0.4rem;
	border-radius: 10px;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}

/* Notification Dropdown */
.pro-notification-dropdown {
	min-width: 320px;
	border: none;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	border-radius: 12px;
	padding: 0;
	margin-top: 0.5rem;
}

.pro-dropdown-header {
	background: linear-gradient(135deg, #0452A2 0%, #0366c3 100%);
	color: #ffffff !important;
	font-weight: 600;
	padding: 1rem 1.25rem;
	border-radius: 12px 12px 0 0;
	margin: 0;
}

/* User Dropdown */
.user-menu-pro .pro-user-link {
	display: flex;
	align-items: center;
	color: #495057 !important;
	padding: 0.5rem 0.75rem;
	border-radius: 50px;
	transition: all 0.3s ease;
	background: transparent;
}

.user-menu-pro .pro-user-link:hover {
	background-color: #e9ecef;
	color: #0452A2 !important;
}

.pro-user-avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 2px solid #0452A2;
	object-fit: cover;
	transition: all 0.3s ease;
}

.user-menu-pro .pro-user-link:hover .pro-user-avatar {
	border-color: #fd7e14;
	transform: scale(1.05);
}

.pro-user-dropdown {
	min-width: 280px;
	border: none;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	border-radius: 12px;
	padding: 0;
	margin-top: 0.5rem;
}

.pro-user-header {
	background: linear-gradient(135deg, #0452A2 0%, #0366c3 100%);
	padding: 1.5rem;
	display: flex;
	align-items: center;
	border-radius: 12px 12px 0 0;
}

.pro-user-header-img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.3);
	object-fit: cover;
	margin-right: 1rem;
}

.pro-user-info {
	color: #ffffff;
	flex: 1;
}

.pro-user-info h6 {
	font-weight: 600;
	margin-bottom: 0.25rem;
	font-size: 1rem;
}

.pro-user-info small {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.85rem;
}

.pro-user-dropdown-item {
	padding: 0.85rem 1.25rem;
	transition: all 0.2s ease;
	color: #495057;
	display: flex;
	align-items: center;
}

/* Language Dropdown Styles */
.pro-language-dropdown .pro-nav-icon {
	margin-right: 0 !important;
}

.pro-language-text {
	font-size: 0.8rem;
	font-weight: 600;
	color: #495057;
}

.pro-language-dropdown-menu {
	min-width: 200px;
	border: none;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	border-radius: 12px;
	padding: 0.5rem 0;
	margin-top: 0.5rem;
}

.pro-language-item {
	padding: 0.75rem 1.25rem;
	transition: all 0.2s ease;
	color: #495057;
	display: flex;
	align-items: center;
	font-weight: 500;
	border-radius: 8px;
	/* margin: 0 0.5rem; */
}

.pro-language-item:hover {
	background: linear-gradient(135deg, #0452A2 0%, #0366c3 100%);
	color: #ffffff !important;
	transform: translateX(3px);
}

.pro-language-item.active {
	background: linear-gradient(135deg, rgba(4, 82, 162, 0.1) 0%, rgba(3, 102, 195, 0.1) 100%);
	color: #0452A2;
	font-weight: 700;
}

.pro-flag-icon {
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	vertical-align: middle;
}

.pro-language-item:hover .pro-flag-icon {
	transform: scale(1.1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pro-language-item span {
	flex: 1;
}

.pro-language-item i.fa-check {
	margin-left: auto;
}

.pro-user-dropdown-item:hover {
	background-color: #f8f9fa;
	color: #0452A2;
	padding-left: 1.5rem;
}

.pro-user-dropdown-item i {
	width: 20px;
	text-align: center;
}

.pro-user-dropdown-item.myLogoutClass:hover {
	background-color: #ffe5e5;
	color: #dc3545;
}


/* ========================================
   PROFESSIONAL SIDEBAR STYLES
   ======================================== */

/* Main Sidebar */
.pro-sidebar {
	background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%) !important;
	box-shadow: 2px 0 8px rgba(0,0,0,0.08) !important;
}

/* Brand Link */
.pro-brand-link {
	background: linear-gradient(135deg, #fd7e14 0%, #0366c3 100%) !important;
	border-bottom: 3px solid #0452A2;
	padding: 1rem 1.25rem;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	text-decoration: none;
	min-height: 57px;
}

.pro-brand-link:hover {
	background: linear-gradient(135deg, #eb9956 0%, #fd7e14 100%) !important;
	box-shadow: 0 4px 12px rgba(4, 82, 162, 0.3);
}

.pro-brand-image {
	width: 38px !important;
	height: 38px !important;
	margin-right: 0.75rem;
	opacity: 1 !important;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
	padding: 4px;
}

.pro-brand-text {
	color: #ffffff !important;
	font-size: 1.25rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.5px;
}

/* Sidebar Content */
.pro-sidebar-content {
	padding-top: 0.5rem;
}

/* Search Wrapper - Modern Clean Design */
.pro-search-wrapper {
	padding: 1rem;
	margin-bottom: 0.5rem;
}

.pro-search-container {
	position: relative;
	width: 100%;
}

.pro-search-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: #6c757d;
	font-size: 0.9rem;
	z-index: 2;
	pointer-events: none;
	transition: all 0.3s ease;
}

.pro-search-input {
	width: 100%;
	border: 2px solid #e9ecef !important;
	border-radius: 12px !important;
	padding: 0.75rem 1rem 0.75rem 2.75rem !important;
	font-size: 0.9rem !important;
	background: #f8f9fa !important;
	transition: all 0.3s ease !important;
	color: #495057 !important;
}

.pro-search-input::placeholder {
	color: #adb5bd;
	font-size: 0.875rem;
}

.pro-search-input:focus {
	border-color: #0452A2 !important;
	background: #ffffff !important;
	box-shadow: none !important;
	outline: none !important;
}

.pro-search-input:focus + .pro-search-icon,
.pro-search-container:focus-within .pro-search-icon {
	color: #0452A2;
}

/* Navigation */
.pro-nav {
	padding: 0 0.5rem;
}

.pro-nav-list {
	padding-bottom: 2rem;
}

/* Nav Divider */
.pro-nav-divider {
	height: 1px;
	background: linear-gradient(90deg, transparent, #dee2e6, transparent);
	margin: 1rem 0.5rem;
}

/* Nav Header */
.pro-nav-header {
	color: #0452A2;
	font-weight: 700;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 1rem 1rem 0.5rem 1rem;
	margin-top: 0.5rem;
	display: flex;
	align-items: center;
	border-top: 2px solid #dee2e6;
	padding-top: 1rem;
	margin-top: 1rem;
}

/* Nav Item */
.pro-nav-item {
	margin-bottom: 0.25rem;
}

.pro-nav-link {
	border-radius: 10px !important;
	padding: 0.75rem 1rem !important;
	color: #495057 !important;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	font-weight: 500;
	margin: 0 !important;
}

.pro-nav-link:hover {
	background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
	color: #0452A2 !important;
	transform: translateX(3px);
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.pro-nav-link.active {
	background: linear-gradient(135deg, #0452A2 0%, #0366c3 100%) !important;
	color: #ffffff !important;
	box-shadow: 0 3px 10px rgba(4, 82, 162, 0.3);
}

.pro-nav-link.active .pro-nav-icon {
	color: #ffffff !important;
}

.pro-nav-link.active .pro-nav-text {
	color: #ffffff !important;
}

/* Nav Icon */
.pro-nav-icon {
	font-size: 1rem !important;
	/* width: 24px !important; */
	text-align: center !important;
	margin-right: 0.75rem !important;
	margin-left: 0 !important;
	color: #0452A2;
	transition: all 0.3s ease;
}

.pro-nav-link:hover .pro-nav-icon {
	color: #0452A2 !important;
	transform: scale(1.1);
}

/* Nav Text */
.pro-nav-text {
	flex: 1;
	font-size: 0.95rem;
	color: #495057;
	transition: all 0.3s ease;
}

/* Nav Arrow */
.pro-nav-arrow {
	transition: all 0.3s ease;
	margin-left: auto;
    top: 1.2rem !important;
}

.pro-has-treeview.menu-open > .pro-nav-link .pro-nav-arrow {
	transform: rotate(-90deg);
}

/* Treeview */
.pro-nav-treeview {
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	border-left: 3px solid #0452A2;
	margin-left: 1.5rem;
	margin-top: 0.25rem;
	margin-bottom: 0.5rem;
	border-radius: 0 8px 8px 0;
	padding: 0.5rem 0;
}

.pro-nav-item-child {
	margin-bottom: 0.15rem;
}

.pro-nav-link-child {
	border-radius: 8px;
	padding: 0.6rem 1rem !important;
	color: #6c757d !important;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	font-weight: 400;
	font-size: 0.9rem;
	margin: 0 0.5rem !important;
}

.pro-nav-link-child:hover {
	background: #ffffff;
	color: #0452A2 !important;
	transform: translateX(3px);
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.pro-nav-link-child.active {
	background: #ffffff !important;
	color: #0452A2 !important;
	font-weight: 600;
	border-left: 3px solid #fd7e14;
	box-shadow: 0 2px 8px rgba(4, 82, 162, 0.15);
}

.pro-nav-icon-child {
	font-size: 0.5rem !important;
	width: 20px !important;
	text-align: center !important;
	margin-right: 0.75rem !important;
	margin-left: 0.5rem !important;
	color: #6c757d;
	transition: all 0.3s ease;
}

.pro-nav-link-child:hover .pro-nav-icon-child,
.pro-nav-link-child.active .pro-nav-icon-child {
	color: #fd7e14 !important;
	transform: scale(1.2);
}

.pro-nav-text-child {
	flex: 1;
	font-size: 0.9rem;
	color: inherit;
}

/* Sidebar Collapsed State */
.sidebar-collapse .pro-brand-text,
.sidebar-collapse .pro-nav-text,
.sidebar-collapse .pro-nav-arrow,
.sidebar-collapse .pro-search-wrapper {
	display: none !important;
}

.sidebar-collapse .pro-brand-link {
	justify-content: center;
	padding: 1rem;
}

.sidebar-collapse .pro-brand-image {
	margin-right: 0;
}

.sidebar-collapse .pro-nav-link {
	justify-content: center;
	padding: 0.75rem !important;
}

.sidebar-collapse .pro-nav-icon {
	margin: 0 !important;
}

.sidebar-collapse .pro-nav-header {
	text-align: center;
	padding: 0.5rem;
	font-size: 0;
}

.sidebar-collapse .pro-nav-header i {
	font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
	.pro-site-link {
		min-width: 200px;
	}
	
	.pro-site-name {
		max-width: 140px;
	}
}

@media (max-width: 991.98px) {
	.pro-nav-link span {
		display: none !important;
	}
}

@media (max-width: 767.98px) {
	.pro-navbar {
		padding: 0.5rem;
	}
	
	.pro-nav-link,
	.pro-nav-icon {
		padding: 0.4rem 0.5rem !important;
		margin: 0 0.1rem;
	}
	
	.pro-user-avatar {
		width: 32px;
		height: 32px;
	}
}

/* Override any conflicting AdminLTE styles */
.navbar-nav .nav-link {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.main-sidebar .nav-link {
	/* padding: 0.75rem 1rem; */
}

/* ============================================
   ADMINLTE SIDEBAR-MINI OVERRIDE - CRITICAL
   ============================================ */
/* Override AdminLTE's sidebar-mini width calculation */
.sidebar-mini .main-sidebar .nav-link,
.sidebar-mini-md .main-sidebar .nav-link,
.sidebar-mini-xs .main-sidebar .nav-link {
	width: auto !important;
	transition: none !important;
}

/* Ensure our professional nav links work in sidebar-mini mode */
.sidebar-mini .main-sidebar .nav-link.pro-nav-link,
.sidebar-mini-md .main-sidebar .nav-link.pro-nav-link,
.sidebar-mini-xs .main-sidebar .nav-link.pro-nav-link {
	width: 100% !important;
	display: flex !important;
	align-items: center !important;
	/* padding: 0.75rem 1rem !important; */
	transition: all 0.3s ease !important;
}

/* Smooth transitions */
* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ============================================
   EMERGENCY HEADCOUNT BUTTON IN SIDEBAR
   ============================================ */
.pro-emergency-button-wrapper {
	padding: 1rem;
	border-top: 2px solid rgba(255, 255, 255, 0.1);
	margin-top: auto;
}

.pro-emergency-btn {
	background: linear-gradient(135deg, #495057 0%, #343a40 100%) !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 12px 20px !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	color: #fff !important;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
	transition: all 0.3s ease !important;
	position: relative;
	overflow: hidden;
}

.pro-emergency-btn:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
	background: linear-gradient(135deg, #343a40 0%, #23272b 100%) !important;
}

.pro-emergency-btn:active {
	transform: translateY(0) !important;
}

.pro-emergency-btn i {
	transition: all 0.3s ease;
}

/* Live evacuation animation */
.pro-emergency-btn.evacuation-live {
	background: linear-gradient(135deg, #dc3545 0%, #ff4757 50%, #dc3545 100%) !important;
	background-size: 200% 200% !important;
	animation: evacuationGlow 1.5s ease-in-out infinite !important;
	box-shadow: 0 4px 20px rgba(220, 53, 69, 0.5), 0 0 15px rgba(220, 53, 69, 0.3) !important;
}

.pro-emergency-btn.evacuation-live:hover {
	background: linear-gradient(135deg, #c82333 0%, #ff4757 50%, #c82333 100%) !important;
	box-shadow: 0 6px 25px rgba(220, 53, 69, 0.6), 0 0 20px rgba(220, 53, 69, 0.4) !important;
}

.pro-emergency-btn.evacuation-live i {
	animation: emergencyPulse 2s ease-in-out infinite;
}

@keyframes emergencyPulse {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.7;
		transform: scale(1.1);
	}
}

.pro-emergency-btn.evacuation-live .evac-live-badge {
	display: inline-block;
}

.evac-live-badge {
	display: none;
	background: rgba(255, 255, 255, 0.25);
	font-size: 0.65rem;
	padding: 2px 6px;
	border-radius: 4px;
	margin-left: 6px;
	letter-spacing: 1px;
	vertical-align: middle;
	animation: evacBadgeBlink 1s ease-in-out infinite;
}

@keyframes evacuationGlow {
	0%, 100% {
		background-position: 0% 50%;
		box-shadow: 0 4px 20px rgba(220, 53, 69, 0.5), 0 0 15px rgba(220, 53, 69, 0.3);
	}
	50% {
		background-position: 100% 50%;
		box-shadow: 0 4px 25px rgba(220, 53, 69, 0.7), 0 0 25px rgba(220, 53, 69, 0.5);
	}
}

@keyframes evacBadgeBlink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

/* Collapsed sidebar — hide LIVE badge */
.sidebar-collapse .evac-live-badge {
	display: none !important;
}

/* Collapsed sidebar state */
.sidebar-collapse .pro-emergency-button-wrapper {
	padding: 0.5rem;
}

.sidebar-collapse .pro-emergency-btn {
	padding: 10px !important;
	border-radius: 8px !important;
}

.sidebar-collapse .pro-emergency-btn span {
	display: none;
}

.sidebar-collapse .pro-emergency-btn i {
	margin: 0 !important;
	font-size: 1.2rem;
}

/* ============================================
   BADGE SCANNER MODAL STYLES
   ============================================ */
.pro-scanner-modal {
	border-radius: 15px !important;
}

.pro-scanner-title {
	color: #0452A2;
	font-weight: 600;
}

.pro-scanning-modal {
	padding: 20px;
	text-align: center;
}

.pro-scanner-status {
	padding: 30px 20px;
}

.pro-scanner-icon {
	position: relative;
	display: inline-block;
	color: #0452A2;
}

.pro-scanner-icon.scanning {
	animation: scanPulse 2s ease-in-out infinite;
}

@keyframes scanPulse {
	0%, 100% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.1);
		opacity: 0.8;
	}
}

.scanner-pulse {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
	border: 3px solid #0452A2;
	border-radius: 50%;
	animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
	0% {
		transform: translate(-50%, -50%) scale(0.8);
		opacity: 1;
	}
	100% {
		transform: translate(-50%, -50%) scale(1.5);
		opacity: 0;
	}
}

.pro-scan-loader {
	padding: 30px;
	text-align: center;
}

.pro-scan-loader .spinner-border {
	width: 3rem;
	height: 3rem;
	border-width: 0.3em;
}

.pro-scanner-error {
	padding: 20px;
	text-align: center;
}

.pro-error-icon {
	margin: 20px 0;
}

.pro-error-message {
	margin-top: 15px;
}

.pro-scan-result {
	padding: 20px;
	text-align: left;
}

.pro-scan-result .alert {
	margin-bottom: 0;
}

/* Success state */
.swal2-icon.swal2-success {
	border-color: #28a745 !important;
}

.swal2-success-ring {
	border-color: rgba(40, 167, 69, 0.3) !important;
}

/*Cellphones*/
@media (max-width: 489px) {
    
}

/*Cellphones*/
@media (max-width: 767px) {
    #bodySection{
        padding:0!important;
        margin:0!important;
    }
    .container, .inner_content {
        padding:2px!important;
    }
    #searchSection {
        width: 90%!important;
        margin-left:20px!important;
    }
    #bannerSection h1{
        font-size:28px;
    }
    .code_number_h1 small{
        font-size:16px!important;
    }
    .code_img_link {
        text-align:center;
        margin-right:0!important;
    }
    .media-body .media-heading {
        text-align:center;
    }
    .toolTipgroup {
        margin: 5px auto!important;
    }

    .media-body{
        padding-left:5px;
    }

    #footerSection{
        text-align:center;
    }
}

/*Tablets*/
@media (min-width: 490px) and (max-width: 740px){

}

/* ========================================
   Vision AI Page
   ======================================== */
.pro-vision-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    overflow: hidden;
}
.pro-vision-card-header {
    background: linear-gradient(135deg, #0452A2 0%, #0367c7 100%);
    color: #fff;
    border: none;
    padding: 12px 20px;
}
.pro-vision-card-header .card-title {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}
.pro-vision-card-header .card-tools .badge {
    font-size: .75rem;
}

/* Tabs */
.pro-vision-tabs .nav-link {
    border-radius: 20px;
    padding: 6px 18px;
    font-size: .85rem;
    color: #555;
    transition: all .2s;
}
.pro-vision-tabs .nav-link.active {
    background: #0452A2;
    color: #fff;
}

/* Dropzone */
.pro-vision-dropzone {
    border: 2px dashed #c8d6e5;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: border-color .2s, background .2s;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pro-vision-dropzone:hover,
.pro-vision-dropzone-active {
    border-color: #0452A2;
    background: rgba(4,82,162,.03);
}
.pro-vision-dropzone-content {
    color: #8395a7;
}
.pro-vision-dropzone-content i {
    color: #0452A2;
    opacity: .6;
}

/* Preview images */
.pro-vision-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    object-fit: contain;
}
.pro-vision-url-preview-wrapper {
    text-align: center;
    min-height: 60px;
}
.pro-vision-clear-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    padding: 0;
    line-height: 28px;
    z-index: 2;
}

/* Textarea */
.pro-vision-textarea {
    border-radius: 8px;
    resize: vertical;
}

/* Quick prompts */
.pro-vision-quick-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pro-quick-prompt {
    border-radius: 20px;
    font-size: .78rem;
    padding: 4px 12px;
}

/* Analyze button */
.pro-vision-analyze-btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 10px;
    font-size: 1rem;
    background: linear-gradient(135deg, #0452A2 0%, #0367c7 100%);
    border: none;
    transition: opacity .2s;
}
.pro-vision-analyze-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Loading spinner */
.pro-vision-loading {
    text-align: center;
    padding: 40px 0;
}
.pro-vision-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e0e0e0;
    border-top-color: #0452A2;
    border-radius: 50%;
    animation: pro-spin 0.8s linear infinite;
    margin: 0 auto;
}
@keyframes pro-spin {
    to { transform: rotate(360deg); }
}

/* Empty state */
.pro-vision-empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #b2bec3;
}
.pro-vision-empty-state h5 {
    color: #636e72;
}

/* Result content */
.pro-vision-result-content {
    line-height: 1.7;
    font-size: .95rem;
    color: #2d3436;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px 5px;
}

/* Face extraction result */
.pro-face-preview-wrapper {
    display: inline-block;
    padding: 8px;
    border: 3px solid #0452A2;
    border-radius: 12px;
    background: #f8f9fa;
    box-shadow: 0 4px 15px rgba(4, 82, 162, .15);
}
.pro-face-preview {
    max-width: 250px;
    max-height: 300px;
    border-radius: 8px;
    display: block;
}

/* History list */
.pro-vision-history-list {
    max-height: 300px;
    overflow-y: auto;
}
.pro-vision-history-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f1f2f6;
    cursor: pointer;
    transition: background .15s;
}
.pro-vision-history-item:hover {
    background: #f8f9fa;
}
.pro-vision-history-item:last-child {
    border-bottom: none;
}
