/* 网盘检测按钮容器 */
.zvcp-pan-check-buttons {
    margin: 10px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

/* 检测按钮组样式 */
.check-button-group {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
    width: 100%;
}

.pan-links-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

/* 按钮包装器样式 */
.check-button-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

/* 按钮容器样式 */
.pan-check-btn-container {
    flex-shrink: 0;
}

/* 检测按钮样式 */
.zvcp-pan-check-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    background: #4CAF50;
    color: white;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
    flex-shrink: 0;
}

.zvcp-pan-check-btn:hover:not(.disabled) {
    background: #45a049;
}

.zvcp-pan-check-btn.disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.zvcp-pan-check-btn i {
    margin-right: 5px;
}

/* 检测信息区域样式 */
.check-info-wrapper {
    flex: 2;
    padding: 8px 12px;
    background: #fff;
    border-radius: 4px;
    margin: 0 10px;
}

.check-info-wrapper.success {
    background: #e8f5e9;
    border-color: #c8e6c9;
}

.check-info-wrapper.error {
    background: #ffebee;
    border-color: #ffcdd2;
}

.check-info-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.check-time-info,
.check-status-info,
.next-check-time {
    font-size: 13px;
    margin: 0;
    white-space: nowrap;
}

.check-time-info {
    color: #666;
}

.check-status-info {
    font-weight: 500;
}

.check-status-info.success {
    color: #2e7d32;
}

.check-status-info.error {
    color: #c62828;
}

.next-check-time {
    color: #666;
    font-style: italic;
}

/* 检测结果提示样式 */
.check-result-tip {
    display: none;
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
    order: 3; /* 结果提示放在最下面 */
}

.check-result-tip.checking {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.check-result-tip.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.check-result-tip.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 网盘目录样式 */
.ripro-pan-directory {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.directory-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.directory-title {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-right: 10px;
}

.pan-type {
    display: inline-block;
    padding: 4px 8px;
    margin: 0 5px;
    background: #e9ecef;
    border-radius: 4px;
    font-size: 13px;
    color: #495057;
}

/* 检测按钮区域 */
.ripro-check-buttons-area {
    margin-top: 15px;
}

.check-button-group {
    margin-bottom: 15px;
}

.pan-links-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #495057;
}

.pan-link-item {
    flex: 1;
    margin: 0;
    padding: 0;
    background: transparent;
}

.pan-link-item a {
    color: #007bff;
    text-decoration: none;
    pointer-events: auto;
    cursor: pointer;
}

.pan-link-item a:hover {
    text-decoration: underline;
}

.pan-check-btn-container {
    flex-shrink: 0;
}

/* 检测按钮样式 */
.ripro-pan-check-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    background: #4CAF50;
    color: white;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
}

.ripro-pan-check-btn:hover:not(.disabled) {
    background: #45a049;
}

.ripro-pan-check-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

/* 检测信息样式 */
.check-time-info {
    color: #6c757d;
    margin-bottom: 5px;
}

.check-status-info {
    font-weight: 500;
    margin-bottom: 5px;
}

.check-status-info.success {
    color: #28a745;
}

.check-status-info.error {
    color: #dc3545;
}

.next-check-time {
    color: #6c757d;
    font-size: 13px;
}

/* 登录提示 */
.check-login-notice {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
    color: #6c757d;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .check-button-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .ripro-pan-check-btn {
        width: 100%;
    }

    .check-info-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* 图标样式 */
.ripro-pan-check-btn i {
    margin-right: 5px;
}

/* 动画效果 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ripro-pan-check-btn i.fa-spinner {
    animation: spin 1s linear infinite;
}

/* 暗黑模式样式 */
[data-theme="dark"] .check-login-notice,
.dark-theme .check-login-notice {
    background: #242424;
    border-color: #2d2d2d;
    color: #888;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 检测结果样式 */
.zvcp-pan-check-result {
    display: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    margin-top: 8px;
}

.zvcp-pan-check-result.success {
    background: #e8f5e9;
    border-color: #c8e6c9;
}

.zvcp-pan-check-result.error {
    background: #ffebee;
    border-color: #ffcdd2;
}

[data-theme="dark"] .zvcp-pan-check-result,
.dark-theme .zvcp-pan-check-result {
    background: #242424;
    border-color: #2d2d2d;
}

[data-theme="dark"] .zvcp-pan-check-result.success,
.dark-theme .zvcp-pan-check-result.success {
    background: #1b3a1e;
    border-color: #2d4a2f;
}

[data-theme="dark"] .zvcp-pan-check-result.error,
.dark-theme .zvcp-pan-check-result.error {
    background: #3a1b1b;
    border-color: #4a2d2d;
}

.zvcp-pan-check-result.success,
.zvcp-pan-check-result.error {
    animation: fadeIn 0.3s ease-out;
}

/* 添加链接列表样式 */
.pan-links-area {
    margin: 15px 0;
}

.pan-links-group {
    margin-bottom: 15px;
}

.pan-links-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #495057;
}

.pan-link-item a {
    color: #007bff;
    text-decoration: none;
}

.pan-link-item a:hover {
    text-decoration: underline;
} 