body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7f7f7;
    overflow: hidden;
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.card {
    width: 100%;
    max-width: 600px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    max-height: 90vh;
    overflow-y: auto;
}

h1 {
    font-size: 1.8rem;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.input-group label {
    font-size: 1.1rem;
    color: #555;
    font-weight: bold;
    display: flex;
    align-items: center;
    width: 45%;
}

.input-group input {
    width: 50%;
    padding: 12px;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    border-color: #ff7b00;
    outline: none;
}


button {
    background-color: #ff7b00;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #ff5200;
    transform: scale(1.05);
}

button:focus {
    outline: none;
}

/* Result Styles */
.result {
    display: none;
    margin-top: 30px;
}

.result h2 {
    font-size: 1.5rem;
    color: #333;
}

.result p {
    font-size: 1.1rem;
    color: #555;
    margin-top: 10px;
}

.progress-bar {
    margin-top: 20px;
    width: 100%;
    height: 10px;
    background-color: #ddd;
    border-radius: 5px;
}

.progress {
    height: 100%;
    background-color: #ff7b00;
    border-radius: 5px;
    width: 0;
    transition: width 0.5s ease;
}

/* Responsive Design */
@media (max-width: 600px) {
    .card {
        padding: 20px;
    }

    h1 {
        font-size: 1.5rem;
    }

    button {
        font-size: 1rem;
    }

    .input-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .input-group label {
        width: 100%;
        margin-bottom: 5px;
    }

    .input-group input {
        width: 100%;
    }
}