* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background-color: #f3f4f6;
    color: #333;
    padding-bottom: 50px;
}

/* Navbar */
header {
    background: #2c3e50;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
}

nav a {
    color: #bbb;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

nav a:hover, nav a.active {
    color: #3498db;
}

/* Invoice Sheet Container */
.invoice-container, .info-container {
    background: white;
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

[contenteditable="true"] {
    border-bottom: 1px dashed #ccc;
    padding: 2px 5px;
    outline: none;
}

[contenteditable="true"]:focus {
    background: #f9f9f9;
    border-bottom: 1px solid #3498db;
}

.customer-section {
    margin: 20px 0;
    line-height: 1.6;
}

/* Table Style */
.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
}

.invoice-table th, .invoice-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.invoice-table th {
    background-color: #f8f9fa;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

.btn-add {
    background-color: #27ae60;
    color: white;
    margin-top: 15px;
}

.btn-delete {
    background-color: #c0392b;
    color: white;
    padding: 5px 10px;
}

.btn-print {
    background-color: #3498db;
    color: white;
    width: 100%;
    font-size: 16px;
}

.total-section {
    text-align: right;
    margin-top: 30px;
    font-size: 20px;
}

.print-actions {
    margin-top: 40px;

/* Purani CSS ke sabse niche ise jod dein */
.calculation-box {
    margin-top: 30px;
    width: 350px;
    margin-left: auto; /* Right alignment ke liye */
    border: 1px solid #eee;
    padding: 15px;
    background: #fafafa;
    border-radius: 5px;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 15px;
}

.gst-row #gstPercentage {
    font-weight: bold;
    color: #e67e22;
    border-bottom: 1px dashed #e67e22;
}

.grand-total-row {
    margin-top: 10px;
    color: #2c3e50;
}


    
}
.site-footer{
    margin-top:40px;
    padding:20px;
    background:#f8f9fa;
    text-align:center;
    border-top:1px solid #ddd;
}

.site-footer a{
    color:#0d6efd;
    text-decoration:none;
    font-weight:600;
}

.site-footer a:hover{
    text-decoration:underline;
}

.footer-links{
    margin-top:10px;
}
