body {
    background-color: #355a4b;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
}

.calculator-container {
    background: #5d7b6e;
    padding: 20px;
    border-radius: 20px;
    border: 4px solid #a6b3ae;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    width: 300px;
    box-sizing: border-box;
}

.button-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.input-button,
.input-sign-button {
    height: 60px;
    width: 60px;
    border-radius: 30px;
    border: none;
    font-size: 25px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
}

.input-button {
    background-color: #a6b3ae;
}

.input-sign-button {
    background-color: #d6dcd7;
    color: #355a4b;
}

.input-clear-button {
    height: 50px;
    width: 100%;
    border-radius: 25px;
    border: none;
    font-size: 18px;
    background-color: #c1ceca;
    transition: transform 0.2s, background 0.2s;
}

.input-button:hover,
.input-sign-button:hover,
.input-clear-button:hover {
    transform: scale(1.05);
    background-color: #d6dcd7;
    color: #355a4b;
}

.output-display {
    background: #c1ceca;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 40px;
    color: #355a4b;
    text-align: right;
    word-wrap: break-word;
    min-height: 60px;
    box-sizing: border-box;
}

/* Mobile adjustments */
@media (max-width: 400px) {
    .calculator-container {
        transform: scale(0.9);
        /* Scales down the entire calculator */
        transform-origin: center;
    }
}

@media (max-width: 350px) {
    .calculator-container {
        transform: scale(0.8);
    }
}