body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
}

input[type="number"] {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

button {
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #218838;
}

button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.result {
    margin-top: 20px;
    padding: 15px;
    font-size: 18px;
    text-align: center;
    color: #333;
    border-radius: 4px;
}

.scanning {
    color: #ff9800;
    font-weight: bold;
}

.blacklisted {
    background-color: #ffebee;
    color: #d32f2f;
    font-weight: bold;
}

.clean {
    background-color: #e8f5e9;
    color: #2e7d32;
    font-weight: bold;
}

/* Progress Bar Styles */
.progress-container {
    margin-top: 20px;
    display: none;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    height: 20px;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 0 2px #fff;
}

/* Add these styles to make images responsive */
.responsive-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.img-container {
    margin-top: 20px;
    text-align: center;
}

/* Adjust container for better mobile experience */
.container {
    width: 90%; /* Changed from 100% to 90% for better spacing on small screens */
    max-width: 600px;
    margin: 30px auto; /* Reduced top/bottom margin for smaller screens */
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Add media queries for responsive design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
        margin: 20px auto;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    input[type="number"] {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        border-radius: 0;
        margin: 10px auto;
        box-shadow: none;
    }
    
    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 18px;
    }
}