body {
    font-family: Arial, sans-serif;
    background-image: url('keep_loyal_clients.png'); 
    background-size: cover;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    width: 80%;
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    opacity: 90%;
    position: relative; 
}

h1 {
    text-align: center;
    font-size: 2rem; 
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 10px;
    font-weight: bold;
}

select, input {
    margin-top: 5px;
    padding: 8px;
    font-size: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.button-container {
    display: flex;
    justify-content: center; 
    width: 100%; 
}

button {
    margin-top: 20px;
    padding: 12px 24px; 
    font-size: 1rem;    
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s; 
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05); 
}

.fa-arrows-rotate {
    font-size: 30px;
    color: lightseagreen;
    cursor: pointer; 
}

.refresh-icon {
    position: absolute; 
    top: 25px;
    right: 30px;
    text-decoration: none; 
}

.progress {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 5px;
    margin-top: 20px;
    height: 20px;
}

.progress-bar {
    width: 0;
    height: 100%;
    background-color: #4caf50;
    text-align: center;
    line-height: 20px;
    color: white;
    border-radius: 5px;
    transition: width 0.4s ease;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 15px;
    }

    h1 {
        font-size: 1.8rem; 
    }

    select, input {
        font-size: 0.9rem; 
    }

    button {
        font-size: 0.9rem;
        padding: 10px 20px; 
    }

    .fa-arrows-rotate {
        font-size: 25px; /
    }
}

/* For responsive effect */
@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 10px;
    }

    h1 {
        font-size: 1.5rem; 
    }

    label {
        font-size: 0.9rem;
    }

    select, input {
        font-size: 0.8rem; 
        padding: 6px; /* Smaller padding for inputs */
    }

    button {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .fa-arrows-rotate {
        font-size: 20px; 
    }
}
