body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #141E30, #243B55);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
}

h1 {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 20px;
}

.box-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

.box {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    width: 45%;
    box-sizing: border-box;
}

h2 {
    font-size: 22px;
    color: #0072ff;
    border-bottom: 2px solid #0072ff;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555555;
}

input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ced4da;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus {
    border-color: #0072ff;
    box-shadow: 0 0 8px rgba(0, 114, 255, 0.3);
    outline: none;
}

.button-box {
    width: 100%;
    text-align: center;
    margin: 10px 0;
}

button {
    padding: 15px 30px;
    background: linear-gradient(to right, #0072ff, #00c6ff);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease, transform 0.3s ease;
}

button:hover {
    background: linear-gradient(to right, #0056b3, #00a2d6);
    transform: scale(1.05);
}

#result {
    margin-top: 20px;
    font-size: 18px;
    text-align: center;
    color: wheat;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 10px;
    }

    .box-container {
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 90%;
        margin: 10px 0;
    }

    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 20px;
    }

    button {
        font-size: 16px;
    }
}
