.or-ambassador-dashboard p{color:var(--primary-light-text-color)}.stat-number{font-size:2rem;font-weight:700;color:var(--dark-color);display:block;text-align:center}.stat-item{flex-grow:1}.stat-label{color:#666;margin-top:5px;text-wrap:nowrap}.referral-link-section{background:#fff;border:1px solid #ddd;border-radius:8px;padding:20px;margin-bottom:30px}.referral-link-input{width:100%;padding:10px;border:1px solid #ccc;border-radius:4px;font-size:14px;margin-bottom:10px}.copy-button{background:var(--dark-color);color:#fff;border:none;padding:12px 20px;cursor:pointer;border-radius:1em}.copy-button:hover{background:var(--dark-color-hover)}.recent-referrals{background:#fff;border:1px solid #ddd;border-radius:8px;padding:20px}.referral-item{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--block-border-color)}.referral-item:last-child{border-bottom:none}.loading-spinner{text-align:center;padding:40px;color:#666}.ambassador-header{background:var(--white-color);color:var(--primary-header-color);padding-bottom:2em;border-bottom:1px solid var(--block-border-color)}.header-content{display:flex;justify-content:space-between;align-items:center;gap:30px}.stat-label{font-size:.875rem;color:var(--primary-light-text-color);font-weight:500}.stat-divider{width:1px;height:40px;background:var(--lightest-gray-color)}.share-section{padding-top:2em;padding-bottom:2em;background:var(--white-color);border-bottom:1px solid var(--block-border-color)}.share-section h3{margin:0 0 8px 0;color:var(--dark-color);font-size:1.2rem}.link-sharing{display:flex;gap:10px;margin-bottom:1em;align-items:center}.link-sharing>input{margin-bottom:0}.referral-link-input{flex:1;padding:12px 15px;border:2px solid var(--block-border-color);border-radius:8px;font-size:14px;background:var(--white-color);transition:border-color .3s ease}.referral-link-input:focus{outline:0;border-color:var(--primary-color)}.rewards-section{padding-top:2em;padding-bottom:2em}.rewards-section h3{margin:0 0 20px 0;color:var(--primary-header-color);font-size:1.2rem}.rewards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:10px}.reward-card{background:var(--white-color);border:2px solid var(--block-border-color);border-radius:12px;transition:all .3s ease;position:relative;overflow:hidden}.reward-card .reward-progress{position:absolute;top:0;left:0;height:100%;background:linear-gradient(90deg,rgba(255,174,0,.15) 0,rgba(255,174,0,.15) 100%);transition:width .6s ease-out;z-index:1}.reward-card.unlocked{border:1px solid var(--highlight-color)}.reward-card.in-progress{border:1px solid var(--highlight-color)}.reward-card.unlocked .reward-progress{background:var(--white-color)}.reward-card .reward-content{position:relative;z-index:2;padding:20px;display:flex;align-items:center;gap:15px}.reward-card.locked{opacity:.6;border-color:var(--block-border-color)}.reward-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.08)}.reward-icon{width:55px;height:55px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:26px;flex-shrink:0}.reward-details{flex:1}.reward-title{margin:0 0 5px 0;font-size:1.1rem;font-weight:700;color:var(--dark-color)}.reward-content p.reward-description{margin:0 0 8px 0;color:var(--primary-text-color);font-size:.9rem;line-height:1.3}.reward-requirement{font-size:.8rem;color:var(--primary-light-text-color);font-weight:500}.reward-status{flex-shrink:0}.status-unlocked{color:var(--highlight-color);font-weight:600;font-size:.875rem}.status-progress{color:var(--highlight-color);font-weight:600;font-size:.875rem}.status-locked{color:var(--primary-lightest-text-color);font-size:.875rem;font-weight:500}@media (max-width:768px){.ambassador-header{padding:24px 20px}.header-content{flex-direction:column;gap:8px;text-align:center}.copy-button{width:100%}.title-section h2{font-size:1.5rem}.stat-divider{width:60px;height:1px}.stat-number{font-size:1.5rem}.link-sharing{flex-direction:column}.referral-link-input{width:100%;margin-bottom:10px}.rewards-grid{grid-template-columns:1fr}.reward-card{flex-direction:column;text-align:center;gap:15px}.progress-milestones{height:50px}.milestone-icon{width:40px;height:40px;font-size:18px}}.community-selector-wrapper{position:relative;width:100%}.community-selector-btn{width:100%;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#fff;border:1px solid #d1d5db;border-radius:8px;cursor:pointer;transition:all .15s ease;font-size:14px}.community-selector-btn:hover{border-color:#9ca3af;background:#f9fafb}.community-selector-btn:focus{outline:0;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.community-selector-content{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.community-selector-icon{width:32px;height:32px;border-radius:50%;object-fit:cover;flex-shrink:0}.community-selector-text{color:#374151;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.community-dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #d1d5db;border-radius:8px;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);z-index:1000;max-height:300px;overflow:hidden;display:none;margin-top:4px}.community-dropdown.active{display:block}.community-search-container{padding:12px;border-bottom:1px solid #e5e7eb}.community-search-input{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;outline:0;transition:border-color .15s ease}.community-search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.community-list{max-height:240px;overflow-y:auto}.community-item{display:flex;align-items:center;padding:12px;cursor:pointer;border:none;background:0 0;width:100%;text-align:left;transition:background-color .15s ease;gap:12px}.community-item:hover{background:#f3f4f6}.community-item:focus{background:#e5e7eb;outline:0}.community-item.selected{background:#dbeafe}.community-item-icon{width:32px;height:32px;border-radius:50%;object-fit:cover;flex-shrink:0}.community-item-info{flex:1;min-width:0}.community-item-name{font-size:14px;font-weight:500;color:#111827;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.community-item-slug{font-size:12px;color:#6b7280;margin:2px 0 0 0}.community-loading,.community-no-results{padding:20px;text-align:center;color:#6b7280;font-size:14px}.custom-link-preview{padding:16px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.custom-link-preview label{display:block;margin-bottom:8px;font-size:14px;font-weight:500;color:#374151}@media (max-width:640px){.community-selector-wrapper{width:100%}.modal-footer{flex-direction:column}.modal-footer button{width:100%}}