.store-picker-section td {
padding: 15px 0 !important;
}
.store-picker-block {
background: #fff;
border: 1px solid #e0e0e0;
border-radius: 8px;
overflow: hidden;
}
.store-picker-title {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 15px;
background: #f8f9fa;
border-bottom: 1px solid #e0e0e0;
font-weight: 600;
color: #e74c3c;
font-size: 14px;
}
.store-picker-title .icon {
font-size: 16px;
}
.store-picker-title .required {
color: #e74c3c;
}
.store-picker-field {
padding: 20px;
text-align: center;
}
.store-picker-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 24px;
background: #fff;
border: 2px solid #dee2e6;
border-radius: 8px;
cursor: pointer;
font-size: 15px;
color: #495057;
transition: all 0.3s ease;
width: 100%;
}
.store-picker-btn:hover {
border-color: #4285f4;
color: #4285f4;
}
.store-picker-btn .icon {
font-size: 20px;
}
.store-picker-tip {
margin-top: 12px;
font-size: 13px;
color: #6c757d;
} .store-picker-selected {
background: #e8f5e9;
border: 2px solid #4caf50;
border-radius: 8px;
padding: 15px;
margin-top: 10px;
}
.store-picker-selected-info {
display: flex;
flex-direction: column;
gap: 5px;
text-align: left;
}
.store-picker-selected-info .store-brand {
display: inline-block;
padding: 2px 8px;
background: #4285f4;
color: #fff;
border-radius: 4px;
font-size: 12px;
margin-right: 8px;
}
.store-picker-selected-info .store-name {
font-weight: 600;
color: #333;
}
.store-picker-selected-info .store-address,
.store-picker-selected-info .store-phone,
.store-picker-selected-info .store-id {
font-size: 13px;
color: #666;
}
.store-picker-change-btn {
margin-top: 10px;
padding: 8px 16px;
background: #fff;
border: 1px solid #ddd;
border-radius: 4px;
cursor: pointer;
font-size: 13px;
color: #666;
}
.store-picker-change-btn:hover {
border-color: #4285f4;
color: #4285f4;
} .store-picker-modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 99999;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.store-picker-modal {
background: #fff;
border-radius: 12px;
width: 100%;
max-width: 600px;
max-height: 90vh;
display: flex;
flex-direction: column;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.store-picker-modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px 24px;
border-bottom: 1px solid #eee;
}
.store-picker-modal-header h3 {
margin: 0;
font-size: 18px;
font-weight: 600;
color: #333;
}
.store-picker-modal-close {
background: none;
border: none;
font-size: 24px;
color: #999;
cursor: pointer;
padding: 0;
line-height: 1;
}
.store-picker-modal-close:hover {
color: #333;
}
.store-picker-modal-body {
padding: 20px 24px;
overflow-y: auto;
flex: 1;
} .store-picker-brand-select {
margin-bottom: 20px;
}
.store-picker-brand-select label {
display: block;
font-size: 14px;
color: #666;
margin-bottom: 8px;
}
.store-picker-brand-dropdown {
width: 100%;
padding: 12px 16px;
border: 1px solid #ddd;
border-radius: 8px;
font-size: 15px;
color: #333;
background: #fff;
cursor: pointer;
} .store-picker-search {
margin-bottom: 15px;
}
.store-picker-search label {
display: block;
font-size: 14px;
color: #666;
margin-bottom: 8px;
}
.store-picker-search-box {
display: flex;
gap: 10px;
}
.store-picker-search-input {
flex: 1;
padding: 12px 16px;
border: 1px solid #ddd;
border-radius: 8px;
font-size: 15px;
}
.store-picker-search-input:focus {
outline: none;
border-color: #4285f4;
}
.store-picker-search-btn,
.store-picker-smart-btn {
padding: 12px 20px;
border: 1px solid #ddd;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
display: flex;
align-items: center;
gap: 5px;
white-space: nowrap;
}
.store-picker-search-btn {
background: #fff;
color: #333;
}
.store-picker-search-btn:hover {
border-color: #4285f4;
color: #4285f4;
}
.store-picker-smart-btn {
background: #4285f4;
color: #fff;
border-color: #4285f4;
}
.store-picker-smart-btn:hover {
background: #3367d6;
}
.store-picker-search-tip {
margin-top: 8px;
font-size: 12px;
color: #999;
} .store-picker-list {
max-height: 400px;
overflow-y: auto;
}
.store-picker-item {
display: flex;
align-items: flex-start;
justify-content: space-between;
padding: 15px;
border: 1px solid #eee;
border-radius: 8px;
margin-bottom: 10px;
transition: all 0.2s ease;
}
.store-picker-item:hover {
border-color: #4285f4;
background: #f8f9ff;
}
.store-picker-item-info {
flex: 1;
}
.store-picker-item-header {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 8px;
}
.store-picker-item-brand {
display: inline-block;
padding: 3px 10px;
border: 1px solid #4285f4;
color: #4285f4;
border-radius: 4px;
font-size: 12px;
font-weight: 500;
}
.store-picker-item-brand.brand-711 {
border-color: #f57c00;
color: #f57c00;
}
.store-picker-item-brand.brand-family {
border-color: #4caf50;
color: #4caf50;
}
.store-picker-item-name {
font-weight: 600;
color: #333;
font-size: 15px;
}
.store-picker-item-detail {
font-size: 13px;
color: #666;
line-height: 1.6;
}
.store-picker-item-detail span {
display: block;
}
.store-picker-item-select {
padding: 8px 20px;
background: #fff;
border: 1px solid #4285f4;
color: #4285f4;
border-radius: 6px;
cursor: pointer;
font-size: 14px;
font-weight: 500;
transition: all 0.2s ease;
white-space: nowrap;
margin-left: 15px;
align-self: center;
}
.store-picker-item-select:hover {
background: #4285f4;
color: #fff;
} .store-picker-loading {
text-align: center;
padding: 40px;
color: #666;
}
.store-picker-loading::before {
content: '';
display: inline-block;
width: 30px;
height: 30px;
border: 3px solid #eee;
border-top-color: #4285f4;
border-radius: 50%;
animation: spin 1s linear infinite;
margin-bottom: 10px;
}
@keyframes spin {
to { transform: rotate(360deg); }
} .store-picker-no-results {
text-align: center;
padding: 40px;
color: #999;
} .store-picker-hidden-field {
display: none;
} @media (max-width: 768px) {
.store-picker-modal {
max-height: 95vh;
margin: 10px;
}
.store-picker-search-box {
flex-direction: column;
}
.store-picker-item {
flex-direction: column;
}
.store-picker-item-select {
margin-left: 0;
margin-top: 10px;
width: 100%;
}
} .ly-store-picker {
margin: 20px 0;
}
.ly-store-picker .store-picker-block {
border-color: #e0e0e0;
}
.ly-store-picker .store-picker-title {
background: #fff3cd;
border-color: #ffc107;
color: #856404;
}
.ly-store-picker .store-picker-field {
background: #fffbf0;
}
.ly-store-picker .store-picker-selected {
text-align: left;
background: #e8f5e9;
border: 1px solid #a5d6a7;
border-radius: 8px;
padding: 15px;
}
.ly-store-picker .store-picker-selected-info {
margin-bottom: 10px;
}
.ly-store-picker .store-brand {
background: #2e7d32;
color: #fff;
padding: 2px 8px;
border-radius: 4px;
font-size: 12px;
margin-right: 8px;
}
.ly-store-picker .store-name {
font-weight: 600;
font-size: 15px;
}
.ly-store-picker .store-address,
.ly-store-picker .store-phone,
.ly-store-picker .store-id {
font-size: 13px;
color: #666;
margin-top: 5px;
}
.ly-store-picker .store-picker-change-btn {
background: #fff;
border: 1px solid #ccc;
padding: 6px 15px;
border-radius: 4px;
cursor: pointer;
font-size: 13px;
}
.ly-store-picker .store-picker-change-btn:hover {
background: #f5f5f5;
}