*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #0a0a0a, #3a4452);
}

.calculator{
    border: 1px solid #717377;
    padding: 20px;
    border-radius: 16px;
    background: transparent;
    box-shadow: 0px 3px 15px rgba(113, 115, 119, 0.5);
}

/* Changed from input to normal display box */
#inputBox{
    width: 320px;
    border: none;
    padding: 24px;
    margin: 10px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 40px;
    text-align: right;
    color: white;
    border-radius: 8px;
    box-shadow: inset 0px 3px 15px rgba(0, 0, 0, 0.3);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    word-wrap: break-word;
    overflow-wrap: break-word;
    cursor: default;
    outline: none;
}

input::placeholder{
    color: white;
}

.button-row{
    display: flex;
    justify-content: space-between;
}

button{
    border: none;
    width: 60px;
    height: 60px;
    margin: 10px;
    border-radius: 50%;
    background: transparent;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: -8px -8px 15px rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

button:active{
    transform: scale(0.95);
    box-shadow: -4px -4px 10px rgba(255, 255, 255, 0.1);
}

.equalBTN{
    background-color: #fb7c14;
    color: white;
}

.equalBTN:active{
    background-color: #e56a00;
}

.operator{
    color: #6dee0a;
}

button:hover{
    background: rgba(255, 255, 255, 0.1);
}

.equalBTN:hover{
    background: #e56a00;
}

/* Responsive design */
@media (max-width: 400px) {
    .calculator{
        padding: 15px;
    }
    
    #inputBox{
        width: 280px;
        font-size: 32px;
        padding: 20px;
    }
    
    button{
        width: 50px;
        height: 50px;
        margin: 8px;
        font-size: 18px;
    }
}