@charset "utf-8";

/* ============================================
   티디엑스 단체보험 Left Sidebar 디자인
   깔끔한 톤앤매너 & 모던 UI/UX
   ============================================ */

/* 브랜드 컬러 */
:root {
    --teddy-primary: #009CE0;
    --teddy-primary-dark: #0084C0;
    --teddy-primary-light: #E6F7FF;
    --teddy-secondary: #00B8E6;
    --teddy-accent: #FF6B35;
    --teddy-gray-50: #FAFAFA;
    --teddy-gray-100: #F5F5F5;
    --teddy-gray-200: #EEEEEE;
    --teddy-gray-300: #E0E0E0;
    --teddy-gray-400: #BDBDBD;
    --teddy-gray-500: #9E9E9E;
    --teddy-gray-600: #757575;
    --teddy-gray-700: #616161;
    --teddy-gray-800: #424242;
    --teddy-gray-900: #212121;
    --teddy-white: #FFFFFF;
    --teddy-shadow-sm: 0 2px 8px rgba(0, 156, 224, 0.08);
    --teddy-shadow-md: 0 4px 16px rgba(0, 156, 224, 0.12);
    --teddy-shadow-lg: 0 8px 24px rgba(0, 156, 224, 0.16);
}

/* ============================================
   Top Banner 영역
   ============================================ */
.left {
    position: relative;
    width: 432px;
    background: linear-gradient(180deg, #ecf7ff 0%, #c6e8ff 100%);
    border-bottom: 1px solid var(--teddy-gray-200);
}

.left .top-banner.group-banner {
    position: relative;
    padding: 40px 32px 32px;
    border-bottom: 1px solid var(--teddy-gray-200);
    overflow: hidden;
}


.left .top-banner .top-txt {
    position: relative;
    z-index: 1;
}

.left .top-banner .top-txt > p {
    font-size: 13px;
    font-weight: 500;
    color: var(--teddy-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: inline-block;
    padding: 4px 12px;
    background: var(--teddy-primary);
    border-radius: 20px;
}

.left .top-banner .top-txt .main-txt h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--teddy-gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.left .top-banner .top-txt .small-txt {
    font-size: 13px;
    line-height: 1.6;
    color: var(--teddy-gray-700);
    margin-bottom: 20px;
}

.left .top-banner .top-txt .small-txt span {
    display: block;
    margin-bottom: 4px;
}

.left .top-banner .top-txt .small-txt .noti {
    font-size: 12px;
    color: var(--teddy-gray-700);
    font-style: italic;
    letter-spacing: normal;
}

/* 체크리스트 스타일 개선 */
.left .check-list {
    display: flex;
    flex-direction: column;
    gap: 12px 0;
    margin-top: 24px;
    padding: 20px;
    background: var(--teddy-white);
    border-radius: 12px;
    box-shadow: var(--teddy-shadow-sm);
    border: 1px solid var(--teddy-gray-200);
}

.left .check-list li {
    font-size: 14px;
    color: var(--teddy-gray-800);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0 12px;
    line-height: 1.5;
}

.left .check-list li {
    position: relative;
}

.left .check-list li::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: var(--teddy-primary);
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 156, 224, 0.2);
    position: relative;
}

.left .check-list li::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* ============================================
   Banner Section (국내/해외 카드)
   ============================================ */
.banner-section {
    padding: 24px 32px;
}

.banner-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.banner-card {
    position: relative;
    border-radius: 16px;
    padding: 20px;
    color: white;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
}

.banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--teddy-shadow-lg);
    border-color: rgba(255, 255, 255, 0.3);
}

.banner-card:hover::before {
    opacity: 1;
}

.banner-card.domestic {
    background: linear-gradient(135deg, #009CE0 0%, #0077B3 100%);
}

.banner-card.overseas {
    background: linear-gradient(135deg, #00B8E6 0%, #009CE0 100%);
}

.banner-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.banner-title svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature-list {
    list-style: none;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.feature-item span {
    flex: 1;
}

.recommendation {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    opacity: 0.95;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.recommendation svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ============================================
   Bottom Banner 영역
   ============================================ */
.left .bottom-banner {
    padding: 24px 32px 32px;
}

.left .deliberation {
    width: 100%;
    padding: 11px 0;
    font-size: 11px;
    color: var(--teddy-gray-600);
    text-align: center;
    font-weight: 400;
    line-height: 1.7;
    background: var(--teddy-gray-50);
    border-radius: 12px;
    border: 1px solid var(--teddy-gray-200);
}

.left .deliberation span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--teddy-gray-700);
}

/* ============================================
   반응형 디자인
   ============================================ */
@media (max-width: 1200px) {
    .left {
        width: 100%;
    }

    .banner-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .banner-card {
        padding: 24px;
    }

    .banner-title {
        font-size: 18px;
    }

    .feature-item {
        font-size: 14px;
    }

    .left .top-banner.group-banner {
        padding: 92px 24px 24px;
    }

    .banner-section {
        padding: 20px 24px;
    }

    .left .bottom-banner {
        padding: 20px 24px 24px;
    }
}

/* ============================================
   애니메이션 효과
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.left .top-banner .top-txt {
    animation: fadeInUp 0.6s ease-out;
}

.left .check-list {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.banner-card {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.banner-card:nth-child(2) {
    animation-delay: 0.5s;
}

/* ============================================
   접근성 개선
   ============================================ */
.banner-card:focus {
    outline: 3px solid var(--teddy-primary);
    outline-offset: 2px;
}

.banner-card:focus:not(:focus-visible) {
    outline: none;
}

