/* SecureGate Modern Dashboard UI - FORCED LIGHT THEME */

#sg-verification-tool {
	all: initial;
	/* Reset all inherit styles */
	display: block;
	max-width: 1000px;
	margin: 40px auto;
	font-family: 'Poppins', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	background: #f0f2f5 !important;
	padding: 30px;
	border-radius: 28px;
	color: #2d3436 !important;
	box-sizing: border-box;
}

#sg-verification-tool * {
	box-sizing: border-box;
}

/* Search Bar Polish */
.sg-search-bar-wrap {
	background: #ffffff !important;
	padding: 12px 25px;
	border-radius: 20px;
	margin-bottom: 30px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
	display: flex;
	align-items: center;
	position: relative;
	border: 1px solid #e1e4e8;
}

#sg-plate-search {
	flex: 1;
	border: none !important;
	font-size: 1.15rem !important;
	padding: 12px !important;
	outline: none !important;
	background: transparent !important;
	color: #2d3436 !important;
}

.sg-search-icon {
	color: #a0a0a0;
	font-size: 24px;
	margin-right: 10px;
}

/* Results Dropdown */
#sg-search-results {
	position: absolute;
	top: 110%;
	left: 0;
	right: 0;
	background: #ffffff !important;
	border-radius: 18px;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
	z-index: 9999;
	list-style: none !important;
	padding: 10px 0 !important;
	margin: 0 !important;
	max-height: 300px;
	overflow-y: auto;
	border: 1px solid #eee;
}

#sg-search-results li {
	padding: 15px 25px !important;
	border-bottom: 1px solid #f8f9fa;
	cursor: pointer;
	transition: all 0.2s;
	color: #2d3436 !important;
}

#sg-search-results li:hover {
	background: #f8f9fa !important;
	padding-left: 30px !important;
}

#sg-search-results li strong {
	color: #ff5e62 !important;
	font-size: 1.2rem;
}

/* Dashboard Grid */
.sg-dashboard-grid {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 30px;
}

@media (max-width: 850px) {
	.sg-dashboard-grid {
		grid-template-columns: 1fr;
	}
}

/* Resident Card */
.sg-profile-card {
	background: #ffffff !important;
	border-radius: 28px;
	overflow: hidden;
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
}

.sg-profile-photo-wrap {
	width: 100%;
	height: 320px;
	background: #eef1f4;
}

#sg-view-tenant-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sg-profile-content {
	padding: 30px;
}

.sg-profile-content h3 {
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 1px;
	color: #ff8a5c;
	margin-bottom: 5px;
	font-weight: 700;
}

.sg-profile-content h2 {
	font-size: 1.8rem;
	font-weight: 800;
	margin: 0 0 25px 0;
	color: #1a1a1a;
}

.sg-profile-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 30px;
}

.sg-stat-item label {
	display: block;
	font-size: 0.75rem;
	color: #95a5a6;
	font-weight: 600;
	margin-bottom: 5px;
}

.sg-stat-item span {
	font-weight: 700;
	font-size: 0.95rem;
	color: #2d3436;
}

/* Right Column Cards */
.sg-side-card {
	background: #ffffff !important;
	border-radius: 28px;
	padding: 30px;
	margin-bottom: 30px;
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
}

.sg-card-title-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 25px;
}

.sg-card-title-row h3 {
	font-size: 1.1rem;
	font-weight: 800;
	margin: 0;
	color: #1a1a1a;
}

/* Vehicle List Row */
.sg-data-row {
	display: flex;
	align-items: center;
	padding: 18px 0;
	border-top: 1px solid #f0f2f5;
}

.sg-vehicle-icon {
	width: 50px;
	height: 50px;
	background: #fff5f2;
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20px;
}

.sg-vehicle-icon .dashicons {
	color: #ff5e62;
	font-size: 24px;
	width: 24px;
	height: 24px;
}

.sg-row-info .title {
	display: block;
	font-size: 1.4rem;
	font-weight: 800;
	font-family: monospace;
	color: #1a1a1a;
}

/* Buttons */
.sg-btn-pilled {
	border-radius: 50px;
	border: none;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.sg-btn-primary {
	background: linear-gradient(135deg, #ff8a5c 0%, #ff5e62 100%);
	color: #fff !important;
	width: 100%;
	padding: 18px;
	font-size: 1rem;
	box-shadow: 0 10px 20px rgba(255, 94, 98, 0.3);
}

.sg-btn-danger {
	background: #fff0f0;
	color: #ff4757 !important;
	border: 1px solid #ffcece;
}

.sg-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 15px 30px rgba(255, 94, 98, 0.4);
}

.sg-btn-danger:hover {
	background: #ff4757;
	color: #fff !important;
}

/* Status History */
.sg-status-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	margin-right: 15px;
}

.dot-green {
	background: #00b894;
}

/* Utility */
.sg-unit-badge {
	background: #f0f2f5;
	padding: 4px 12px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.85rem;
}

.hidden {
	display: none !important;
}