@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: "Roboto Condensed", sans-serif;
    transition: background 0.3s, color 0.3s;
}

body.dark-mode {
    background: linear-gradient(135deg, #028391, #01204E);
    color: #ecf0f1;
}

body.light-mode {
    background: linear-gradient(135deg, #03AED2, #94FFD8);
    color: #2c3e50;
}

.calculator {
    text-align: center;
    border: 2px solid currentColor;
    width: 350px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background: #ffffffdd;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.calculator h2, .calculator h3 {
    margin-bottom: 15px;
}

.input-group {
    margin-bottom: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

input {
    margin: 5px 0;
    padding: 10px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    width: 80%;
    text-align: center;
    transition: background 0.3s, color 0.3s;
}

button {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    margin-bottom: 20px;
}

button:hover {
    background-color: #2980b9;
}

p {
    font-size: 18px;
    margin: 10px 0;
}

body.dark-mode .calculator {
    background: #34495e;
    color: #ecf0f1;
}

body.light-mode .calculator {
    background: #ffffffdd;
    color: #2c3e50;
}

body.dark-mode input {
    background: #34495e;
    color: #ecf0f1;
    border: 3px solid #2980b9;
}

body.light-mode input {
    background: #ffffff;
    color: #2c3e50;
    border: 3px solid #2980b9;
}
