/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #1E1E1E, #2E2E2E); /* Subtle dark gradient */
    color: #fff;
    margin: 0;
    padding: 20px;
}

/* Container */
.container {
    max-width: 900px;
    margin: auto;
}
h5.text-center {
    color: #f8f9fa; /* Light white shade for contrast */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Card Styling - Frosted Glass Effect */
.card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Labels */
label {
    font-weight: 600;
    color: #e0e0e0;
}

/* Input Fields */
input {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

input:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: #007bff;
    outline: none;
}

/* Denomination Grid */
.denomination-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.denom-item {
    flex: 1 1 30%;
    text-align: center;
}

.denom-item input {
    text-align: center;
    font-weight: bold;
}

/* Summary Box */
.summary-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin-top: 20px;
}

/* Status Colors */
.excess {
    color: #FFA500;
    font-weight: bold;
}

.shortfall {
    color: #FF4C4C;
    font-weight: bold;
}

.balanced {
    color: #32CD32;
    font-weight: bold;
}

/* Buttons */
.btn {
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    padding: 10px 15px;
}

.btn-success {
    background: linear-gradient(to right, #28a745, #218838);
    border: none;
}

.btn-danger {
    background: linear-gradient(to right, #dc3545, #c82333);
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, #007bff, #0056b3);
    border: none;
}

.btn:hover {
    filter: brightness(1.15);
}
.date-picker {
    max-width: 220px; /* Small input box */
    padding: 3px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    color: #7612e9;
    display: block;
    margin: 0 auto; /* Centers the input */
    text-align: center;
}


/* Reduce space during printing */
@media print {
    body {
        background: linear-gradient(to right, #1E1E1E, #2E2E2E) !important; 
        -webkit-print-color-adjust: exact; /* Forces background print in Chrome/Safari */
        print-color-adjust: exact; /* For modern browsers */
        color: #fff !important;
    }

    .container, .card, .summary-box {
        background: rgba(255, 255, 255, 0.08) !important; /* Keeps frosted effect */
        box-shadow: none !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    h2, h5 {
        color: #f8f9fa !important; /* Ensures headers are visible */
    }

    .date-picker {
        font-size: 16px !important;
        padding: 2px !important;
        text-align: center !important;
    }

    .btn, .navbar, footer {
        display: none !important; /* Hides buttons and unnecessary elements */
    }
}


h6 {
    font-size: 12px;  /* Small and subtle */
    font-weight: 500; /* Medium weight for neatness */
    color: #aaa;  /* Light gray for a soft look */
    text-transform: uppercase; /* Gives a professional feel */
    letter-spacing: 1px; /* Slight spacing for clarity */
    text-align: center; /* Center align for balance */
    margin-bottom: 5px; /* Small spacing before heading */
}
