/* 计划页面样式 */

/* 粒子背景 */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Hero Section */
.plan-hero {
    background: linear-gradient(135deg, #7FB069 0%, #2D5A27 100%);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.plan-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="pawprint" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="65" r="22" fill="rgba(255,255,255,0.05)"/><circle cx="32" cy="48" r="13" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="42" r="13" fill="rgba(255,255,255,0.05)"/><circle cx="68" cy="48" r="13" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="32" r="11" fill="rgba(255,255,255,0.05)"/><circle cx="60" cy="32" r="11" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23pawprint)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.plan-hero > div {
    position: relative;
    z-index: 1;
}

/* 服务卡片 */
.service-card {
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.service-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #2D5A27;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.service-item:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
}

/* 好处卡片 */
.benefit-card {
    transition: all 0.3s ease;
    min-height: 400px;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15) !important;
}

.benefit-icon {
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-card ul li {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 0;
}

/* 表单样式 */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* 付款页面模块 */
.payment-module {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
}

.payment-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.payment-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.payment-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2D5A27;
    margin-bottom: 1.25rem;
}

.payment-module-actions {
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .payment-module {
        padding: 2rem;
    }

    .payment-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .payment-section-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 640px) {
    .payment-module {
        padding: 1.5rem;
    }

    .payment-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.25rem;
    }

    .payment-module-actions {
        flex-direction: column;
    }

    .payment-module-actions .btn-primary,
    .payment-module-actions .btn-secondary {
        width: 100%;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #2D5A27;
    margin-bottom: 0.5rem;
}

.form-label .required {
    color: #FF6B35;
    margin-left: 0.25rem;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #7FB069;
    box-shadow: 0 0 0 3px rgba(127, 176, 105, 0.1);
}

.form-radio-group,
.form-checkbox-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.form-radio,
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-radio input,
.form-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-radio label,
.form-checkbox label {
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

/* 条款样式 */
.terms-container {
    padding: 1.5rem;
    background: #f9fafb;
    margin-bottom: 1rem;
}

.terms-scroll-container {
    max-height: 400px;
    overflow-y: auto;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    background: #f9fafb;
    margin-top: 1rem;
}

.terms-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.terms-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.terms-scroll-container::-webkit-scrollbar-thumb {
    background: #7FB069;
    border-radius: 4px;
}

.terms-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #2D5A27;
}

.terms-divider {
    border-top: 2px solid #e5e7eb;
    margin: 2rem 0;
    padding-top: 2rem;
}

.terms-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2D5A27;
    margin-bottom: 1rem;
}

.terms-section {
    margin-bottom: 1.5rem;
}

.terms-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2D5A27;
    margin-bottom: 0.5rem;
}

.terms-section p,
.terms-section ul {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.terms-section ul {
    padding-left: 1.5rem;
}

.terms-section li {
    margin-bottom: 0.5rem;
}

/* 付款方式 */
.payment-method {
    margin-bottom: 2rem;
}

.payment-option {
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: #7FB069;
    background-color: #f0f9f0;
}

.payment-option.selected {
    border-color: #7FB069;
    background-color: #f0f9f0;
    box-shadow: 0 0 0 3px rgba(127, 176, 105, 0.1);
}

.payment-option input[type="radio"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.payment-details {
    display: none;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border: 2px solid #7FB069;
}

.payment-details.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2D5A27;
    margin-bottom: 1rem;
}

.payment-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.payment-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-info-label {
    font-weight: 600;
    color: #2D5A27;
    min-width: 150px;
}

.payment-info-value {
    color: #4b5563;
    font-family: monospace;
    font-size: 1.1rem;
}

.qr-code {
    max-width: 300px;
    margin: 1rem auto;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.qr-code img {
    width: 100%;
    height: auto;
    display: block;
}

/* 服务内容列表 */
.service-content-list {
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-content-list h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2D5A27;
    margin-bottom: 1rem;
}

.service-content-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.service-content-item:last-child {
    border-bottom: none;
}

.service-content-name {
    color: #4b5563;
}

.service-content-price {
    font-weight: 600;
    color: #2D5A27;
}

.service-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    margin-top: 1rem;
    border-top: 2px solid #2D5A27;
    font-size: 1.25rem;
    font-weight: bold;
    color: #2D5A27;
}

/* 总收费显示 */
.total-fee-display {
    text-align: center;
    padding: 1.5rem 0;
}

.total-fee-amount {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #22c55e;
    margin-bottom: 0.5rem;
}

/* 按钮样式 */
.btn-primary {
    background-color: #FF6B35;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: #E55A2B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .service-items {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 1.5rem;
    }

    .form-radio-group,
    .form-checkbox-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .payment-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .payment-info-label {
        min-width: auto;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   新的服务计划样式 - 深色主题带背景图片
   ======================================== */

/* 服务计划部分背景 - 使用主题绿色 */
.plan-services-section,
.plan-benefits-section {
    position: relative;
    /*min-height: 100vh;*/
    background: linear-gradient(135deg, #2D5A27 0%, #1a4420 50%, #0f2815 100%);
    overflow: hidden;
}

/* 背景图片叠加层 - 动物照片背景但不影响阅读 */
.plan-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
    filter: blur(3px) brightness(0.7);
}

/* 服务计划部分 - 使用动物背景图片 */
.plan-services-section .plan-bg-overlay {
    background-image: 
        /* 可以替换为本地图片路径：url('/static/image/pets-background.jpg') */
        radial-gradient(circle at 20% 30%, rgba(127, 176, 105, 0.25) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(45, 90, 39, 0.3) 0%, transparent 60%),
        url('https://images.unsplash.com/photo-1601758228041-f3b2795255f1?w=1920&q=80');
}

/* 好处部分 - 使用动物背景图片 */
.plan-benefits-section .plan-bg-overlay {
    background-image: 
        radial-gradient(circle at 70% 30%, rgba(127, 176, 105, 0.25) 0%, transparent 60%),
        radial-gradient(circle at 30% 70%, rgba(45, 90, 39, 0.3) 0%, transparent 60%),
        url('https://images.unsplash.com/photo-1587300003388-59208cc962cb?w=1920&q=80');
}

/* 计划介绍文本 */
.plan-intro-text {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 计划卡片 */
.plan-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.plan-card-featured {
    border: 2px solid #FF6B35;
}

/* 限时优惠标签 */
.plan-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #FF6B35, #E55A2B);
    color: white;
    padding: 8px 40px;
    font-size: 0.875rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.4);
}

/* 计划卡片头部 - 使用主题绿色渐变 */
.plan-card-header {
    padding: 1.5rem 1.5rem 1rem;
    color: white;
    text-align: center;
}

/* 新手养宠计划（狗狗） - 使用深绿色 */
.plan-header-blue {
    background: linear-gradient(135deg, #2D5A27, #1a4420);
}

/* 新手养宠计划（猫猫） - 使用中等绿色 */
.plan-header-pink {
    background: linear-gradient(135deg, #4a7c59, #2D5A27);
}

/* 宠物丰容计划 - 使用浅绿色 */
.plan-header-green {
    background: linear-gradient(135deg, #7FB069, #5a8a4d);
}

/* 宠物摄影计划 - 使用绿色到橙色的渐变 */
.plan-header-purple {
    background: linear-gradient(135deg, #7FB069, #FF6B35);
}

.plan-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}

.plan-card-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
}

/* 计划卡片主体 */
.plan-card-body {
    padding: 1.5rem;
    flex: 1;
    background: white;
}

/* 价格 */
.plan-price {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.plan-price-old {
    display: block;
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.plan-price-current {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #FF6B35;
}

/* 免责声明 */
.plan-disclaimer {
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* 功能列表 */
.plan-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.plan-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.5;
}

.plan-feature-item i {
    color: #7FB069;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.plan-feature-item span {
    flex: 1;
}

.plan-feature-item span strong {
    color: #2D5A27;
    font-weight: 600;
}

/* 计划卡片底部 */
.plan-card-footer {
    padding: 1.5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

/* 计划按钮 - 使用主题绿色 */
.plan-btn {
    display: block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #7FB069, #2D5A27);
    color: white;
    text-align: center;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.4);
}

.plan-btn:hover {
    background: linear-gradient(135deg, #2D5A27, #1a4420);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 39, 0.5);
}

.plan-card-featured .plan-btn {
    background: linear-gradient(135deg, #FF6B35, #E55A2B);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.plan-card-featured .plan-btn:hover {
    background: linear-gradient(135deg, #E55A2B, #d1491f);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* 好处卡片样式 - 深色主题 */
.benefit-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.2);
}

.benefit-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
}

.benefit-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    text-align: center;
    flex: 1;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

.benefit-list li i {
    color: #7FB069;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.benefit-list li span {
    flex: 1;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .grid.lg\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid.md\:grid-cols-2,
    .grid.lg\:grid-cols-4 {
        grid-template-columns: 1fr;
    }

    .plan-card {
        max-width: 100%;
    }

    .plan-intro-text {
        padding: 1.5rem;
    }

    .benefit-card {
        min-height: auto;
    }

    .plan-badge {
        top: 15px;
        right: -30px;
        padding: 6px 35px;
        font-size: 0.75rem;
    }
}

@media (max-width: 640px) {
    .plan-card-title {
        font-size: 1.25rem;
    }

    .plan-price-current {
        font-size: 1.5rem;
    }

    .benefit-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   表单页面样式 - 简洁现代风格
   ======================================== */

/* 表单容器 */
.plan-form-container {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 表单行 */
.plan-form-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.plan-form-label {
    display: block;
    font-weight: 500;
    color: #374151;
    padding-top: 0.75rem;
    font-size: 0.95rem;
}

.plan-form-label .required {
    color: #FF6B35;
    margin-left: 0.25rem;
}

/* 输入框包装器 */
.plan-form-input-wrapper {
    width: 100%;
}

/* 输入框和选择框 */
.plan-form-input,
.plan-form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    color: #374151;
    transition: all 0.2s ease;
}

.plan-form-input:focus,
.plan-form-select:focus {
    outline: none;
    border-color: #7FB069;
    box-shadow: 0 0 0 3px rgba(127, 176, 105, 0.1);
}

.plan-form-input::placeholder {
    color: #9ca3af;
}

/* 选择框样式 */
.plan-form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* 多选选择框样式 */
.plan-form-select[multiple] {
    background-image: none;
    padding-right: 1rem;
    min-height: 120px;
}

.plan-form-select[multiple] option {
    padding: 0.5rem;
    cursor: pointer;
}

.plan-form-select[multiple] option:hover {
    background-color: #f0f9f0;
}

.plan-form-select[multiple] option:checked {
    background-color: #7FB069;
    color: white;
}

/* 按钮组（单选按钮样式） */
.plan-form-button-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.plan-form-button-group-horizontal {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* 隐藏原始单选按钮 */
.plan-form-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* 自定义按钮样式 - label包裹radio */
.plan-form-button {
    display: inline-block;
    position: relative;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-weight: 500;
    user-select: none;
}

.plan-form-button:hover {
    border-color: #7FB069;
    background: #f9fafb;
}

/* 选中状态的按钮 */
.plan-form-button .plan-form-radio:checked ~ *,
.plan-form-button:has(.plan-form-radio:checked) {
    background: linear-gradient(135deg, #7FB069, #2D5A27);
    border-color: #2D5A27;
    color: white;
}

/* 兼容不支持:has的浏览器 */
@supports selector(:has(*)) {
    .plan-form-button:has(.plan-form-radio:checked) {
        background: linear-gradient(135deg, #7FB069, #2D5A27);
        border-color: #2D5A27;
        color: white;
    }
}

/* 使用JavaScript类名作为fallback */
.plan-form-button.selected {
    background: linear-gradient(135deg, #7FB069, #2D5A27);
    border-color: #2D5A27;
    color: white;
}

/* 提交按钮组 */
.plan-form-submit-group {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* 提交按钮 */
.plan-form-btn-primary,
.plan-form-btn-secondary {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.plan-form-btn-primary {
    background: linear-gradient(135deg, #7FB069, #2D5A27);
    color: white;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
}

.plan-form-btn-primary:hover {
    background: linear-gradient(135deg, #2D5A27, #1a4420);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 39, 0.4);
}

.plan-form-btn-secondary {
    background: white;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.plan-form-btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* 表单页面背景 - 带猫狗图片，使用主题绿色 */
.plan-form-section {
    position: relative;
    background: linear-gradient(135deg, #7FB069 0%, #2D5A27 50%, #1a4420 100%);
    overflow: hidden;
}

/* 背景图片叠加层 - 左右两边猫狗，中间留空 */
.plan-form-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.2;
}

/* 左侧猫图片 */
.plan-form-bg-overlay::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    background-image: 
        /* 可以替换为本地图片路径：url('/static/image/cat-left.jpg') */
        url('https://images.unsplash.com/photo-1514888286974-6c03e2ca1dba?w=800&q=80');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    filter: blur(2px) brightness(0.8);
    opacity: 0.3;
    mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
}

/* 右侧狗图片 */
.plan-form-bg-overlay::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    background-image: 
        /* 可以替换为本地图片路径：url('/static/image/dog-right.jpg') */
        url('https://images.unsplash.com/photo-1537151625747-768eb6cf92b2?w=800&q=80');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    filter: blur(2px) brightness(0.8);
    opacity: 0.3;
    mask-image: linear-gradient(to left, transparent 0%, black 20%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 20%, black 80%, transparent 100%);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .plan-form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .plan-form-label {
        padding-top: 0;
    }

    .plan-form-container {
        padding: 1.5rem;
    }

    .plan-form-button-group-horizontal {
        flex-wrap: wrap;
    }

    .plan-form-button {
        flex: 1;
        min-width: 100px;
    }

    .plan-form-submit-group {
        flex-direction: column;
    }

    .plan-form-btn-primary,
    .plan-form-btn-secondary {
        width: 100%;
    }

    .plan-form-bg-overlay::before,
    .plan-form-bg-overlay::after {
        opacity: 0.15;
        width: 35%;
    }

    .plan-form-section {
        background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    }
}

