/* Fan Courier Module Styles */

.fanbox-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
}
body.fanbox-modal-open { overflow: hidden; }
.fanbox-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 920px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: fanboxFadeIn 0.25s ease-out;
}
@keyframes fanboxFadeIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.fanbox-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}
.fanbox-modal-header h4 { margin: 0; font-size: 1.15rem; }
.fanbox-modal-close { background: none; border: none; font-size: 1.8rem; cursor: pointer; }
.fanbox-modal-body { padding: 20px 24px; overflow-y: auto; flex: 1; }
.fanbox-modal-controls .form-group { margin-bottom: 12px; }
.fanbox-map-container { display: flex; gap: 12px; margin-top: 12px; }
.fanbox-map-col { flex: 3; position: relative; }
.fanbox-list-col { flex: 2; border-left: 1px solid #dee2e6; padding-left: 12px; display: flex; flex-direction: column; }
.fanbox-list { max-height: 400px; overflow-y: auto; }
.fanbox-list-item { padding: 8px 10px; border-bottom: 1px solid #f0f0f0; cursor: pointer; border-radius: 4px; }
.fanbox-list-item:hover { background: #e7f3ff; }
.fanbox-list-item.active { background: #cce5ff; border-left: 3px solid #0d6efd; }
.fanbox-list-item .name { font-weight: 600; font-size: 0.85rem; }
.fanbox-list-item .address { font-size: 0.75rem; color: #6c757d; }
.fanbox-checkout-info { margin: 8px 0 12px; }
.fanbox-checkout-info-box { background: #f0fff4; border: 1px solid #b7ebc5; border-radius: 6px; padding: 10px 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fanbox-checkout-info-box .fanbox-change-btn { margin-left: auto; }
.fanbox-map-loading { display: none; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: rgba(255,255,255,0.9); padding: 10px 20px; border-radius: 8px; }
.fanbox-map-placeholder { height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f1f3f5; border-radius: 8px; }
.fanbox-selected { margin-top: 10px; }
.fanbox-modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px; border-top: 1px solid #e9ecef; background: #f8f9fa; border-radius: 0 0 12px 12px; }
@media (max-width: 576px) {
    .fanbox-modal { max-width: 100%; max-height: 100vh; border-radius: 0; }
    .fanbox-map-container { flex-direction: column; }
    .fanbox-list-col { border-left: none; border-top: 1px solid #dee2e6; padding-left: 0; padding-top: 10px; }
}