body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #e9ecef;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    color: #212529;
}

.container {
    max-width: 550px;
    width: 100%;
    margin: 20px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 0.8rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

h2 {
    color: #00796b;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 500;
    font-size: 1.75rem;
}

h2 .fas {
    margin-left: 8px;
    font-size: 1.5rem;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #343a40;
    font-size: 0.9rem;
}

.form-label .fas {
    margin-left: 5px;
    color: #00796b;
}

.form-control,
.form-select {
    border-radius: 0.8rem;
    font-size: 1rem;
    padding: 9px 15px;
    border: 1px solid #ced4da;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    border-color: #00796b;
    box-shadow: 0 0 0 0.2rem rgba(0, 121, 107, 0.25);
}

.form-control::placeholder {
    color: #999;
    font-style: italic;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    border-radius: 0.8rem;
    font-size: 1.1rem;
    font-weight: 500;
    background-color: #00796b;
    border-color: #00796b;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 121, 107, 0.2);
}

.btn-primary:hover {
    background-color: #00796b;
    border-color: #00796b;
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary:focus:active {
    outline: none;
    box-shadow: none;
    background-color: #00796b;
    border-color: #00796b;
}

.btn-primary .fas {
    margin-left: 8px;
}

.result {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 0.8rem;
    border: 1px solid #e9ecef;
    display: none;
}

.result h3 {
    font-size: 1.25rem;
    color: #00796b;
    margin-bottom: 15px;
    font-weight: 500;
    text-align: center;
}

.result p {
    font-size: 1.1rem;
    font-weight: 400;
    color: #343a40;
    margin-bottom: 8px;
    text-align: center;
}

.result p:last-child {
    margin-bottom: 0;
}

.loading {
    display: none;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 25px;
    color: #00796b;
}

.loading .fa-spinner {
    margin-right: 8px;
    font-size: 1.3rem;
}

@media (max-width: 480px) {
    body {
        padding: 0;
        background-color: #fff;
        align-items: stretch;
        margin: 0;
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        margin: 0;
        padding: 20px 0;
        border-radius: 0;
        box-shadow: none;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    h2 {
        font-size: 1.5rem;
        margin-top: 0;
        padding-top: 15px;
        margin-bottom: 20px;
    }

    h2 .fas {
        font-size: 1.3rem;
    }

    .form-label {
        font-size: 0.9rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    .form-control,
    .form-select,
    .btn-primary {
        margin-left: 15px;
        margin-right: 15px;
        width: calc(100% - 30px);
        border-radius: 0.8rem;
    }

    .form-control,
    .form-select {
        font-size: 1rem;
        padding: 12px 15px;
    }

    .btn-primary {
        font-size: 1.1rem;
        padding: 14px;
        margin-top: 15px;
    }

    .result {
        background-color: #f8f9fa;
        padding: 15px;
        margin-top: 20px;
        margin-left: 15px;
        margin-right: 15px;
        width: calc(100% - 30px);
        border-radius: 0.8rem;
    }

    .result h3 {
        font-size: 1.1rem;
    }

    .result p {
        font-size: 1rem;
    }

    .loading {
        padding-left: 15px;
        padding-right: 15px;
    }
}
