/* VIP内容提示框样式 */
.erphpdown-content-vip.er-vipcishu {
    background: #fff;
    border: 1px solid rgba(255, 95, 95, 0.2);
    padding: 20px;
    margin: 15px 0;
    color: #666;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(255, 95, 95, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.erphpdown-content-vip.er-vipcishu:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #ff5f5f;
}

.erphpdown-content-vip.er-vipcishu .vip-tip-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding-left: 15px;
}

.erphpdown-content-vip.er-vipcishu a.erphpdown-vip {
border-radius: 6px;
}

.erphpdown-content-vip.er-vipcishu a.erphpdown-vip:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 95, 95, 0.3);
    
}

.erphpdown-content-vip.er-vipcishu a.erphpdown-vip:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(255, 95, 95, 0.2);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .erphpdown-content-vip.er-vipcishu {
        padding: 15px;
        text-align: center;
        justify-content: center;
    }
    
    .erphpdown-content-vip.er-vipcishu .vip-tip-text {
        flex: 0 0 100%;
        padding-left: 0;
        margin-bottom: 10px;
    }
    
    .erphpdown-content-vip.er-vipcishu a.erphpdown-vip {
        width: 100%;
        justify-content: center;
    }
}

/* 查看内容按钮样式 */
.erphp-vipcishu-view-btn {
    background: #ff5f5f;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.erphp-vipcishu-view-btn:hover {
    background: #ff4545;
}

.erphp-vipcishu-view-btn:disabled {
    background: #ffb5b5;
    cursor: not-allowed;
}

/* 公告样式 */
.erphp-announcement {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.announcement-icon {
    flex-shrink: 0;
    color: #ff5f5f;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.announcement-content {
    flex-grow: 1;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.announcement-content p:last-child {
    margin-bottom: 0;
}

.announcement-content a {
    color: #ff5f5f;
    text-decoration: none;
}

.announcement-content a:hover {
    text-decoration: underline;
}

/* 内容容器样式 */
.erphp-view-count {
    color: #666;
    font-size: 14px;
}

.erphp-view-count .count-number {
    color: #ff9800;
    font-weight: bold;
}

.erphp-view-limit {
    color: #dc3545;
    font-size: 14px;
}

.erphp-view-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 隐藏的内容样式 */
.erphpdown-content-hidden {
    display: none;
}

/* 确保内容显示 */
.erphpdown {
    display: block !important;
}

/* 网盘目录样式 */
.erphp-pan-directory {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.erphp-pan-directory h3 {
    margin: 0 0 10px;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
}

.erphp-pan-directory ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.erphp-pan-directory li {
    margin: 8px 0;
    padding: 8px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.erphp-pan-directory li:hover {
    background: #f1f3f5;
}

/* 检测按钮样式 */
.erphp-pan-check-buttons {
    margin: 10px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.erphp-pan-check-btn {
    padding: 6px 15px;
    border: none;
    border-radius: 4px;
    background: #4CAF50;
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.erphp-pan-check-btn:hover {
    background: #45a049;
}

.erphp-pan-check-btn.checking {
    background: #ffc107;
    pointer-events: none;
}

.erphp-pan-check-result {
    flex-basis: 100%;
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.erphp-pan-check-result.success {
    background: #e8f5e9;
    color: #2e7d32;
    display: block;
}

.erphp-pan-check-result.error {
    background: #ffebee;
    color: #c62828;
    display: block;
}

/* 调试信息样式 */
.erphp-debug {
    background: #f7f7f7;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    font-size: 12px;
    line-height: 1.5;
}

/* 查看内容框样式 */
.erphp-view-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.erphp-view-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.erphp-view-count {
    color: #666;
    font-size: 14px;
}

.count-number {
    color: #ff9800;
    font-weight: bold;
    font-size: 16px;
    margin: 0 3px;
}

/* 加载动画 */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading .erphp-vipcishu-view-btn:before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}