/* Web3s Portal General Style */
.web3s-portal-wrapper {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: 16px;
	padding: 25px;
	margin-bottom: 30px;
	color: #1e293b;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.portal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	padding-bottom: 15px;
	margin-bottom: 20px;
}

.portal-header h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
}

.portal-update-time {
	font-size: 12px;
	color: #64748b;
}

/* Tabs Navigation */
.gold-tabs-nav, .lottery-tabs-nav {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}

.gold-tab-btn, .lottery-tab-btn {
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	color: #475569;
	padding: 8px 18px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s ease;
}

.gold-tab-btn.active, .gold-tab-btn:hover,
.lottery-tab-btn.active, .lottery-tab-btn:hover {
	background: #2563eb;
	border-color: #2563eb;
	color: #ffffff;
}

/* Flex Grid Layouts */
.gold-content-wrapper, .currency-content-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
}

@media (max-width: 768px) {
	.gold-content-wrapper, .currency-content-wrapper {
		grid-template-columns: 1fr;
	}
}

/* Tables styling */
.gold-table-container, .currency-table-container {
	overflow-x: auto;
}

.portal-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.portal-table th {
	background: #f8fafc;
	color: #475569;
	text-align: left;
	font-weight: 600;
	padding: 12px;
	border-bottom: 2px solid #edf2f7;
}

.portal-table td {
	padding: 12px;
	border-bottom: 1px solid #f1f5f9;
}

.portal-table tr:hover {
	background: rgba(37, 99, 235, 0.03);
}

.price-up {
	color: #10b981;
	font-weight: 600;
}

.price-down {
	color: #ef4444;
	font-weight: 600;
}

/* Select Box */
.portal-select {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 13px;
	color: #334155;
	outline: none;
	cursor: pointer;
}

.portal-select-small {
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid #e2e8f0;
	padding: 4px 8px;
	border-radius: 6px;
	font-size: 12px;
	outline: none;
}

/* Charts Containers */
.gold-chart-container, .currency-chart-container {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 15px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.chart-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.chart-header h4 {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #334155;
}

/* Weather Widget */
.weather-widget {
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	color: #ffffff;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 8px 20px rgba(29, 78, 216, 0.15);
	margin-bottom: 25px;
	max-width: 320px;
}

.weather-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.weather-city-name {
	font-weight: 700;
	font-size: 16px;
}

.weather-body {
	display: flex;
	align-items: center;
	gap: 20px;
}

.weather-icon-temp {
	display: flex;
	align-items: center;
	gap: 10px;
}

.weather-big-icon {
	font-size: 45px;
}

.weather-temp-num {
	font-size: 32px;
	font-weight: 800;
}

.weather-info-extra {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 12px;
	opacity: 0.9;
}

.weather-desc-text {
	font-weight: 600;
	font-size: 14px;
}

/* Lottery board */
.lottery-filters {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 25px;
}

.lottery-date-filter {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
}

.portal-input-date {
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 6px 12px;
	outline: none;
	font-size: 13px;
}

.lottery-results-display {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.lottery-board-table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
	text-align: center;
}

.lottery-board-table td {
	padding: 10px;
	border: 1px solid #e2e8f0;
	font-size: 15px;
}

.lottery-giai-title {
	font-weight: 700;
	background: #f8fafc;
	color: #64748b;
	width: 120px;
	font-size: 13px;
	text-transform: uppercase;
}

.lottery-db-highlight {
	color: #ef4444;
	font-weight: 800;
	font-size: 20px;
}

.lottery-g8-highlight {
	color: #2563eb;
	font-weight: 800;
	font-size: 18px;
}
