

.pan-check-container {
    margin-top: 15px;
}

.hero-check-container {
    margin-top: 0;
}

.pan-check-btn {
    width: 100%;
    height: 45px;
    line-height: 45px;
    text-align: center;
    vertical-align: middle;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
    
    background: #007cba;
    color: #fff;
}

.pan-check-btn:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,124,186,0.3);
}

.pan-check-btn:disabled {
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pan-check-btn.checking {
    background: #ffc107;
    color: #212529;
}

.pan-check-btn.result-link {
    cursor: pointer;
    transition: all 0.3s ease;
}

.pan-check-btn.result-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.pan-check-btn.valid-result {
    background: #28a745;
    color: white;
}

.pan-check-btn.valid-result:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.pan-check-btn.invalid-result {
    background: #dc3545;
    color: white;
    cursor: pointer;
    position: relative;
}

.pan-check-btn.invalid-result:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.pan-check-btn.invalid-result::after {
    
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.pan-check-btn.invalid-result:hover::after {
    opacity: 1;
}



@media (max-width: 768px) {
    .pan-check-container {
        margin-top: 10px;
    }
    
    .pan-check-btn {
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
}


.ripro-v2-widget-shop-down .pan-check-container {
    margin-top: 15px;
}

.async-shop-down + .pan-check-container {
    margin-top: 15px;
}


.async-shop-down + .pan-check-container .pan-check-btn,
.ripro-v2-widget-shop-down .pan-check-container .pan-check-btn {
    width: 100%;
    height: 45px;
    line-height: 45px;
    text-align: center;
    vertical-align: middle;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
    
    background: #007cba;
    color: #fff;
}


.async-shop-down + .pan-check-container .pan-check-btn.checking,
.ripro-v2-widget-shop-down .pan-check-container .pan-check-btn.checking {
    background: #ffc107;
    color: #212529;
}

.async-shop-down + .pan-check-container .pan-check-btn.valid-result,
.ripro-v2-widget-shop-down .pan-check-container .pan-check-btn.valid-result {
    background: #28a745;
    color: white;
}

.async-shop-down + .pan-check-container .pan-check-btn.invalid-result,
.ripro-v2-widget-shop-down .pan-check-container .pan-check-btn.invalid-result {
    background: #dc3545;
    color: white;
}


.pan-check-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 124, 186, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 124, 186, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 124, 186, 0);
    }
}

.pan-check-btn.checking {
    animation: none;
}


.fa-spinner.fa-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.disk-status-bar {
    background-color: #ffffff;
    border: 1px dashed #dcdfe6;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.disk-status-bar.status-valid {
    background-color: #f0f9eb;
    border-color: #c2e7b0;
    color: #67c23a;
}

.disk-status-bar.status-invalid {
    background-color: #fef0f0;
    border-color: #fbc4c4;
    color: #f56c6c;
}

.disk-status-bar.status-loading {
    background-color: #f4f4f5;
    border-color: #e9e9eb;
    color: #909399;
}

.status-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.status-action {
    color: #409eff;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
}

.status-action:hover {
    opacity: 0.7;
}

.status-action.action-danger {
    color: #f56c6c;
    text-decoration: underline;
}

.spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

.contact-update-link {
    color: #f56c6c;
    text-decoration: underline;
    margin-left: 8px;
    white-space: nowrap;
}

.contact-update-link:hover {
    opacity: 0.7;
}

.disk-status-bar .status-right {
    display: flex;
    align-items: center;
}
