/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f4f7fb;
    color:#333;
    line-height:1.6;
}

/* ===========================
   CONTAINER
=========================== */

.container{
    width:90%;
    max-width:1000px;
    margin:auto;
}

/* ===========================
   HEADER
=========================== */

header{
    background:#2563eb;
    color:white;
    padding:40px 20px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

header h1{
    font-size:34px;
    margin-bottom:10px;
}

header p{
    font-size:16px;
    opacity:.95;
}
.header-content{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}

.logo{
    width:90px;
    height:90px;
    object-fit:contain;
    background:white;
    border-radius:50%;
    padding:8px;
    box-shadow:0 4px 10px rgba(0,0,0,.2);
}
/* ===========================
   CARD
=========================== */

.card{
    background:white;
    margin-top:30px;
    padding:30px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.card h2{
    color:#2563eb;
    margin-bottom:15px;
}

.subtitle{
    margin-bottom:20px;
}

/* ===========================
   INPUT
=========================== */

input{
    width:100%;
    padding:15px;
    font-size:18px;
    border:2px solid #d9d9d9;
    border-radius:10px;
    outline:none;
    transition:.3s;
}

input:focus{
    border-color:#2563eb;
}

/* ===========================
   BUTTON
=========================== */

.button-group{
    margin-top:20px;
    display:flex;
    gap:15px;
}

button{
    flex:1;
    padding:15px;
    font-size:16px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
    color:white;
}

#validateBtn{
    background:#2563eb;
}

#validateBtn:hover{
    background:#1d4ed8;
}

#resetBtn{
    background:#dc2626;
}

#resetBtn:hover{
    background:#b91c1c;
}

/* ===========================
   RESULT
=========================== */

.result{
    margin-top:25px;
    padding:20px;
    border-radius:10px;
    background:#eef2ff;
    font-size:18px;
    text-align:center;
    font-weight:600;
}

/* nanti diubah oleh JavaScript */

.valid{
    background:#dcfce7;
    color:#166534;
}

.invalid{
    background:#fee2e2;
    color:#991b1b;
}

/* ===========================
   LIST
=========================== */

ul{
    padding-left:20px;
}

li{
    margin-bottom:10px;
}

/* ===========================
   IMAGE
=========================== */

.dfa-image{
    width:100%;
    max-width:700px;
    display:block;
    margin:auto;
}

/* ===========================
   TABLE
=========================== */

table{
    width:100%;
    border-collapse:collapse;
}

table th{
    background:#2563eb;
    color:white;
    padding:12px;
}

table td{
    border:1px solid #ddd;
    padding:10px;
    text-align:center;
}

table tr:nth-child(even){
    background:#f8f9fc;
}

/* ===========================
   FOOTER
=========================== */

footer{
    margin-top:40px;
    padding:20px;
    text-align:center;
    background:#2563eb;
    color:white;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:768px){

.button-group{
    flex-direction:column;
}

header h1{
    font-size:26px;
}

.card{
    padding:20px;
}
.header-content{
    flex-direction:column;
}

.logo{
    width:70px;
    height:70px;
}
}