/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jan 12 2026 | 15:42:41 */
/*--------------------------------------------------------------
# Top Agents Component
--------------------------------------------------------------*/

.top-agents-component {
	padding: 20px;
}

.top-agents-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
.top-agents-title {
    margin: 0;
    font-family: 'Mikhmoret DL 1.1 AAA';
    font-weight: 500;
    font-size: 27px;
    letter-spacing: 0.2px;
    color: #1a1a2e;
}
.top-agents-view-all {
    background: none;
    border: none;
    color: #2E2F40;
    font-family: 'Noto Sans Hebrew';
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    transition: color 0.2s ease;
}
.top-agents-view-all:hover {
	color: #0d9488;
}

.top-agents-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.top-agents-loading,
.top-agents-empty,
.top-agents-error {
	text-align: center;
	padding: 2rem;
	color: #6b7280;
}
.agent-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-family: 'Noto Sans Hebrew';
    font-size: 14px;
}
.agent-item:last-child {
	border-bottom: none;
}

.agent-avatar {
	flex-shrink: 0;
}
.home .deal-wrap .agent-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.agent-name {
	flex: 1;
	font-weight: 500;
	color: #1a1a2e;
}

.agent-deals {
	color: #6b7280;
	font-size: 0.875rem;
	min-width: 80px;
	text-align: center;
}

.agent-amount {
	font-weight: 600;
	color: #1a1a2e;
	min-width: 80px;
	text-align: left;
}

/* All Agents Modal */
.all-agents-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.all-agents-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
}
.all-agents-modal-content {
    position: relative;
    background: #fff;
    border-radius: 15px;
    width: 100%;
    max-width: 550px;
    max-height: 80vh;
    height: 500px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    direction: rtl;
    display: flex;
    flex-direction: column;
}

.all-agents-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid #e5e7eb;
}
.all-agents-modal-header h3 {
    margin: 0;
    font-family: 'Mikhmoret DL 1.1 AAA';
    font-size: 24px;
    font-weight: 500;
    color: #1a1a2e;
}
.all-agents-modal-close {
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 1.5rem;
	color: #9ca3af;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	transition: all 0.2s ease;
}

.all-agents-modal-close:hover {
	background: #f1f5f9;
	color: #64748b;
}

.all-agents-modal-body {
	padding: 1rem 1.5rem;
	overflow-y: auto;
	flex: 1;
}
.all-agents-modal-body .agent-avatar img {
	width: 56px;
	height: 56px;
}