/* ============================================================
   ROS 对象存储购买页补充样式
   基础布局/按钮/底部购买栏复用 rcs/css/style.css
   ============================================================ */

/* ---------- 区域选择 ---------- */
.ros-region-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 760px;
}

.ros-region-card {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.ros-region-card:hover {
    border-color: #37b5c1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 181, 193, 0.15);
}

.ros-region-card.active {
    border-color: #37b5c1;
    background: rgba(55, 181, 193, 0.05);
    box-shadow: 0 0 0 3px rgba(55, 181, 193, 0.1);
}

.ros-region-name {
    font-size: 17px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.ros-region-desc {
    font-size: 13px;
    color: #6b7280;
}

.ros-region-delay {
    font-size: 13px;
    color: #9ca3af;
    white-space: nowrap;
}

/* ---------- 套餐分组 ---------- */
.ros-plan-group {
    margin-bottom: 24px;
}

.ros-plan-group:last-child {
    margin-bottom: 0;
}

.ros-plan-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.ros-plan-group-title::before {
    content: '';
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: linear-gradient(135deg, #37b5c1, #2d9aa5);
}

.ros-plan-group-title .group-count {
    font-size: 12px;
    font-weight: 400;
    color: #9ca3af;
}

/* ---------- ROS 套餐卡片（覆盖 style.css 居中卡片为左对齐信息卡） ---------- */
#plan-list .plan-grid {
    margin-bottom: 0;
}

.ros-plan-card {
    position: relative;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.ros-plan-card:hover {
    border-color: #37b5c1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 181, 193, 0.15);
}

.ros-plan-card.active {
    border-color: #37b5c1;
    background: rgba(55, 181, 193, 0.03);
    box-shadow: 0 0 0 3px rgba(55, 181, 193, 0.08);
}

.ros-plan-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.ros-plan-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.ros-plan-cluster {
    font-size: 11px;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: 4px;
    padding: 2px 8px;
    white-space: nowrap;
    margin-left: 8px;
    font-weight: 400;
    vertical-align: middle;
}

.ros-plan-price {
    font-size: 22px;
    font-weight: 700;
    color: #ef4444;
    white-space: nowrap;
}

.ros-plan-price small {
    font-size: 12px;
    font-weight: 400;
    color: #9ca3af;
}

.ros-plan-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ros-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 6px;
    font-size: 13px;
}

.ros-spec-item .spec-label {
    color: #6b7280;
    margin: 0;
    font-size: 12px;
}

.ros-spec-item .spec-value {
    color: #111827;
    font-weight: 600;
    margin: 0;
    font-size: 13px;
    white-space: nowrap;
}

/* ---------- 空提示/说明 ---------- */
.ros-empty {
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    padding: 40px 20px;
}

.ros-tip {
    margin-top: 12px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.8;
}

.ros-tip strong {
    color: #374151;
}

/* 购买按钮禁用态 */
.order-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .ros-region-grid {
        grid-template-columns: 1fr;
    }

    .ros-plan-specs {
        grid-template-columns: 1fr;
    }
}
