*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#f4f6f9;
    padding:30px;
}

.container{
    width:90%;
    margin:auto;
    background:white;
    padding:25px;
    border-radius:10px;
    box-shadow:0 0 15px rgba(0,0,0,0.15);
}

h2{
    color:#2c3e50;
    margin-bottom:20px;
    border-bottom:2px solid #3498db;
    padding-bottom:10px;
}

table{
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
}

th{
    background:#3498db;
    color:white;
    padding:12px;
    text-align:left;
}

td{
    padding:12px;
    border-bottom:1px solid #ddd;
    text-align:left;
}

tr:nth-child(even){
    background:#f8f9fa;
}

tr:hover{
    background:#eaf4ff;
}

.amount{
    color:green;
    font-weight:bold;
}

.view-btn{
    background:#28a745;
    color:white;
    border:none;
    padding:8px 15px;
    border-radius:5px;
    cursor:pointer;
    transition:0.3s;
}

.view-btn:hover{
    background:#218838;
}
.purchase-detail-box{
    width:90%;
    margin:auto;
    background:white;
    padding:25px;
    border-radius:10px;
    box-shadow:0 0 15px rgba(0,0,0,.15);
    margin-bottom:30px;
}

.purchase-title-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    border-bottom:2px solid #3498db;
    padding-bottom:10px;
}

.purchase-title{
    margin:0;
    color:#2c3e50;
}

.back-btn{
    background:#6c757d;
    color:white;
    text-decoration:none;
    padding:10px 18px;
    border-radius:6px;
    font-weight:bold;
}

.back-btn:hover{
    background:#495057;
}

.purchase-net-amount{
    margin-top:25px;
    text-align:right;
    font-size:28px;
    font-weight:bold;
    color:green;
}
.purchase-title-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    border-bottom:2px solid #3498db;
    padding-bottom:10px;
}

.purchase-title{
    margin:0;
    border:none;
}

.back-btn{
    background:#6c757d;
    color:white;
    text-decoration:none;
    padding:10px 18px;
    border-radius:6px;
    font-size:15px;
    font-weight:bold;
    transition:.3s;
}

.back-btn:hover{
    background:#495057;
}
.purchase-table{
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
}

.purchase-table th{
    background:#0d9ad1;
    color:#fff;
    padding:12px;
    text-align:left;
}

.purchase-table td{
    padding:12px;
    border-bottom:1px solid #ddd;
    vertical-align:middle;
}

.ac-name{
    width:45%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.purchase-table th:nth-child(2),
.purchase-table th:nth-child(3),
.purchase-table th:nth-child(4),
.purchase-table th:nth-child(5),
.purchase-table td:nth-child(2),
.purchase-table td:nth-child(3),
.purchase-table td:nth-child(4),
.purchase-table td:nth-child(5){
    width:13%;
}


.purchase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
}

/* Left & Right boxes */
.header-box {
    width: 48%;
}

/* Text styling */
.header-box p {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}

/* Bold labels */
.header-box b {
    display: inline-block;
    width: 100px; /* important for alignment */
}

/* Right side align clean */
.header-box.right {
    text-align: left;
}


