2026-04-28 11:02:31 +08:00

210 lines
3.2 KiB
CSS

.join-agency-page {
min-height: 100vh;
}
.join-content {
gap: 12px;
padding-top: 14px;
}
.join-search-card,
.agency-result-card,
.pending-card {
padding: 18px 16px;
}
.field-label,
.section-title {
display: block;
margin-bottom: 12px;
color: #24282e;
font-size: 16px;
font-weight: 900;
line-height: 1.2;
}
.search-form {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 10px;
align-items: center;
}
.search-form input {
width: 100%;
height: 44px;
min-width: 0;
border: 1px solid #eef0f2;
border-radius: 8px;
outline: none;
background: #f8fafa;
color: #25282e;
font: inherit;
font-size: 15px;
font-weight: 750;
padding: 0 12px;
}
.search-form input::placeholder {
color: #b3b5ba;
}
.search-button,
.primary-action,
.secondary-action {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
border-radius: 8px;
font-size: 15px;
font-weight: 900;
}
.search-button {
min-width: 86px;
padding: 0 16px;
background: #31d9cb;
color: #fff;
}
.search-button:disabled,
.primary-action:disabled,
.secondary-action:disabled {
opacity: 0.58;
}
.status-message {
min-height: 38px;
border-radius: 8px;
padding: 10px 12px;
background: rgba(255, 255, 255, 0.96);
color: #8b8d92;
font-size: 13px;
font-weight: 800;
line-height: 1.3;
box-shadow: var(--shadow);
}
.status-message.is-error {
color: #d64f4f;
}
.status-message.is-success {
color: #0d988d;
}
.agency-profile-row {
display: flex;
align-items: center;
gap: 14px;
min-width: 0;
}
.agency-avatar {
display: flex;
align-items: center;
justify-content: center;
width: 56px;
height: 56px;
flex: 0 0 56px;
overflow: hidden;
border-radius: 50%;
background: linear-gradient(145deg, #d7fff9, #45e7d8);
color: #0c5f58;
font-size: 21px;
font-weight: 950;
}
.agency-avatar img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.agency-avatar img[hidden],
.agency-avatar span[hidden] {
display: none;
}
.agency-copy {
min-width: 0;
flex: 1;
}
.agency-name {
overflow: hidden;
color: #25282e;
font-size: 18px;
font-weight: 900;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.agency-account {
margin-top: 6px;
overflow: hidden;
color: #8b8d92;
font-size: 13px;
font-weight: 800;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.primary-action,
.secondary-action {
width: 100%;
margin-top: 16px;
}
.primary-action {
background: linear-gradient(135deg, #35dfd2 0%, #18bfb4 100%);
color: #fff;
}
.secondary-action {
border: 1px solid #e9edf0;
background: #fff;
color: #4b4e55;
}
.pending-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.pending-head .section-title {
margin-bottom: 12px;
}
.pending-status {
flex: 0 0 auto;
margin-bottom: 12px;
color: #f2a329;
font-size: 13px;
font-weight: 900;
}
html[dir="rtl"] .agency-copy {
text-align: right;
}
html[dir="rtl"] .search-form {
direction: rtl;
}
@media (max-width: 360px) {
.search-form {
grid-template-columns: 1fr;
}
.search-button {
width: 100%;
}
}