* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    background-color: #f2f2f7;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.appstore-light {
    background-color: #f2f2f7;
    min-height: 100vh;
    padding-top: 0;
    margin-top: 20px;
}

.app-list {
    background: #fff;
    margin: 0 8px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.app-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 0.5px solid #e5e5e7;
    -webkit-tap-highlight-color: transparent;
}

.app-item:last-child {
    border-bottom: none;
}

.app-item:active {
    background-color: #f2f2f7;
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 16px;
    flex-shrink: 0;
    background: #f2f2f7;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-info {
    flex: 1;
    min-width: 0;
}

.app-name {
    font-size: 17px;
    font-weight: 600;
    color: #000;
    margin-bottom: 2px;
    line-height: 1.2;
}

.app-description {
    font-size: 14px;
    color: #8e8e93;
    margin-bottom: 4px;
    line-height: 1.3;
    cursor: pointer;
}

.app-details {
    display: flex;
    gap: 6px;
}

.app-size,
.app-version {
    font-size: 11px;
    color: #8e8e93;
    background: #f2f2f7;
    padding: 1px 5px;
    border-radius: 3px;
}

.app-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.get-btn {
    background: #007aff;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    min-width: 50px;
    -webkit-tap-highlight-color: transparent;
}

.get-btn:active {
    background: #0056cc;
}

.in-app-purchase {
    font-size: 9px;
    color: #8e8e93;
    text-align: center;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
    margin: 20px 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-text {
    font-size: 17px;
    font-weight: 400;
    color: #000;
    margin-bottom: 4px;
}

.empty-subtext {
    font-size: 14px;
    color: #8e8e93;
}

.floating-btn {
    position: fixed;
    bottom: 100px;
    right: 16px;
    z-index: 1000;
}

.query-btn {
    background: #007aff;
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 22px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.query-btn:active {
    background: #0056cc;
    transform: scale(0.95);
}

.sign-form {
    padding: 20px;
    background: #fff;
    color: #000;
}

.sign-form-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.sign-form-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 16px;
    background: #f2f2f7;
}

.sign-form-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sign-form-title {
    font-size: 17px;
    font-weight: 600;
    color: #000;
    margin-bottom: 2px;
}

.sign-form-subtitle {
    font-size: 14px;
    color: #8e8e93;
}

.sign-form-group {
    margin-bottom: 16px;
}

.sign-form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #000;
    font-size: 15px;
}

.sign-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #c6c6c8;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    color: #000;
}

.sign-form-input:focus {
    border-color: #007aff;
    outline: none;
}

.sign-form-input::placeholder {
    color: #8e8e93;
}

.sign-form-button {
    width: 100%;
    background: #007aff;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.sign-form-button:active {
    background: #0056cc;
}

/* 查询表单样式 */
.query-form {
    padding: 20px;
    background: #fff;
    color: #000;
}

.query-form-header {
    text-align: center;
    margin-bottom: 20px;
}

.query-form-title {
    font-size: 17px;
    font-weight: 600;
    color: #000;
    margin-bottom: 2px;
}

.query-form-subtitle {
    font-size: 14px;
    color: #8e8e93;
}

.query-form-group {
    margin-bottom: 16px;
}

.query-form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #000;
    font-size: 15px;
}

.query-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #c6c6c8;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    color: #000;
}

.query-form-input:focus {
    border-color: #007aff;
    outline: none;
}

.query-form-input::placeholder {
    color: #8e8e93;
}

.query-form-button {
    width: 100%;
    background: #007aff;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.query-form-button:active {
    background: #0056cc;
}

.query-results {
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.query-result-item {
    padding: 12px 16px;
    border-radius: 8px;
    background: #f2f2f7;
    margin-bottom: 8px;
    font-size: 14px;
    color: #000;
}

.query-result-date {
    font-size: 12px;
    color: #8e8e93;
    margin-bottom: 4px;
}

.query-result-udid {
    font-weight: 500;
    margin: 6px 0;
    color: #000;
}

.query-result-link {
    word-break: break-all;
    color: #007aff;
    text-decoration: none;
}

.query-result-link:active {
    color: #0056cc;
}

.query-no-results {
    text-align: center;
    color: #8e8e93;
    padding: 40px 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .appstore-light {
        padding-top: 0;
    }
    
    .app-list {
        margin: 0 6px;
    }
    
    .app-item {
        padding: 10px 12px;
    }
    
    .app-icon {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }
    
    .app-name {
        font-size: 16px;
    }
    
    .app-description {
        font-size: 13px;
    }
    
    .get-btn {
        padding: 5px 12px;
        font-size: 13px;
        min-width: 45px;
    }
    
    .floating-btn {
        bottom: 90px;
        right: 12px;
    }
    
    .query-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .app-item {
        padding: 8px 10px;
    }
    
    .app-icon {
        width: 45px;
        height: 45px;
        margin-right: 10px;
    }
    
    .app-name {
        font-size: 15px;
    }
    
    .app-description {
        font-size: 12px;
    }
    
    .get-btn {
        padding: 4px 10px;
        font-size: 12px;
        min-width: 40px;
    }
}

.ios-device-list {
    background-color: #f2f2f7;
    min-height: 100vh;
    padding: 0 4px 80px;
/*     margin-top: 20px;*/
}

.dialog-content {
    /* padding: 12px; */
    /* max-height: calc(100vh - 200px); */
    /* overflow-y: auto; */
    /* overflow-x: hidden; */
}

/* 全局弹窗滚动条修复 - 彻底解决双重滚动条问题 */
.layui-layer,
.layui-layer-page,
.layui-layer-shade {
    overflow: hidden !important;
}

/* 确保弹窗容器绝对不显示滚动条 */
.layui-layer {
    overflow: hidden !important;
    max-height: 100vh !important;
}

.layui-layer-content {
    max-height: calc(100vh - 200px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* 强制移除所有可能的双重滚动条 */
.layui-layer * {
    box-sizing: border-box !important;
}

/* 电脑端弹窗优化 */
@media (min-width: 769px) {
    .layui-layer {
        border-radius: 12px !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
        overflow: hidden !important;
    }
    
    .layui-layer-content {
        padding: 20px !important;
        max-height: calc(100vh - 120px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    
    .layui-layer-title {
        padding: 20px 20px 15px 20px !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        border-bottom: 1px solid #f0f0f0 !important;
        text-align: center !important;
        position: relative !important;
        height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    

    
    @media (max-width: 768px) {
        .layui-layer {
            overflow: hidden !important;
        }
        
        .layui-layer-content {
            overflow-y: auto !important;
            overflow-x: hidden !important;
        }
        
        .layui-layer-content .form-row {
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            gap: 12px !important;
            margin-bottom: 16px !important;
        }
        
        .layui-layer-title {
            position: relative !important;
            text-align: center !important;
            height: 50px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }
        
        .layui-layer-setwin {
            position: absolute !important;
            right: 10px !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            z-index: 10 !important;
            height: 50px !important;
            display: flex !important;
            align-items: center !important;
            font-size: 0 !important;
            line-height: initial !important;
        }
        
        .layui-layer-setwin a {
            position: relative !important;
            width: 16px !important;
            height: 16px !important;
            margin-left: 10px !important;
            font-size: 12px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }
        

    }
    
    .layui-layer-content .price-table {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        margin-bottom: 24px !important;
    }
    
    .layui-layer-content .price-row {
        min-height: 100px !important;
        padding: 16px !important;
        border-radius: 8px !important;
    }
    
    .layui-layer-content .price-title {
        font-size: 16px !important;
        font-weight: 600 !important;
    }
    
    .layui-layer-content .price-duration {
        font-size: 12px !important;
    }
    
    .layui-layer-content .price-item {
        font-size: 14px !important;
    }
    
    .layui-layer-content .form-group {
        margin-bottom: 20px !important;
    }
    
    .layui-layer-content .form-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
        margin-bottom: 20px !important;
    }
    
    .layui-layer-content .form-label {
        font-size: 14px !important;
        font-weight: 500 !important;
        margin-bottom: 8px !important;
    }
    
    .layui-layer-content .form-input,
    .layui-layer-content .form-select {
        height: 44px !important;
        font-size: 14px !important;
        padding: 12px 16px !important;
        border-radius: 8px !important;
    }
    
    .layui-layer-content .form-textarea {
        min-height: 80px !important;
        font-size: 14px !important;
        padding: 12px 16px !important;
        border-radius: 8px !important;
    }
    
    .layui-layer-content .device-btn {
        height: 48px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        margin: 8px !important;
    }
    
    .layui-layer-content .button-group {
        display: flex !important;
        gap: 12px !important;
        justify-content: center !important;
        margin-top: 24px !important;
    }
    
    .layui-layer-content .permission-dialog {
        padding: 0 !important;
    }
    
    .layui-layer-content .permission-tabs {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }
    
    .layui-layer-content .tab-nav {
        display: flex !important;
        gap: 0 !important;
        border-bottom: 1px solid #f0f0f0 !important;
        margin-bottom: 20px !important;
    }
    
    .layui-layer-content .tab-btn {
        flex: 1 !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        border: none !important;
        background: transparent !important;
        border-bottom: 2px solid transparent !important;
        transition: all 0.3s ease !important;
    }
    
    .layui-layer-content .tab-btn.active {
        border-bottom-color: #007aff !important;
        color: #007aff !important;
    }
    
    .layui-layer-content .tab-content {
        flex: 1 !important;
        overflow-y: auto !important;
    }
    
    .layui-layer-content .content-wrapper {
        padding: 0 !important;
        line-height: 1.6 !important;
        font-size: 14px !important;
    }
    
    .layui-layer-content .cert-info-section {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        margin-bottom: 24px !important;
        padding: 20px !important;
        background: #f8f9fa !important;
        border-radius: 8px !important;
    }
    
    .layui-layer-content .info-item {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 8px 0 !important;
    }
    
    .layui-layer-content .info-label {
        font-weight: 500 !important;
        color: #666 !important;
    }
    
    .layui-layer-content .info-value {
        font-weight: 600 !important;
        color: #333 !important;
    }
    
    .layui-layer-content .udid-selection-section {
        margin-top: 20px !important;
    }
    
    .layui-layer-content .udid-list {
        max-height: 300px !important;
        overflow-y: auto !important;
        border: 1px solid #e5e5ea !important;
        border-radius: 8px !important;
        padding: 12px !important;
    }
    
    .layui-layer-content .udid-item {
        padding: 8px 0 !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    .layui-layer-content .udid-item:last-child {
        border-bottom: none !important;
    }
    
    .layui-layer-content .upload-row {
        display: flex !important;
        gap: 12px !important;
        align-items: center !important;
    }
    
    .layui-layer-content .upload-btn {
        padding: 12px 20px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        border-radius: 8px !important;
        background: #007aff !important;
        color: white !important;
        border: none !important;
        cursor: pointer !important;
        transition: background-color 0.3s ease !important;
    }
    
    .layui-layer-content .upload-btn:hover {
        background: #0056cc !important;
    }
    
    .layui-layer-content .udid-checkbox,
    .layui-layer-content .select-all-checkbox {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 8px 0 !important;
        cursor: pointer !important;
    }
    
    .layui-layer-content .checkmark {
        width: 18px !important;
        height: 18px !important;
        border: 2px solid #007aff !important;
        border-radius: 4px !important;
        position: relative !important;
        transition: all 0.3s ease !important;
    }
    
    .layui-layer-content input[type="checkbox"]:checked + .checkmark {
        background: #007aff !important;
    }
    
    .layui-layer-content input[type="checkbox"]:checked + .checkmark:after {
        content: '✓' !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        color: white !important;
        font-size: 12px !important;
        font-weight: bold !important;
    }
    
    .layui-layer-content .status-normal {
        color: #34c759 !important;
        font-weight: 600 !important;
    }
    
    .layui-layer-content .status-error {
        color: #ff3b30 !important;
        font-weight: 600 !important;
    }
    
    .layui-layer-content::-webkit-scrollbar {
        width: 8px !important;
    }
    
    .layui-layer-content::-webkit-scrollbar-track {
        background: #f1f1f1 !important;
        border-radius: 4px !important;
    }
    
    .layui-layer-content::-webkit-scrollbar-thumb {
        background: #c1c1c1 !important;
        border-radius: 4px !important;
    }
    
    .layui-layer-content::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8 !important;
    }
    
    @media (min-width: 1200px) {
        .layui-layer-content .price-table {
            grid-template-columns: repeat(4, 1fr) !important;
            gap: 20px !important;
        }
        
        .layui-layer-content .price-row {
            min-height: 120px !important;
            padding: 20px !important;
        }
        
        .layui-layer-content .price-title {
            font-size: 18px !important;
        }
        
        .layui-layer-content .price-item {
            font-size: 16px !important;
        }
        
        .layui-layer-content .cert-info-section {
            grid-template-columns: repeat(3, 1fr) !important;
            gap: 20px !important;
        }
    }
    
    @media (min-width: 1600px) {
        .layui-layer {
            max-width: 90vw !important;
        }
        
        .layui-layer-content .price-table {
            gap: 24px !important;
        }
        
        .layui-layer-content .price-row {
            min-height: 140px !important;
            padding: 24px !important;
        }
    }
}

.dialog-content .price-table,
.layui-layer-content .price-table {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
}

.dialog-content .price-row,
.layui-layer-content .price-row {
    border-radius: 6px !important;
    padding: 8px !important;
    background: #ffffff !important;
    min-height: 80px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.dialog-content .price-tangping,
.layui-layer-content .price-tangping {
    border: 1px solid #34c759 !important;
    background: linear-gradient(135deg, #f0fff4 0%, #e6f4ea 100%) !important;
}

.dialog-content .price-standard,
.layui-layer-content .price-standard {
    border: 1px solid #007aff !important;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f4ff 100%) !important;
}

.dialog-content .price-plus,
.layui-layer-content .price-plus {
    border: 1px solid #5856d6 !important;
    background: linear-gradient(135deg, #f8f7ff 0%, #f0efff 100%) !important;
}

.dialog-content .price-stable,
.layui-layer-content .price-stable {
    border: 1px solid #ff9500 !important;
    background: linear-gradient(135deg, #fff7ed 0%, #fef3e2 100%) !important;
}

@media (max-width: 480px) {
    .dialog-content .price-table,
    .layui-layer-content .price-table {
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
    }
    
    .dialog-content .price-row,
    .layui-layer-content .price-row {
        min-height: 70px !important;
        padding: 6px !important;
    }
    
    .dialog-content .price-title,
    .layui-layer-content .price-title {
        font-size: 11px !important;
    }
    
    .dialog-content .price-duration,
    .layui-layer-content .price-duration {
        font-size: 9px !important;
    }
    
    .dialog-content .price-item,
    .layui-layer-content .price-item {
        font-size: 9px !important;
    }
}

.price-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.price-row {
    border: 1px solid #e5e5ea;
    border-radius: 6px;
    padding: 8px;
    background: #ffffff;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-tangping {
    border-color: #34c759;
    background: linear-gradient(135deg, #f0fff4 0%, #e6f4ea 100%);
}

.price-standard {
    border-color: #007aff;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f4ff 100%);
}

.price-plus {
    border-color: #5856d6;
    background: linear-gradient(135deg, #f8f7ff 0%, #f0efff 100%);
}

.price-stable {
    border-color: #ff9500;
    background: linear-gradient(135deg, #fff7ed 0%, #fef3e2 100%);
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.price-title {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
}

.price-duration {
    font-size: 10px;
    color: #8e8e93;
}

.price-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #1d1d1f;
}

.price-item span:first-child {
    color: #8e8e93;
}

.price-item span:last-child {
    font-weight: 600;
    color: #007aff;
}

.price-tangping .price-item span:last-child {
    color: #34c759;
}

.price-standard .price-item span:last-child {
    color: #007aff;
}

.price-plus .price-item span:last-child {
    color: #5856d6;
}

.price-stable .price-item span:last-child {
    color: #ff9500;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e5ea;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e5ea;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.form-select:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 20px;
}

.device-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    width: 100%;
}

.device-btn:active {
    transform: scale(0.98);
}

.device-btn.btn-add {
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
    color: white;
}

.device-btn.btn-add:hover {
    background: linear-gradient(135deg, #2fb350 0%, #2cc54e 100%);
}

.device-btn.btn-reserve {
    background: linear-gradient(135deg, #007aff 0%, #0a84ff 100%);
    color: white;
}

.device-btn.btn-reserve:hover {
    background: linear-gradient(135deg, #0056cc 0%, #0070e0 100%);
}

.device-btn.btn-success {
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
    color: white;
}

.device-btn.btn-success:hover {
    background: linear-gradient(135deg, #2fb350 0%, #2cc54e 100%);
}

.device-btn.btn-info {
    background: linear-gradient(135deg, #5856d6 0%, #5e5ce6 100%);
    color: white;
}

.device-btn.btn-info:hover {
    background: linear-gradient(135deg, #4a4ac4 0%, #5050d4 100%);
}

.p-2 {
    padding: 8px;
}

.flex {
    display: flex;
}

.justify-content {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.w-full {
    width: 100%;
}

.shrink-0 {
    flex-shrink: 0;
}

.flex-grow-1 {
    flex-grow: 1;
}

.form-control {
    padding: 8px 12px;
    border: 1px solid #e5e5ea;
    border-radius: 6px;
    font-size: 14px;
}

.upload-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 60px;
}

.upload-btn:hover {
    background: linear-gradient(135deg, #2fb350 0%, #2cc54e 100%);
}

.upload-btn:active {
    transform: scale(0.98);
}

.form-control:focus {
    outline: none;
    border-color: #007aff;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.focus-outline-none:focus {
    outline: none;
}

.focus-ring-0:focus {
    box-shadow: none;
}

.focus-border-gray-300:focus {
    border-color: #d1d5db;
}

.justify-center {
    justify-content: center;
}

.p-4 {
    padding: 16px;
}

.cert-info-section {
    background: #f8f8fa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    color: #8e8e93;
    font-weight: 500;
}

.info-value {
    color: #1d1d1f;
    font-weight: 600;
}

.status-normal {
    color: #34c759;
}

.status-error {
    color: #ff3b30;
}

.udid-selection-section {
    margin-bottom: 16px;
}

.selection-header {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5ea;
}

.select-all-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
}

.udid-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e5e5ea;
    border-radius: 8px;
    background: #ffffff;
}

.udid-item {
    padding: 8px 12px;
    border-bottom: 1px solid #f2f2f7;
    transition: background-color 0.2s ease;
}

.udid-item:last-child {
    border-bottom: none;
}

.udid-item:hover {
    background-color: #f8f8fa;
}

.udid-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    width: 100%;
}

.udid-text {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 12px;
    color: #1d1d1f;
    word-break: break-all;
}

/* 自定义复选框样式 */
.udid-checkbox input[type="checkbox"],
.select-all-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e5e5ea;
    border-radius: 4px;
    background: #ffffff;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.udid-checkbox input[type="checkbox"]:checked + .checkmark,
.select-all-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #007aff;
    border-color: #007aff;
}

.udid-checkbox input[type="checkbox"]:checked + .checkmark::after,
.select-all-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.udid-checkbox:hover .checkmark,
.select-all-checkbox:hover .checkmark {
    border-color: #007aff;
}

.select-all-text {
    font-weight: 600;
    color: #007aff;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #007aff;
}

.loading-spinner i {
    font-size: 24px;
    color: #007aff;
}

.loading-spinner span {
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
}

.permission-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
}

.permission-title i {
    color: #007aff;
    font-size: 18px;
}

.permission-dialog {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.permission-tabs {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tab-nav {
    display: flex;
    background: #f8f8fa;
    border-radius: 12px 12px 0 0;
    padding: 4px;
    gap: 4px;
    border-bottom: 1px solid #e5e5ea;
}

.tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #8e8e93;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 0;
}

.tab-btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-btn:hover {
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
}

.tab-btn.active {
    background: #007aff;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.tab-btn.active:hover {
    background: #0056cc;
}

.tab-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
    padding: 16px;
}

.tab-pane.active {
    opacity: 1;
    visibility: visible;
}

.content-wrapper {
    background: #ffffff;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #e5e5ea;
    font-size: 13px;
    line-height: 1.5;
    color: #1d1d1f;
}

.content-wrapper pre {
    background: #f8f8fa;
    border-radius: 6px;
    padding: 12px;
    overflow-x: auto;
    font-size: 12px;
    border: 1px solid #e5e5ea;
    margin: 8px 0;
}

.content-wrapper code {
    background: #f2f2f7;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #007aff;
}

.content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
}

.content-wrapper th,
.content-wrapper td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #e5e5ea;
    font-size: 12px;
    vertical-align: top;
}

.content-wrapper th {
    background: #f8f8fa;
    font-weight: 600;
    color: #1d1d1f;
    width: 120px;
    white-space: nowrap;
}

.content-wrapper td {
    color: #1d1d1f;
    word-break: break-all;
    line-height: 1.4;
}

.content-wrapper td:empty::after {
    content: "无";
    color: #8e8e93;
    font-style: italic;
}

.cert-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 16px 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cert-info-table th {
    background: #f8f8fa;
    font-weight: 600;
    color: #1d1d1f;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e5ea;
    width: 120px;
    white-space: nowrap;
    font-size: 13px;
}

.cert-info-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e5ea;
    color: #1d1d1f;
    font-size: 13px;
    line-height: 1.4;
    word-break: break-all;
}

.cert-info-table tr:last-child th,
.cert-info-table tr:last-child td {
    border-bottom: none;
}

.cert-info-table tr:hover {
    background-color: #f8f8fa;
}

.cert-note {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 6px;
    padding: 12px;
    margin-top: 12px;
    color: #92400e;
    font-size: 12px;
    line-height: 1.4;
}

.status-success {
    color: #34c759;
    font-weight: 600;
}

.status-error {
    color: #ff3b30;
    font-weight: 600;
}

@media (max-width: 480px) {
    .tab-nav {
        flex-wrap: wrap;
        gap: 2px;
    }
    
    .tab-btn {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 80px;
    }
    
    .content-wrapper {
        padding: 12px;
        font-size: 12px;
    }
    
    .content-wrapper pre {
        padding: 8px;
        font-size: 11px;
    }
    
    .content-wrapper th,
    .content-wrapper td {
        padding: 6px 8px;
        font-size: 11px;
    }
}

.device-summary-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 0.5px solid rgba(0, 0, 0, 0.04);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: #ffffff;
    border-radius: 12px;
    margin: 12px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 0.5px solid rgba(0, 0, 0, 0.04);
}

.empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f2f2f7 0%, #e5e5ea 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #8e8e93;
    font-size: 32px;
}

.empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.empty-desc {
    font-size: 14px;
    color: #8e8e93;
    line-height: 1.4;
    margin-bottom: 24px;
    max-width: 280px;
}

.empty-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #007aff 0%, #0a84ff 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.empty-action-btn:active {
    transform: scale(0.95);
    box-shadow: 0 1px 4px rgba(0, 122, 255, 0.4);
}

.empty-action-btn i {
    font-size: 12px;
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-number.warning {
    color: #ff3b30;
}

.stat-title {
    font-size: 13px;
    color: #8e8e93;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #e5e5ea;
}

.actions-row {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.ios-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-width: 90px;
}

.ios-button:active {
    background-color: #f2f2f7;
}

.ios-button.primary {
    background-color: #007aff;
    color: white;
}

.ios-button.primary:active {
    background-color: #0056cc;
}

.ios-button.secondary {
    background-color: #f2f2f7;
    color: #007aff;
    border: 1px solid #007aff;
}

.ios-button.secondary:active {
    background-color: #e5e5ea;
}

.ios-button i {
    font-size: 12px;
}

.search-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 0.5px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
}

.search-section.show {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    padding: 16px;
    margin-bottom: 12px;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 12px;
    color: #8e8e93;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    padding: 8px 12px;
    border: 1px solid #e5e5ea;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #007aff;
}

.search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #007aff 0%, #0a84ff 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-submit:active {
    transform: scale(0.95);
}

.device-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 0.5px solid rgba(0, 0, 0, 0.04);
    transition: background-color 0.2s ease;
}

.device-card:active {
    background-color: #f8f8fa;
}

.main-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.device-info {
    flex: 1;
}

.udid-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.normal {
    background-color: #34c759;
}

.status-dot.hidden {
    background-color: #ff3b30;
}

.udid-text {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

.cert-line {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cert-name {
    font-size: 12px;
    font-weight: 500;
    color: #1d1d1f;
}

.cert-id {
    font-size: 11px;
    color: #8e8e93;
}

.quick-actions {
    display: flex;
    gap: 4px;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background-color: #f2f2f7;
    color: #8e8e93;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 12px;
}

.icon-btn:active {
    background-color: #e5e5ea;
}

.icon-btn.delete {
    background-color: #fff5f5;
    color: #ff3b30;
}

.icon-btn.delete:active {
    background-color: #ff3b30;
    color: white;
}

.status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.status-badge, .type-badge, .pool-badge, .version-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid;
}

.status-badge.normal {
    background-color: #e6f4ea;
    color: #34c759;
    border-color: #34c759;
}

.status-badge.hidden {
    background-color: #fff5f5;
    color: #ff3b30;
    border-color: #ff3b30;
}

.type-badge.reserve {
    background-color: #fff7ed;
    color: #ff9500;
    border-color: #ff9500;
}

.type-badge.instant {
    background-color: #e6f4ea;
    color: #34c759;
    border-color: #34c759;
}

.type-badge.external {
    background-color: #fff7ed;
    color: #ff9500;
    border-color: #ff9500;
}

.pool-badge.private {
    background-color: #ebf8ff;
    color: #007aff;
    border-color: #007aff;
}

.pool-badge.public {
    background-color: #f3e8ff;
    color: #af52de;
    border-color: #af52de;
}

.version-badge {
    background-color: #f2f2f7;
    color: #8e8e93;
    border-color: #e5e5ea;
}

.time-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.time-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.time-item i {
    font-size: 10px;
    color: #8e8e93;
}

.time-label {
    font-size: 11px;
    color: #8e8e93;
}

.time-value {
    font-size: 11px;
    color: #1d1d1f;
    font-weight: 500;
}

.warranty-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.warranty-label {
    font-size: 11px;
    color: #8e8e93;
    font-weight: 500;
    min-width: 40px;
}

.warranty-days {
    font-size: 11px;
    font-weight: 600;
    min-width: 60px;
}

.warranty-days.active {
    color: #34c759;
}

.warranty-days.expired {
    color: #ff3b30;
}

.warranty-bar {
    flex: 1;
    height: 6px;
    background-color: #f2f2f7;
    border-radius: 3px;
    overflow: hidden;
}

.warranty-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease;
}

.warranty-fill.tangping {
    background: #34c759;
}

.warranty-fill.standard {
    background: #007aff;
}

.warranty-fill.plus {
    background: #5856d6;
}

.warranty-fill.stable {
    background: #ff9500;
}

.remark-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding: 6px 8px;
    background-color: #f8f8fa;
    border-radius: 6px;
}

.remark-row i {
    font-size: 10px;
    color: #8e8e93;
}

.remark-text {
    font-size: 11px;
    color: #1d1d1f;
    line-height: 1.3;
}

.action-row {
    display: flex;
    gap: 6px;
}

.device-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 16px;
    background-color: #f2f2f7;
    color: #007aff;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 11px;
    font-weight: 500;
    min-width: 60px;
}

.device-action-btn:active {
    background-color: #e5e5ea;
}

.device-action-btn.primary {
    background: linear-gradient(135deg, #007aff 0%, #0a84ff 100%);
    color: white;
}

.device-action-btn.primary:active {
    background: linear-gradient(135deg, #0056cc 0%, #0070e0 100%);
}

.device-action-btn i {
    font-size: 10px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.device-basic {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.header-actions {
    display: flex;
    gap: 4px;
}

.mini-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background-color: #f2f2f7;
    color: #8e8e93;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 10px;
}

.mini-btn:active {
    background-color: #e5e5ea;
}

.mini-btn.danger {
    background-color: #fff5f5;
    color: #ff3b30;
}

.mini-btn.danger:active {
    background-color: #ff3b30;
    color: white;
}

.cert-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.cert-name {
    font-size: 11px;
    font-weight: 600;
    color: #1d1d1f;
}

.cert-id {
    font-size: 10px;
    color: #8e8e93;
}

.tags-row {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.mini-tag {
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 600;
    border: 1px solid;
}

.mini-tag.pool {
    background-color: #ebf8ff;
    color: #007aff;
    border-color: #007aff;
}

.mini-tag.type {
    background-color: #e6f4ea;
    color: #34c759;
    border-color: #34c759;
}

.mini-tag.version {
    background-color: #f3e8ff;
    color: #af52de;
    border-color: #af52de;
}

.time-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.time-item {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    color: #8e8e93;
}

.time-item i {
    font-size: 8px;
}

.warranty-compact {
    margin-bottom: 6px;
}

.warranty-text {
    font-size: 10px;
    color: #8e8e93;
    margin-bottom: 3px;
    display: block;
}

.warranty-bar {
    height: 4px;
    background-color: #f2f2f7;
    border-radius: 2px;
    overflow: hidden;
}

.warranty-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.8s ease;
}

.warranty-fill.tangping {
    background: #34c759;
}

.warranty-fill.standard {
    background: #007aff;
}

.warranty-fill.plus {
    background: #5856d6;
}

.warranty-fill.stable {
    background: #ff9500;
}

.remark-compact {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
    font-size: 10px;
    color: #1d1d1f;
}

.remark-compact i {
    font-size: 8px;
    color: #8e8e93;
}

.actions-row {
    display: flex;
    justify-content: space-around;
    gap: 4px;
}

.action-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background-color: #f2f2f7;
    color: #007aff;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 11px;
}

.action-mini:active {
    background-color: #e5e5ea;
}

.action-mini.primary {
    background: linear-gradient(135deg, #007aff 0%, #0a84ff 100%);
    color: white;
}

.action-mini.primary:active {
    background: linear-gradient(135deg, #0056cc 0%, #0070e0 100%);
}

.load-more-section {
    text-align: center;
    padding: 20px 0;
}

.load-more-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.load-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #007aff 0%, #0a84ff 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #0056cc 0%, #0070e0 100%);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}

.load-more-btn:active {
    transform: scale(0.95);
    box-shadow: 0 1px 4px rgba(0, 122, 255, 0.5);
}

.load-more-btn i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.load-more-btn:active i {
    transform: translateY(2px);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(135deg, #8e8e93 0%, #a1a1a6 100%) !important;
    box-shadow: none !important;
}

.load-more-btn:disabled:hover {
    background: linear-gradient(135deg, #8e8e93 0%, #a1a1a6 100%) !important;
    box-shadow: none !important;
}

.no-more-data {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    color: #8e8e93;
    font-size: 14px;
    font-weight: 500;
    background: #f8f8fa;
    border-radius: 20px;
    border: 1px solid #e5e5ea;
}

.no-more-data i {
    color: #34c759;
    font-size: 16px;
}

.no-more-data span {
    color: #8e8e93;
}

@media (max-width: 480px) {
    .ios-device-list {
        padding: 0 2px 80px;
        margin-top: 0px;
    }
    
    .device-summary-section {
        padding: 12px;
        margin-bottom: 8px;
    }
    
    .stats-row {
        gap: 16px;
        margin-bottom: 12px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-title {
        font-size: 12px;
    }
    
    .actions-row {
        gap: 6px;
    }
    
    .ios-button {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 80px;
    }
    
    .empty-state {
        padding: 40px 16px;
        margin: 8px 0;
    }
    
    .empty-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .empty-title {
        font-size: 16px;
    }
    
    .empty-desc {
        font-size: 13px;
        max-width: 240px;
        margin-bottom: 20px;
    }
    
    .empty-action-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .price-table {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    
    .price-row {
        min-height: 70px;
        padding: 6px;
    }
    
    .price-title {
        font-size: 11px;
    }
    
    .price-duration {
        font-size: 9px;
    }
    
    .price-item {
        font-size: 9px;
    }
}