*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    background:#f5f7fb;
}

.hrms-container{
    max-width:1400px;
    margin:auto;
    padding:20px;
}

.header-box{
    text-align:center;
  
    color:#fff;
}

.header-box p{
	color: black !important;
}

.card{
    background:#f9f9f9b5;
    border-radius:18px;
    padding:25px;
    margin-bottom:25px;
    box-shadow:0 4px 15px rgba(0,0,0,0.06);
}

.card h2{
    margin-bottom:20px;
}

.grid-2,
.grid-3,
.record-filter{
    display:grid;
    gap:15px;
}

.grid-2{
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
}

.grid-3{
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}

.record-filter{
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    margin-bottom:20px;
}

.field{
    display:flex;
    flex-direction:column;
}

.field label{
    margin-bottom:6px;
    font-weight:600;
}

.field input,
.field select{
    padding:12px;
    border:1px solid #ddd;
    border-radius:10px;
    outline:none;
}

.field input:focus,
.field select:focus{
    border-color:#2575fc;
}

.btn-wrap{
    margin-top:20px;
}

button{
    border:none;
    background:#7898c9 !important;
    color:#fff;
    padding:13px 20px;
    border-radius:10px;
    cursor:pointer;
    font-weight:700;
}

button:hover{
    opacity:.9;
}

.summary-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
    margin-bottom:20px;
}

.summary-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:15px;
}

.summary-box{
    background:#f7f9fc;
    padding:20px;
    border-radius:14px;
    text-align:center;
}

.summary-box h3{
    margin-bottom:10px;
    color:#666;
    font-size:15px;
}

.summary-box p{
    font-size:26px;
    font-weight:700;
}

.history-top{
    display:flex;
    justify-content:space-between;
    gap:15px;
    flex-wrap:wrap;
    margin-bottom:20px;
}

#searchInput{
    padding:12px;
    border:1px solid #ddd;
    border-radius:10px;
    width:250px;
}

.table-wrap{
    overflow-x:auto;
}

table{
    width:100%;
    border-collapse:collapse;
    min-width:1000px;
}

th,
td{
    padding:14px;
    border-bottom:1px solid #eee;
    text-align:left;
}

th{
    background:#f8f9ff;
}

.delete-btn{
    background:#ff4d4f;
    padding:8px 12px;
}

@media(max-width:768px){
	.card{
		    padding-left: 7px !important;
	}
    .header-box h1{
        font-size:30px;
    }

    button{
        width:100%;
    }

    #searchInput{
        width:100%;
    }

}