/*
====================================
 Manathin Kural Widgets
 Gold Rate Widget v2.0
====================================
*/


.mkw-container{

    max-width:1100px;

    margin:30px auto;

    padding:25px;

    background:#0f172a;

    border-radius:15px;

    color:#fff;

    font-family:Arial,Helvetica,sans-serif;

    box-shadow:0 10px 30px rgba(0,0,0,.25);

}



.mkw-header{

    text-align:center;

    margin-bottom:25px;

}



.mkw-header h2{

    margin:0;

    color:#FFD700;

    font-size:32px;

}



.mkw-header p{

    color:#cbd5e1;

}





/* Highlight Cards */


.mkw-highlight{

    display:flex;

    gap:20px;

    justify-content:center;

    margin:25px 0;

}



.mkw-card{

    flex:1;

    max-width:400px;

    text-align:center;

    padding:25px;

    background:linear-gradient(
        135deg,
        #FFD700,
        #f59e0b
    );

    color:#000;

    border-radius:15px;

}



.mkw-card small{

    font-size:16px;

    font-weight:bold;

}



.mkw-card h3{

    margin:10px 0 0;

    font-size:30px;

}





/* Tables */


.mkw-table-wrapper{

    overflow-x:auto;

}



.mkw-table,
.mkw-history{

    width:100%;

    border-collapse:collapse;

    margin-top:20px;

}



.mkw-table th,
.mkw-history th{

    background:#1e40af;

    color:#fff;

    padding:14px;

}



.mkw-table td,
.mkw-history td{

    background:#172033;

    color:#fff;

    padding:14px;

    text-align:center;

    border-bottom:1px solid #334155;

}



.mkw-table tr:hover td,
.mkw-history tr:hover td{

    background:#24324d;

}





/* Chart */


.mkw-chart{

    margin-top:35px;

    background:#172033;

    padding:20px;

    border-radius:12px;

}



#mkwChart{

    width:100%;

    height:400px;

}





/* Status */

.mkw-up{

    color:#22c55e;

    font-weight:bold;

}



.mkw-down{

    color:#ef4444;

    font-weight:bold;

}






/* Mobile */


@media(max-width:768px){


    .mkw-container{

        padding:15px;

        margin:15px;

    }



    .mkw-header h2{

        font-size:24px;

    }



    .mkw-highlight{

        flex-direction:column;

    }



    .mkw-card h3{

        font-size:22px;

    }



    .mkw-table th,
    .mkw-table td,
    .mkw-history th,
    .mkw-history td{

        font-size:13px;

        padding:10px;

    }



    #mkwChart{

        height:260px;

    }


}