.iip-card {
    margin: 20px 0;
}

.iip-open-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.iip-open-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.iip-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.iip-modal {
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.iip-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    z-index: 10;
}

.iip-close:hover {
    color: #333;
}

.iip-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.iip-body {
    padding: 20px;
}

.iip-img {
    text-align: center;
    margin-bottom: 20px;
}

.iip-img img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.iip-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.iip-info-item {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.iip-info-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.iip-info-val {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.iip-captcha-box {
    background: #f0f4ff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #d4deff;
}

.iip-captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.iip-captcha-input {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 4px;
    font-weight: 600;
    transition: border-color 0.3s;
}

.iip-captcha-input:focus {
    outline: none;
    border-color: #667eea;
}

.iip-captcha-img {
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid #ddd;
    transition: border-color 0.3s;
}

.iip-captcha-img:hover {
    border-color: #667eea;
}

.iip-captcha-refresh {
    text-align: center;
    color: #667eea;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.3s;
}

.iip-captcha-refresh:hover {
    color: #764ba2;
    text-decoration: underline;
}

.iip-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.iip-download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    width: 100%;
    margin-bottom: 10px;
}

.iip-download-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.iip-download-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.iip-tip {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .iip-modal {
        width: 95%;
    }

    .iip-info-grid {
        grid-template-columns: 1fr;
    }

    .iip-captcha-row {
        flex-direction: column;
    }

    .iip-captcha-img {
        width: 100%;
        height: 50px;
    }
}
