/**
 * PlugeGuard Stylesheet
 * Contains styles for the confirmation modal, preloader, scan button,
 * and line highlighting for the PlugeGuard plugin.
 *
 * @package PlugeGuard
 */

 #plugeguard-confirm-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

#plugeguard-confirm-modal .modal-content {
    background: #fff;
    padding: 30px;
    max-width: 400px;
    margin: 100px auto;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#plugeguard-confirm-modal .button {
    margin: 10px;
}

#plugeguard-modal-confirm {
    background-color: #0073e6;
    color: #fff;
    border: none;
    padding-bottom: 3px;
}

#plugeguard-modal-confirm:hover {
    background-color: #005bb5;
}

#plugeguard-modal-cancel {
    background-color: #ff6f00;
    color: #fff;
    border: none;
    padding-bottom: 3px;
}

#plugeguard-modal-cancel:hover {
    background-color: #e65c00;
}

.plugeguard-remove-button {
    padding: 0 20px 3px 20px !important;
    background: #ff6f00 !important;
    color: #fff !important;
    border: none !important;
}

.button.cancel-btn.button-secondary {
    margin-left: 10px;
}

.scan-button {
    margin-top: 20px !important;
    background-color: #0073e6;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    text-align: center;
    border: none;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    width: 300px;
}

.scan-button:hover {
    background-color: #005bb5;
}

.plugeguard-preloader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    text-align: center;
    width: 100px;
    height: 100px;
}

.plugeguard-preloader .progress-container {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 10px solid #f3f3f3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plugeguard-preloader .progress-bar {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 10px solid transparent;
    border-top: 10px solid #0073e6;
    animation: spin 1.5s linear infinite;
}

.plugeguard-preloader .percentage {
    font-size: 20px;
    font-weight: bold;
    color: #0073e6;
    position: absolute;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.highlight-line {
    background-color: yellow !important;
}

.button.scan-button {
    border: 1px solid #ff6f00 !important;
    background-color: #fff !important;
    border-radius: 50px;
    padding: 3px;
    font-size: 14px;
    width: 170px;
}

.wrap p {
    font-size: 14px;
}
