/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* background: linear-gradient(135deg, #6dd5ed, #2193b0); */
    background: linear-gradient(135deg, #4da1c8, #89888a);
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Container */
.container {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
}

/* Calculator Card */
.calculator {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.calculator:hover {
    transform: translateY(-5px);
}

/* Title */
h2 {
    margin-bottom: 20px;
    font-size: 26px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Input Group */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #444;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus {
    border-color: #2193b0;
    box-shadow: 0 0 6px rgba(33, 147, 176, 0.3);
    outline: none;
}
.input-group select {
    margin-top: 8px;
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group select:focus {
    border-color: #ff5e62;
    box-shadow: 0 0 6px rgba(255, 94, 98, 0.3);
    outline: none;
}


/* Button */
button {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #2193b0, #6dd5ed);
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.4s ease, transform 0.2s ease;
}

button:hover {
    background: linear-gradient(135deg, #6dd5ed, #2193b0);
    transform: scale(1.02);
}

/* Result Box */
#result {
    margin-top: 25px;
    padding: 18px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #eee;
    font-size: 16px;
    text-align: left;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

#result p {
    margin: 10px 0;
    color: #333;
}

#result strong {
    color: #32aecd;
}
