/* 개선된 하단 정보창 스타일 */

#bottomInfoPanel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: none;
}

/* 애니메이션 */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 그라데이션 배경 */
.info-panel-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #dbeafe 100%);
    border-top: 4px solid #3b82f6;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
}

/* 카드 스타일 */
.info-card {
    background: linear-gradient(to bottom right, #ffffff, #f8fafc);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.info-card + .info-card {
    margin-top: 16px;
    border-top: 4px solid #e2e8f0;
}

/* 상태 인디케이터 */
.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* 헤더 제목 */
.info-header-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 전화번호 버튼 그라데이션 */
.phone-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-button:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
    transform: translateY(-2px) scale(1.05);
}

/* 주소 박스 */
.address-box {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.address-box:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* 네비 버튼 */
.navi-button {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 2px 6px rgba(251, 191, 36, 0.4);
    transition: all 0.3s ease;
}

.navi-button:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.6);
    transform: scale(1.1) rotate(5deg);
}

/* 상태 버튼 */
.status-button {
    border-radius: 12px;
    font-weight: 700;
    padding: 12px 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.status-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.status-button:hover::before {
    width: 300px;
    height: 300px;
}

.status-button.active {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* 상태별 색상 */
.status-scheduled {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.status-completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.status-pending {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* 500m 원 버튼 */
.circle-button {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.circle-button:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

/* 메모 추가 버튼 */
.memo-button {
    background: linear-gradient(135deg, #3b82f6 0%, #4f46e5 100%);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.memo-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #4338ca 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

/* 메모 카드 */
.memo-card {
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
}

.memo-card:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateX(4px);
}

.memo-number {
    width: 24px;
    height: 24px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* 메모 컨테이너 */
.memo-container {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    max-height: 240px;
    overflow-y: auto;
    border: 2px solid #e2e8f0;
}

.memo-container::-webkit-scrollbar {
    width: 8px;
}

.memo-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.memo-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.memo-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 닫기 버튼 */
.close-button {
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.close-button:hover {
    background: #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: rotate(90deg) scale(1.1);
}

/* 중복 정보 배너 */
.duplicate-banner {
    background: linear-gradient(135deg, #3b82f6 0%, #4f46e5 100%);
    border-bottom: 2px solid #2563eb;
}

/* 모바일 반응형 */
@media (max-width: 640px) {
    .info-card {
        padding: 16px;
    }
    
    .info-header-title {
        font-size: 1.25rem;
    }
    
    .status-button {
        padding: 8px 12px;
        font-size: 0.875rem;
    }
}
