:root {
    --smdm-primary: #2563eb;
    --smdm-bg: #f8fafc;
    --smdm-text: #1e293b;
    --smdm-muted: #64748b;
    --smdm-border: #e2e8f0;
}

.smdm-directory-wrapper {
    background-color: var(--smdm-bg);
    padding: 40px 20px;
    border-radius: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Search Header */
.smdm-directory-header {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 32px;
}

.smdm-modern-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.smdm-input-group {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.smdm-input-group .dashicons {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--smdm-muted);
}

.smdm-input-group input, 
.smdm-input-group select {
    width: 100%;
    padding: 12px 12px 12px 40px !important;
    border: 1px solid var(--smdm-border);
    border-radius: 8px;
    background: white;
    font-size: 15px;
}

.smdm-btn-primary {
    background: var(--smdm-primary);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.smdm-btn-primary:hover { background: #1d4ed8; }

/* Grid & Cards */
.smdm-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.smdm-profile-card {
    background: white;
    border: 1px solid var(--smdm-border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.smdm-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.smdm-card-header {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.smdm-avatar-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
}

.smdm-status-dot {
    width: 14px;
    height: 14px;
    background: #10b981;
    border: 2px solid white;
    border-radius: 50%;
    position: absolute;
    bottom: 5px;
    right: 5px;
}

.smdm-card-body h3 {
    font-size: 20px;
    color: var(--smdm-text);
    margin: 0 0 12px 0;
}

.smdm-tag {
    background: #eff6ff;
    color: var(--smdm-primary);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 500;
}

.smdm-card-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--smdm-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.smdm-contact-link {
    text-decoration: none;
    color: var(--smdm-primary);
    font-weight: 600;
    font-size: 14px;
}

.smdm-view-profile {
    font-size: 12px;
    color: var(--smdm-muted);
}

/* Pagination */
.smdm-modern-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.smdm-modern-pagination .page-numbers {
    padding: 10px 18px;
    background: white;
    border: 1px solid var(--smdm-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--smdm-text);
    transition: 0.2s;
}

.smdm-modern-pagination .current {
    background: var(--smdm-primary);
    color: white;
    border-color: var(--smdm-primary);
}

.smdm-no-results {
    grid-column: 1 / -1;
    padding: 60px;
    text-align: center;
    color: var(--smdm-muted);
}