.box {
    background: #a7f1e5;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.box:hover {
    background: #adfcbe;
    transform: scale(1.03);
}
.box-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}
.box-body {
    margin-top: 0.5rem;
    color: #4b5563;
    text-align: center;
}

        body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0; /* <-- Remove default browser margin */
}
        table { width: 100%; border-collapse: collapse; background-color: #fff; box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); }
        th { border: 1px solid #ddd; padding: 10px; text-align: center; }
        td { border: 1px solid #ddd; padding: 10px; text-align: left; }
        th { background-color: #007bff; color: white; font-weight: bold; }
        thead tr:first-child th { background-color: #0056b3; }
        tbody tr:nth-child(even) { background-color: #f2f2f2; }
        tbody tr:hover { background-color: #e9ecef; transition: 0.3s; }
        input, select { width: 100%; padding: 5px; border: 1px solid #ddd; text-align: center; }
        .income { font-weight: bold; text-align: right; }
        .yourDivId { width: 60%; margin-left: 25%; }
        select {
            background-color: #f8f9fa;
            color: #333;
            border: 1px solid #007bff;
            border-radius: 5px;
            padding: 8px;
            font-size: 14px;
            appearance: none;
            background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
            background-repeat: no-repeat;
            background-position: right 10px center;
            background-size: 16px 16px;
        }
        select:focus {
            outline: none;
            box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
        }
        button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 18px;
            border-radius: 5px;
            font-weight: bold;
            font-size: 14px;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }
        button:hover { background-color: #0056b3; transform: scale(1.02); }
        button:active { background-color: #004080; transform: scale(0.98); }
       
        .navbar {
    background-color: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0; /* <-- Ensure navbar has no margin */
}

    .back-button {
        background: none;
        border: none;
        color: white;
        font-size: 1rem;
        cursor: pointer;
    }

    .submit-button {
        background:rgb(5, 160, 18);
        border: none;
        border-radius: 5px;
        color: rgb(0, 0, 0);
        font-size: 1rem;
        cursor: pointer;
    }

    .logout-button {
        background-color: white;
        color: #2563eb; /* Tailwind's text-blue-600 */
        font-weight: 600;
        padding: 0.25rem 1rem;
        border: none;
        border-radius: 0.375rem; /* Tailwind's rounded */
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* Tailwind's shadow-sm */
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .logout-button:hover {
        background-color: #e0f2fe; /* Tailwind's hover:bg-blue-100 */
    }

      body {
            margin: 0;
            font-family: Arial, sans-serif;
        }
        header {
            background: #2c3e50;
            color: #fff;
            padding: 15px;
        }
        .container {
            display: flex;
            min-height: 100vh;
        }
        .sidebar {
            width: 250px;
            background: #ecf0f1;
            padding: 20px;
        }
        .content {
            flex: 1;
            padding: 20px;
        }

    


              /* [Your existing styles unchanged — keep all your original CSS here] */
         body {
            font-family: 'Arial', sans-serif;
            background-color: #f4f6f9;
            margin: 0;
            padding: 0;
            color: #333;
        }

        .month-selection-form {
            margin: 30px auto;
            padding: 20px;
            max-width: 420px;
            background-color: #ffffff;
            border-radius: 8px;
            box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
            border: 1px solid #ddd;
        }

        .form-group {
            margin-bottom: 18px;
        }

        .form-label {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 10px;
            display: block;
        }

        .form-select {
            width: 100%;
            padding: 14px;
            border-radius: 6px;
            border: 1px solid #ccc;
            font-size: 16px;
            color: #333;
            background-color: #fff;
            transition: all 0.3s ease;
        }

        .form-select:focus {
            border-color: #007bff;
            outline: none;
        }

        .btn-submit {
            display: block;
            width: 100%;
            padding: 14px;
            background-color: #007bff;
            border: none;
            color: white;
            font-size: 16px;
            font-weight: 600;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-submit:hover {
            background-color: #0056b3;
        }

        .rbtn-submit {
            display: block;
            width: 100%;
            padding: 14px;
            background-color: #09ad24;
            border: none;
            color: white;
            font-size: 16px;
            font-weight: 600;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .rbtn-submit:hover {
            background-color: #00b351;
        }

        .container {
            margin-top: 5px;
        }

        h1 {
            font-size: 36px;
            font-weight: bold;
            text-align: center;
            color: #333;
        }
        h2 {
            font-size: 28px;
            font-weight: bold;
            text-align: center;
            color: #555;
            margin-bottom: 20px;
        }

     

        .form-group input,
        .form-group select {
            width: 100%;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 16px;
            margin-top: 5px;
        }

        .form-group input:focus,
        .form-group select:focus {
            border-color: #007bff;
        }

        .table-container {
            margin-top: 20px;
            padding: 20px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .table-responsive {
            overflow-x: auto;
        }

        @media print {
    .month-selection-form,
    #printButton {
        display: none !important;
    }

    body {
        margin: 0;
        padding: 0;
        background: white;
    }

    .table-container {
        box-shadow: none;
        border: none;
        padding: 0;
    }

    h2 {
        margin-top: 0;
    }
}

         @media print {
            button:not(.print-button), form, label, select {
                display: none !important;
            }

            .print-button {
                display: block !important;
            }

            th:nth-child(3), td.action {
                display: none !important;
            }
        }

       
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f8f9fa;
            color: #333;
            margin: 0;
            padding: 0;
        }

        h2 {
            text-align: center;
            margin-top: 20px;
            font-size: 24px;
            color: #4a4a4a;
        }

         h3 {
            text-align: center;
            margin-top: 20px;
            font-size: 18px;
            color: #4a4a4a;
        }

        table {
            width: 70%;
            border-collapse: collapse;
            margin: 30px auto;
            font-size: 16px;
            text-align: left;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            overflow: hidden;
            background-color: #ffffff;
        }

        th, td {
            padding: 12px 15px;
            border-bottom: 1px solid #ddd;
        }

        th {
            background: linear-gradient(to right, #4e73df, #224abe);
            color: #ffffff;
            font-weight: bold;
            text-align: center;
        }

        tr:nth-child(even) {
            background-color: #f9f9f9;
        }

        tr:hover {
            background-color: #e8f0fe;
        }

        td:first-child {
            font-weight: bold;
            color: #4a4a4a;
        }

        select, input[type="date"], input[type="number"], input[type="text"] {
            width: 90%;
            padding: 8px;
            border: 1px solid #ced4da;
            border-radius: 5px;
            background-color: #f8f9fa;
            color: #495057;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        select:hover, input[type="date"]:hover, input[type="number"]:hover, input[type="text"]:hover {
            border-color: #6c757d;
            background-color: #ffffff;
        }

        select:focus, input[type="date"]:focus, input[type="number"]:focus, input[type="text"]:focus {
            border-color: #495057;
            box-shadow: 0 0 5px rgba(73, 80, 87, 0.5);
            outline: none;
        }
        
        input[type="number"] {
            text-align: right;
        }

        input:valid {
            background-color: #e8f5e9;
        }
         input:invalid {
            background-color: #f93321;
        }

         button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 18px;
            border-radius: 5px;
            font-weight: bold;
            font-size: 14px;
            cursor: pointer;
            margin-left: 10px ;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }
        button:hover { background-color: #0056b3; transform: scale(1.02); }
        button:active { background-color: #004080; transform: scale(0.98); }

        .month{
            text-align: center;
        }
        .userDetails {
    display: flex; /* Arrange items in a row */
    flex-wrap: wrap; /* Wrap to next line if needed */
    gap: 20px; /* Add spacing between items */
    padding: 10px; /* Add padding around the container */
    border: 1px solid #ccc; /* Add a subtle border */
    border-radius: 8px; /* Rounded corners */
    background-color: #f9f9f9; /* Light background color */
    font-family: Arial, sans-serif; /* Clean font */
        }

.userDetails p {
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    font-size: 16px; /* Set font size */
    color: #333; /* Dark gray text color */
}

.userDetails .latestDate,
.userDetails .location,
.userDetails .controllOffice {
    flex: 1; /* Ensure items grow evenly */
    min-width: 150px; /* Minimum width for responsive design */
    
    
}
.userDetails .controllOffice{
    margin-left: -10%;
}
.userDetails .location{
    margin-left: 5%;
}

.userDetails strong {
    color: #007bff; /* Highlighted color for labels */
    font-weight: bold; /* Ensure bold text */
}
.form-control {
    width: 60%;
    height: 40px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* spacing between buttons */
    margin-top: 2rem;
    width: 100%;
}

  
@media print {
.no-print { display: none !important; }
}
  