 /* APP图片提取页面共用样式 */

/* 页面头部样式 */
.page-header {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.8) 0%, rgba(219, 234, 254, 0.6) 100%);
    border-radius: 20px;
    padding: 50px 40px;
    margin-bottom: 50px;
    text-align: center;
    border: 1px solid rgba(219, 234, 254, 0.3);
}


.page-header p {
    color: #475569;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

/* 提取面板样式 */
.extract-panel {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(219, 234, 254, 0.3);
}

/* 输入组样式 */
.input-group {
    margin-bottom: 40px;
}

.input-group label {
    display: block;
    margin-bottom: 16px;
    color: #374151;
    font-weight: 500;
    font-size: 1.1rem;
}

.input-group input {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 提交按钮样式 */
.submit-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 20px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Loading动画样式 */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 结果面板样式 */
.result-panel {
    margin-top: 40px;
    display: none;
}

.result-panel.show {
    display: block;
}

.result-header {
    background: #f0f9ff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #bae6fd;
}

.result-header h3 {
    color: #0369a1;
    margin: 0 0 15px 0;
    font-size: 1.3rem;
}

.result-header p {
    color: #0c4a6e;
    margin: 0;
    font-size: 0.95rem;
}

/* 图片网格样式 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.image-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.image-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.image-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.image-url {
    font-size: 0.85rem;
    color: #6b7280;
    word-break: break-all;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* 下载按钮样式 */
.download-btn {
    background: #10b981;
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

/* 提示说明样式 */
.tips {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 25px;
    margin-top: 40px;
}

.tips h4 {
    color: #92400e;
    margin: 0 0 16px 0;
    font-size: 1.1rem;
}

.tips ul {
    color: #92400e;
    margin: 0;
    padding-left: 20px;
}

.tips li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 30px;
        margin-bottom: 40px;
    }
    
    .extract-panel {
        padding: 40px 30px;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}