/* ==========================================================
   AML Insight
   Professional UI
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"Segoe UI",Arial,sans-serif;
    background:#f4f7fb;
    color:#333;
}

/* Header */

header{
    background:#004578;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 40px;
    box-shadow:0 3px 12px rgba(0,0,0,.15);
}

.logo{
    font-size:30px;
    font-weight:700;
}

nav{
    display:flex;
    gap:30px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:600;
    transition:.25s;
}

nav a:hover{
    color:#9fd5ff;
}

/* Container */

.container{
    width:95%;
    max-width:1500px;
    margin:35px auto;
}

/* Search Card */

.searchCard{

    background:white;

    padding:30px;

    border-radius:12px;

    box-shadow:0 5px 18px rgba(0,0,0,.12);

    margin-bottom:30px;

}

.searchCard h2{

    color:#004578;

    margin-bottom:20px;

}

.searchCard input{

    width:100%;

    padding:16px;

    font-size:18px;

    border:1px solid #ccc;

    border-radius:8px;

}

.searchCard input:focus{

    outline:none;

    border-color:#004578;

}

.searchCard button{

    margin-top:18px;

    padding:15px 40px;

    background:#004578;

    color:white;

    border:none;

    border-radius:8px;

    cursor:pointer;

    font-size:17px;

    transition:.25s;

}

.searchCard button:hover{

    background:#006fc1;

}

/* Loading */

#loading{

    display:none;

    margin-top:20px;

    padding:15px;

    background:#fff4ce;

    border-left:6px solid orange;

    border-radius:6px;

}

/* Grid */

.grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(380px,1fr));

    gap:25px;

}

/* Cards */

.card{

    background:white;

    border-radius:12px;

    box-shadow:0 5px 18px rgba(0,0,0,.12);

    padding:25px;

}

.card h2{

    color:#004578;

    margin-bottom:20px;

    border-bottom:1px solid #eee;

    padding-bottom:12px;

}

.card table{

    width:100%;

    border-collapse:collapse;

}

.card td{

    padding:11px;

    border-bottom:1px solid #eee;

    vertical-align:top;

}

.card td:first-child{

    font-weight:600;

    width:40%;

}

/* AML Status */

.lowRisk{

    background:#dff6dd;

    color:#107c10;

    padding:10px;

    border-radius:6px;

    margin-bottom:10px;

    font-weight:bold;

}

.mediumRisk{

    background:#fff4ce;

    color:#8a6d00;

    padding:10px;

    border-radius:6px;

    margin-bottom:10px;

    font-weight:bold;

}

.highRisk{

    background:#fde7e9;

    color:#a4262c;

    padding:10px;

    border-radius:6px;

    margin-bottom:10px;

    font-weight:bold;

}

/* Lists */

ul{

    padding-left:20px;

}

li{

    margin-bottom:12px;

}

/* Buttons */

button.secondary{

    background:#107c10;

}

button.secondary:hover{

    background:#0b6a0b;

}

/* Footer */

footer{

    margin-top:40px;

    text-align:center;

    color:#666;

    padding:20px;

}

/* Responsive */

@media(max-width:900px){

header{

flex-direction:column;

gap:20px;

text-align:center;

}

nav{

flex-wrap:wrap;

justify-content:center;

}

.grid{

grid-template-columns:1fr;

}

.searchCard{

padding:20px;

}

}