
/* GRID LAYOUT */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* INPUT FIELDS */
.field {
    margin-bottom: 15px;
}

.field label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.field input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

/* BUTTON STYLE (YOUR SAME) */
.btns {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.app {
    background: linear-gradient(135deg, #0a3d62, #07517d);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
}

/* OUTPUT BOX */
.output-box {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background: #fafafa;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.result-number {
    font-size: 60px;
    font-weight: bold;
    margin-top: 10px;
}

/* LOADING EFFECT */
.loading {
    font-size: 18px;
    color: #555;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {opacity: 0.3;}
    50% {opacity: 1;}
    100% {opacity: 0.3;}
}

/* MOBILE */
@media(max-width:768px){
    .grid {
        grid-template-columns: 1fr;
    }
}