/*
==========================================
AI Wealth Tech India
Simple Calculator Pro
Android Style
==========================================
*/

.awti-simple-calculator{

    max-width:480px;

    margin:30px auto;

    background:#111827;

    border-radius:30px;

    padding:25px;

    box-shadow:0 20px 60px rgba(0,0,0,.35);

    color:#fff;

    overflow:hidden;

}

.simple-header{

    text-align:center;

    margin-bottom:25px;

}

.simple-header h2{

    margin:0;

    font-size:28px;

    font-weight:700;

}

.simple-header p{

    margin-top:8px;

    color:#9ca3af;

    font-size:14px;

}/* ==========================================
   Calculator Display
========================================== */

.simple-display{

    background:#1f2937;

    border-radius:24px;

    padding:25px;

    min-height:140px;

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    align-items:flex-end;

    margin-bottom:25px;

}

.calc-expression{

    width:100%;

    text-align:right;

    color:#9ca3af;

    font-size:18px;

    min-height:28px;

    word-break:break-word;

}

.calc-result{

    width:100%;

    text-align:right;

    margin-top:10px;

    font-size:46px;

    font-weight:700;

    color:#ffffff;

    word-break:break-word;

}/* ==========================================
   Android Calculator Buttons
========================================== */

.simple-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:14px;

}

.calc-btn{

    width:100%;

    height:72px;

    border:none;

    border-radius:50%;

    background:#2b3445;

    color:#ffffff;

    font-size:24px;

    font-weight:700;

    cursor:pointer;

    transition:.25s ease;

}

.calc-btn:hover{

    transform:translateY(-2px);

}

.calc-btn:active{

    transform:scale(.95);

}

.btn-ac{

    background:#ff8a00;

    color:#fff;

}

.btn-op{

    background:#1d4ed8;

    color:#fff;

}

.btn-equal{

    background:#38bdf8;

    color:#06131f;

}

.btn-zero{

    border-radius:40px;

    grid-column:span 2;

}/* ==========================================
   Textile Calculator
========================================== */

.textile-section{

    margin-top:30px;

}

.textile-section h3{

    text-align:center;

    margin-bottom:20px;

    font-size:22px;

}

.textile-buttons{

    display:flex;

    gap:12px;

    margin-bottom:20px;

}

.textile-btn{

    flex:1;

    height:52px;

    border:none;

    border-radius:14px;

    background:#2563eb;

    color:#fff;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:.25s;

}

.textile-btn:hover{

    background:#1d4ed8;

}

.textile-box{

    margin-top:20px;

    padding:20px;

    background:#1f2937;

    border-radius:18px;

}

.awti-field{

    margin-bottom:18px;

}

.awti-field label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:#d1d5db;

}

.awti-field input{

    width:100%;

    height:48px;

    padding:0 15px;

    border:none;

    border-radius:12px;

    background:#374151;

    color:#fff;

    font-size:16px;

    outline:none;

}

.awti-field input:focus{

    box-shadow:0 0 0 2px #38bdf8;

}/* ==========================================
   Result Card
========================================== */

.result-card{

    margin-top:25px;

    background:#1f2937;

    border-radius:20px;

    padding:22px;

    text-align:center;

}

.result-card h3{

    margin:0 0 15px;

    font-size:22px;

}

#resultValue{

    font-size:38px;

    font-weight:700;

    color:#38bdf8;

    margin-bottom:12px;

    word-break:break-word;

}

#resultFormula{

    color:#9ca3af;

    font-size:15px;

    margin-bottom:10px;

}

#resultSummary{

    color:#f3f4f6;

    font-size:16px;

    line-height:1.7;

}


/* ==========================================
   Action Buttons
========================================== */

.calculator-actions{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:12px;

    margin-top:20px;

}


/* ==========================================
   History
========================================== */

.history-card{

    margin-top:25px;

    background:#1f2937;

    border-radius:20px;

    padding:20px;

}

.history-card h3{

    margin:0 0 15px;

}

#historyList{

    max-height:220px;

    overflow:auto;

    color:#d1d5db;

    line-height:1.7;

}

#historyList p{

    margin:8px 0;

    padding:10px;

    background:#111827;

    border-radius:10px;

}/* ==========================================
   Responsive Design
========================================== */

@media (max-width:768px){

    .awti-simple-calculator{

        margin:15px;

        padding:18px;

        border-radius:22px;

    }

    .simple-header h2{

        font-size:22px;

    }

    .calc-result{

        font-size:34px;

    }

    .calc-expression{

        font-size:16px;

    }

    .calc-btn{

        height:62px;

        font-size:20px;

    }

    .textile-buttons{

        flex-direction:column;

    }

    .calculator-actions{

        grid-template-columns:1fr;

    }

}


/* ==========================================
   Animation
========================================== */

.calc-btn,
.textile-btn{

    transition:all .25s ease;

}

.calc-btn:hover,
.textile-btn:hover{

    transform:translateY(-2px);

}

.calc-btn:active,
.textile-btn:active{

    transform:scale(.95);

}


/* ==========================================
   Ripple Effect
========================================== */

.calc-btn,
.textile-btn{

    position:relative;

    overflow:hidden;

}

.awti-ripple{

    position:absolute;

    border-radius:50%;

    transform:scale(0);

    background:rgba(255,255,255,.35);

    animation:ripple .6s linear;

    pointer-events:none;

}

@keyframes ripple{

    to{

        transform:scale(4);

        opacity:0;

    }

}


/* ==========================================
   Scrollbar
========================================== */

#historyList::-webkit-scrollbar{

    width:8px;

}

#historyList::-webkit-scrollbar-thumb{

    background:#4b5563;

    border-radius:20px;

}

#historyList::-webkit-scrollbar-track{

    background:#111827;

}/* ==========================
   BANDAL Calculator
========================== */

#bandalBox{
    display:none;
    margin-top:20px;
    animation:fadeIn .35s ease;
}

#bandalBox h4{
    margin-bottom:15px;
    font-size:20px;
    font-weight:700;
    color:#fff;
}

#bandalBox .awti-field{
    margin-bottom:15px;
}

#bandalBox label{
    display:block;
    margin-bottom:6px;
    color:#ddd;
    font-weight:600;
}

#bandalBox input{
    width:100%;
    padding:14px;
    border-radius:10px;
    border:1px solid #333;
    background:#1d2433;
    color:#fff;
    font-size:16px;
    outline:none;
    transition:.3s;
}

#bandalBox input:focus{
    border-color:#2196f3;
    box-shadow:0 0 8px rgba(33,150,243,.35);
}

#calculateBandal{
    width:100%;
    margin-top:10px;
}