@media (max-width: 480px) { .main-content > div:first-child { margin-top: 120px !important; margin-bottom: 15px !important; } .main-content > div:first-child img { min-height: 150px !important; max-height: 250px !important; } } /* Carousel agent card styles */ .user-card { width: 220px; background: #fff; border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); padding: 1.2em 1em 1.2em 1em; margin: 0 0 1em 0; display: flex; flex-direction: column; align-items: center; position: relative; min-height: 340px; } .user-photo-wrap { position: relative; width: 100px; height: 100px; margin-bottom: 1em; } .user-photo { width: 100px; height: 100px; object-fit: cover; border-radius: 50%; border: 3px solid #00ff5e8f; background: #f4f4f4; display: block; } .company-logo-overlay { position: absolute; bottom: 0; right: 0; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 2px solid #00ff59; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.10); } .company-logo-overlay img { width: 32px; height: 32px; object-fit: contain; border-radius: 50%; background: #fff; } .user-card .agent-name { font-weight: 700; font-size: 1.1em; margin-bottom: 0.2em; color: #222; text-align: center; } .user-card .agent-role { font-size: 0.98em; color: #00ff4c; font-weight: 600; margin-bottom: 0.1em; text-align: center; } .user-card .agent-profession, .user-card .agent-tags, .user-card .agent-address { font-size: 0.97em; color: #555; margin-bottom: 0.1em; text-align: center; word-break: break-word; } .user-card .agent-tags { color: #888; font-size: 0.95em; } .user-card .agent-address { color: #888; font-size: 0.95em; } /* Modern Agent Search Bar Styles */ .agent-search-bar { display: flex; flex-wrap: wrap; gap: 1em; align-items: center; justify-content: center; background: #fff; border-radius: 18px; box-shadow: 0 2px 12px rgba(53,66,74,0.08); padding: 18px 24px 12px 24px; margin: 2em auto 1.5em auto; max-width: 900px; } .agent-search-bar input, .agent-search-bar select { padding: 12px 14px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 1em; background: #fafbfc; outline: none; transition: border 0.2s; min-width: 120px; margin: 0; } .agent-search-bar input:focus, .agent-search-bar select:focus { border-color: #00ff5e; background: #fff; } .agent-search-bar button[type="submit"] { padding: 12px 28px; background: #00ffa6; color: #000000; border: none; border-radius: 8px; font-size: 1em; font-weight: 400; cursor: pointer; transition: background 0.18s; margin-left: 0.5em; } .agent-search-bar button[type="submit"]:hover { background: #0acb8e; /* darker teal */ color: #000000; } @media (max-width: 700px) { .agent-search-bar { flex-direction: column; gap: 0.7em; padding: 12px 6px 10px 6px; max-width: 98vw; } .agent-search-bar input, .agent-search-bar select { width: 100%; min-width: 0; font-size: 0.98em; } .agent-search-bar button[type="submit"] { width: 100%; margin-left: 0; } } @media (max-width: 700px) { .user-card { width: 160px; min-width: 160px; max-width: 180px; margin: 0 0.3em 0.8em 0.3em; padding: 0.8em 0.4em; min-height: 220px; } .user-photo-wrap { width: 50px; height: 50px; margin-bottom: 0.5em; } .user-photo { width: 50px; height: 50px; } .company-logo-overlay { width: 28px; height: 28px; } .company-logo-overlay img { width: 24px; height: 24px; } .user-card .agent-name { font-size: 0.95em; margin-bottom: 0.15em; } .user-card .agent-role { font-size: 0.85em; margin-bottom: 0.1em; } .user-card .agent-profession, .user-card .agent-tags, .user-card .agent-address { font-size: 0.8em; margin-bottom: 0.08em; } #agents-carousel-track { gap: 8px; padding: 1em 0.3em; } } /* Top Row: Logo left, Action Bar right */ .top-row-logo-action { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 96px auto 0 auto; padding: 0 5px; overflow: visible; width: 100%; } @media (max-width: 700px) { .top-row-logo-action { max-width: 100vw !important; width: 100vw !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; gap: 0 !important; margin: 80px 0 0 0 !important; padding: 0 8px !important; box-sizing: border-box !important; } .top-row-logo-action > div:first-child { width: auto !important; display: flex !important; justify-content: flex-start !important; align-items: center !important; margin-bottom: 0 !important; flex: 0 0 auto !important; } .top-row-logo-action > div:first-child img { display: block !important; margin: 0 !important; max-width: 36vw !important; height: 40px !important; max-height: 40px !important; } .top-row-logo-action > div:last-child { width: 120px !important; max-width: 120px !important; min-width: 0 !important; flex: 0 0 110px !important; gap: 8px !important; display: flex !important; justify-content: flex-end !important; align-items: center !important; } .top-row-logo-action > div:last-child button { font-size: 1em !important; padding: 8px 18px !important; min-width: 60px !important; height: 36px !important; border-radius: 999px !important; box-sizing: border-box !important; display: flex !important; align-items: center !important; gap: 6px !important; } .top-row-logo-action > div:last-child span { font-size: 1em !important; } } /* Tablet and mobile: larger action tabs container width */ @media (max-width: 1024px) { .top-row-logo-action > div:last-child { width: 160px !important; max-width: 160px !important; min-width: 0 !important; flex: 0 0 160px !important; gap: 10px !important; } } /* Extra small screens */ @media (max-width: 500px) { .top-row-logo-action > div:last-child { width: 80px !important; max-width: 80px !important; min-width: 0 !important; flex: 0 0 80px !important; gap: 4px !important; } .top-row-logo-action > div:last-child button { font-size: 0.85em !important; padding: 4px 10px !important; height: 24px !important; gap: 3px !important; } .top-row-logo-action > div:last-child span { font-size: 0.85em !important; } }
Connect Agents Banner

D4Rent Agents