/* 底部悬浮弹框样式 - 原版设计 */
.fertility-popup-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999999999;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fertility-popup-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.fertility-popup-container {
    background: linear-gradient(135deg, #fef0f5 0%, #f5e6f0 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 640px;
    width: 100%;
    height: 263px;
    display: flex;
    position: relative;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.fertility-popup-overlay.show .fertility-popup-container {
    transform: translateY(0);
}

/* 关闭按钮 - 粉色X */
.fertility-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    color: #8b5a9f;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

.fertility-popup-close:hover {
    background: #fff;
    transform: rotate(90deg);
}

/* 左侧区域 - 2025_LTF Sep 图片 */
.fertility-popup-left {
    flex: 0 0 40%;
    position: relative;
    background: transparent;
    padding: 25px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.fertility-popup-image {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    display: block;
}

/* 右侧区域 - 标题、描述、按钮 */
.fertility-popup-right {
    flex: 1;
    padding: 25px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    background: linear-gradient(135deg, #fef0f5 0%, #faf5f8 100%);
}

/* 标题 - Virtual Fertility Q&A */
.fertility-popup-title {
    color: #8b5a9f;
    font-size: 22px;
    font-weight: bold;
    margin:0px;
    line-height: 1.2;
}

/* 描述文字 */
.fertility-popup-description {
    color: #5a5a5a;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 100%;
    word-wrap: break-word;
}

/* 强调文字 - 日期时间 */
.fertility-popup-description strong {
    color: #a52a2a;
    font-weight: 700;
}

/* 绿色按钮 - Learn More */
.fertility-popup-button {
    background-color: #97B77E;
    color: white;
    border: none;
    padding: 6px 30px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.3);
    align-self: flex-start;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.fertility-popup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 195, 74, 0.4);
    background: linear-gradient(135deg, #7cb342 0%, #689f38 100%);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .fertility-popup-overlay {
        padding: 0px;
        width: 70%;
    }
    .fertility-popup-container {
        flex-direction: column;
        max-width: 100%;
        height: auto;
        min-height: 263px;
    }

    .fertility-popup-left {
        flex: 0 0 auto;
        padding: 20px;
    }

    .fertility-popup-right {
        padding: 25px 20px;
    }

    .fertility-popup-title {
        font-size: 22px;
    }

    .fertility-popup-description {
        font-size: 15px;
    }

    .fertility-popup-button {
        padding: 6px 28px;
        font-size: 14px;
    }
}

