﻿
.total-amount, .paid-amount {
    color: blue;
    font-weight: bold;
}

.due-amount-positive {
    color: red;
    font-weight: bold;
}

.due-amount-zero {
    color: green; /* Or any other color you prefer */
    font-weight: bold;
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.form-control {
    border-left: none;
}


/* Modal Box */


/* Modal Header */
.invoice-modal-header {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

    .invoice-modal-header button {
        background: none;
        color: white;
        border: none;
        font-size: 22px;
        cursor: pointer;
        transition: 0.3s;
    }

  .invoice-modal-header button:hover {
            color:gainsboro;
        }

/* Modal Body */
.invoice-modal-body {
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
}




/* Modal Styles */
.invoice-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.invoice-modal-content {
    background: #fff;
    width: 90%;
    max-width: 650px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: translateY(-50px);
    opacity: 0;
    animation: slideDown 0.4s ease-in-out forwards;
    z-index: 10000;
    padding: 20px;
}

/* Table Styling */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
}

    /* Table Headers */
    .styled-table thead tr {
        background: #041858;
        color: #fff;
        text-align: left;
        font-weight: bold;
    }

    /* Table Rows */
    .styled-table tbody tr {
        border-bottom: 1px solid #ddd;
    }

    /* Table Cells */
    .styled-table th, .styled-table td {
        padding: 10px;
        text-align: left;
    }

/* Alignments */
.center {
    text-align: center;
}

.right {
    text-align: right;
}

/* Total Row */
.total-row {
    background: #f1f1f1;
    font-weight: bold;
}

/* Slide Down Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Button */
.btn-print, .btn-print-a4 {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
}

    .btn-print:hover, .btn-print-a4:hover {
        background: #0056b3;
    }

/* Close Button */
.btn-close {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}

#loadingSpinner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

    #loadingSpinner img {
        width: 20px;
        height: 20px;
    }
