@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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);
}

input{
    width: 320px;
    border: none;
    padding: 24px;
    margin: 10px;
    background: transparent;
    box-shadow: 0px 3px 15px rgba(84, 84, 84, 0.1);
    font-size: 40px;
    text-align: right;
    cursor: pointer;
    color: #ffffff;
}

input::placeholder{
    color: #ffffff;
}

button{
    border: none;
    width: 60px;
    height: 60px;
    margin: 10px;
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    font-size: 20px;
    box-shadow: -8px -8px 15px rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.equalBtn{
    background-color: #fb7c14;
}

.operator{
    color: #6dee0a;
}

#themeToggle {
    position: absolute;
    top: 20px;
    right: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

body.light-mode {
    background: linear-gradient(45deg, #c2aaaa, #b9c2d3);
    color: #000;
}

body.light-mode .calculator {
    background: #f9f9f9;
    border: 1px solid #ccc;
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.1);
}

body.light-mode input {
    background: #fff;
    color: #000;
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.1);
}

body.light-mode input::placeholder {
    color: #333;
}

body.light-mode button {
    background: #e0e0e0;
    color: #000;
    border: none;
    width: 60px;
    height: 60px;
    margin: 10px;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: -8px -8px 15px rgba(41, 41, 41, 0.2);
    cursor: pointer;
}

body.light-mode .equalBtn {
    background-color: #2b90d9;
    color: #fff;
}

body.light-mode .operator {
    color: #d90429;
}

body.light-mode #themeToggle{
    width: 60px;
    height: 60px;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    border-radius: 50%;
    border: none;
    background-color: #b5c3e7; 
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}




