﻿/* --AUTHOR : SOMADITYA ROY-- */


/* Header */


body {
    margin: 0;
    /*font-family: Arial, sans-serif;*/
    background: #f5f7fb;
}
/* Card */
.card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

    .card .toggle-section {
        color: var(--theme-color);
    }


/***BASIC INFO HEADER CARD**/
.basic-header-card {
    background: transparent;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px 15px;
    box-shadow: 0 8px 6px -5px #A8A8A8;
    margin-top: 20px;
    margin-bottom: 20px;
}

    .basic-header-card::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -12px; /* pushes shadow outside */
        height: 20px;
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0) );
        pointer-events: none;
    }

    .basic-header-card p {
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .basic-header-card span {
        font-weight: 500;
        color: #555;
    }

    .basic-header-card strong {
        font-weight: 600;
        color: var(--theme-color);
    }



/*DATE 04-10-2024 BY SOMADITYA ROY*/
/*LOGO START--------------------------------------*/
/* HTML LOGO START----------*/
.logo-container {
    display: inline-block;
    text-align: center;
    padding: 10px;
    font-family: Caramella, sans-serif;
    width: fit-content;
}

.logo-title {
    display: flex;
    background: linear-gradient(to right, var(--layout-header-color) 50%, var(--layout-footer-color) 50%);
    color: white;
    font-size: 2.5em;
    font-weight: bold;
}

.logo-part1 {
    color: white;
    background-color: var(--layout-footer-color);
    padding-right: 5px;
    padding-left: 5px;
}

.logo-part2 {
    color: white;
    background-color: var(--layout-header-color);
    padding-left: 5px;
    padding-right: 5px;
}

.logo-subtitle {
    font-size: 0.9em;
    color: #5d5d5d;
    background-color: white;
    font-weight: 300;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    font-family: Tahoma, sans-serif;
}

    .logo-subtitle span {
        display: inline-block;
        transform: scaleX(1.2); /* Adjust this value to stretch the text */
        white-space: nowrap;
    }

.logo-underline {
    background: var(--layout-footer-color);
    color: black;
    padding: 1px 0;
}
/* HTML LOGO END----------*/



/*CUSTOM TRANSPARENT IMAGE LOGO START-----------*/
.logo-content {
    margin-top: 5px;
    width: 170px;
    height: 90px;
    position: relative;
}

.logo-background {
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    padding: 5px 0px 10px 0px;
}

.logo-bg-left, .logo-bg-right {
    height: 100%;
}

.logo-bg-left {
    width: 47%;
    background-color: var(--layout-footer-color);
}

.logo-bg-right {
    width: 53%;
    background-color: var(--layout-header-color);
}

.logo-src {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    position: absolute;
    padding: 15px 0px;
    /*object-fit: contain;*/
}
/*CUSTOM TRANSPARENT IMAGE LOGO END-----------*/

/*LOGO END-----------------------*/





/*DATE 30-09-2024 BY SOMADITYA ROY*/

.layout-header {
    background: var(--layout-header-color);
    color: #FFF;
    padding: 8px 0;
    margin-bottom: 25px;
}

    .layout-header ul {
        display: inline;
        list-style: none;
        margin-left: -40px;
    }

        .layout-header ul li {
            display: inline;
            padding: 5px 20px;
            text-align: left;
        }

            .layout-header ul li a {
                color: #FFF;
                text-decoration: none;
            }

                .layout-header ul li a:hover {
                    text-decoration: none;
                    font-weight: 500;
                    color: #f2f2f2;
                }


.layout-footer {
    background: var(--layout-footer-color);
    color: black;
    padding: 12px 0;
    margin-top: 25px;
    border-top: 1px solid #b8b8b8;
    font-size: 14px;
}

.lable-theme {
    color: var(--theme-color);
}
/*DATE 30-09-2024 END*/

select.form-control {
    color: var(--theme-color); /*Default text color*/
    border: 1px solid var(--theme-color); /*Border styling */
}

    select.form-control option {
        color: var(--theme-color); /*Text color for options*/
    }


.sr-button-style {
    border: solid 1px var(--theme-color);
    color: var(--theme-color);
    text-decoration: none;
    padding: 5px;
    display: block;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    min-width: 10em;
    max-width: fit-content;
    white-space: nowrap;
    margin: 5px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 500;
}

    .sr-button-style:hover {
        background-color: var(--theme-color);
        color: white;
    }


/*Custom alert box start---------------------*/
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex; /* Keep it hidden by default */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    z-index: 1000;
    pointer-events: none; /* Prevent interaction with the background */
}

.custom-alert-box {
    background-color: #FFF;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    pointer-events: auto; /* Allow interaction with the alert box */
    color: var(--theme-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.custom-alert-button {
    padding: 6px 12px;
    font-size: 15px;
    border-radius: 6px;
    background: #fff;
    color: var(--theme-color);
    font-weight: 500;
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 1px solid var(--theme-color);
}

    .custom-alert-button:hover {
        transform: translateX(-2px);
        background: var(--theme-color);
        color: #fff;
        border: 1px solid #fff;
    }

.no-scroll {
    overflow: hidden; /* Prevent scrolling */
}
/*custom alert box end--------------------*/


/***ADDED ON 06-04-2026 BY SOMADITYA ROY************/
/* MAIN TABLE */
.table-inputform {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    background-color: #fff;
}

    /* HEADER */
    .table-inputform thead tr {
        background: linear-gradient( 135deg, var(--theme-color), color-mix(in srgb, var(--theme-color) 80%, black) );
        color: #fff;
    }

        .table-inputform thead tr th {
            padding: 12px;
            font-size: 15px;
            font-weight: 600;
            text-align: center;
            border: 1px solid white;
        }

        /* HEADER INPUTS */
        .table-inputform thead tr td {
            padding: 6px;
            background: #f7f9fc;
            border: 1px solid white;
        }

            .table-inputform thead tr td input,
            .table-inputform thead tr td select {
                width: 100%;
                padding: 6px 8px;
                border-radius: 6px;
                border: 1px solid #dcdfe6;
                text-align: center;
                font-weight: 500;
                outline: none;
            }

    /* BODY + FOOTER */
    .table-inputform tbody tr,
    .table-inputform tfoot tr {
        transition: all 0.2s ease;
    }

        /* ZEBRA */
        .table-inputform tbody tr:nth-child(even) {
            background-color: #f9fbff;
        }

        /* HOVER */
        .table-inputform tbody tr:hover {
            background-color: #eef4ff;
        }

        /* CELLS */
        .table-inputform tbody tr td,
        .table-inputform tfoot tr td {
            padding: 6px;
            border-bottom: 1px solid #e6e9ef;
            text-align: center;
            vertical-align: middle;
        }

            /* INPUTS / TEXTAREA / SELECT */
            .table-inputform tbody tr td input,
            .table-inputform tfoot tr td input,
            .table-inputform tbody tr td textarea,
            .table-inputform tfoot tr td textarea,
            .table-inputform tbody tr td select,
            .table-inputform tfoot tr td select {
                width: 100%;
                border: 1px solid #dcdfe6;
                border-radius: 6px;
                padding: 6px 8px;
                font-size: 14px;
                font-weight: 500;
                background-color: #fff;
                outline: none;
                transition: all 0.2s ease;
            }

    /* INPUT FOCUS EFFECT */
    .table-inputform input:focus,
    .table-inputform textarea:focus,
    .table-inputform select:focus {
        border-color: var(--theme-color);
        box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.15);
    }

    /* TEXTAREA */
    .table-inputform textarea {
        resize: vertical;
        min-height: 40px;
    }

    /* READONLY ROW */
    .table-inputform tbody tr.readonly-row,
    .table-inputform tfoot tr.readonly-row {
        background-color: #f4f6f9;
        /*color: #888;*/
        color: inherit;
    }

    /* READONLY FIELDS */
    .table-inputform .readonly-row input,
    .table-inputform .readonly-row textarea,
    .table-inputform .readonly-row select {
        background-color: transparent;
        border: none;
        color: inherit;
        pointer-events: none;
    }

    /* EMPTY CELL */
    .table-inputform td.empty-cell {
        background-color: #eef1f6;
        opacity: 0.9;
    }

    /* PARAGRAPH STYLE */
    .table-inputform td p {
        margin: 0;
        padding: 6px 8px;
        text-align: right;
        color: #555;
    }

    /* SMOOTH TRANSITIONS */
    .table-inputform * {
        transition: all 0.15s ease-in-out;
    }
/********************/



/***ADDED ON 06-04-2026 BY SOMADITYA ROY************/

/* MAIN TABLE */
.table-summary {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    background-color: #fff;
}

    /* STICKY HEADER */
    .table-summary thead {
        position: sticky;
        top: 0;
        z-index: 5;
    }

        /* HEADER */
        .table-summary thead tr {
            background: linear-gradient( 135deg, var(--theme-color), color-mix(in srgb, var(--theme-color) 80%, black) );
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 0.6px;
        }

            .table-summary thead tr th {
                padding: 10px 10px;
                font-size: 14px;
                font-weight: 600;
                border: 1px solid white;
            }

    /* BODY ROWS */
    .table-summary tbody tr {
        background-color: #fff;
        transition: all 0.2s ease;
    }

        /* ZEBRA STRIPING */
        .table-summary tbody tr:nth-child(even) {
            background-color: #f7f9fc;
        }

        /* HOVER EFFECT */
        .table-summary tbody tr:hover {
            background-color: #eef4ff;
            transform: scale(1.01);
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
        }

        /* CELLS */
        .table-summary tbody tr td,
        .table-summary tbody tr th {
            padding: 12px;
            font-size: 14px;
            border-bottom: 1px solid #e6e9ef;
            text-align: center;
            vertical-align: middle;
        }

            /* LEFT ALIGN + BOLD */
            .table-summary tbody tr td.bold-left {
                text-align: left;
                font-weight: 600;
                color: #2c2c2c;
            }

            /* TEXT INPUT */
            .table-summary tbody tr td input[type="text"] {               
                width: 100%;
                border: none;
                text-align: right;
                box-sizing: border-box;
                padding: 0;
                pointer-events: none;
                font-weight: 600;
                color: #333;
                outline: none;
                accent-color: var(--theme-color);
            }

            /* RADIO BUTTON */
            .table-summary tbody tr td input[type="radio"] {
                accent-color: var(--theme-color);
                cursor: pointer;
            }

            /* CHECKBOX */
            .table-summary tbody tr td input[type="checkbox"] {
                width: 16px;
                height: 16px;
                accent-color: var(--theme-color);
                cursor: pointer;
            }

            /* PARAGRAPH INSIDE CELL */
            .table-summary tbody tr td p {
                margin: 0;
                padding: 6px 10px;
                text-align: right;
                color: #555;
                display: flex;
                align-items: center;
                justify-content: flex-end;
            }

            /* MODERN SELECT */
            .table-summary tbody tr td select {
                width: 100%;
                border: 1px solid var(--theme-color);
                border-radius: 6px;
                padding: 6px 8px;
                font-size: 14px;
                font-weight: 500;
                background-color: #fff;
                color: #333;
                appearance: none;
                outline: none;
                cursor: pointer;
                transition: all 0.2s ease;
            }

                /* FOCUS EFFECT */
                .table-summary tbody tr td select:focus {
                    border-color: var(--theme-color);
                    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
                }

                /* OPTIONAL: DISABLED STYLE */
                .table-summary tbody tr td select:disabled {
                    background-color: #f5f7fa;
                    cursor: not-allowed;
                    opacity: 0.7;
                }


            /* EMPTY CELL */
            .table-summary tbody tr td.empty-cell {
                background-color: #eaeef5;
                opacity: 0.6;
            }


    /* FOOTER */
    .table-summary tfoot {
    }
        .table-summary tfoot tr td {
            color: var(--theme-color);
            background-color: transparent;
            background: var(--theme-lightest);
            text-transform: uppercase;
            letter-spacing: 0.6px;
            font-weight: bold;
            border: none;
            font-size: 14px;
        }
            .table-summary tfoot tr td input,
            .table-summary tfoot tr td select,
            .table-summary tfoot tr td textarea {
                border: 1px solid var(--theme-color);
            }

        .table-summary tfoot .button-area {
            display: flex;
            flex-direction: column;
            gap: 6px;
            padding: 5px 20px 5px 20px;
            background: linear-gradient( 90deg, transparent 0%, color-mix(in srgb, var(--form-footer-color) 60%, transparent) 30%, var(--form-footer-color) 50%, color-mix(in srgb, var(--form-footer-color) 60%, transparent) 70%, transparent 100% );
            color: #fff;
            backdrop-filter: blur(6px);
            vertical-align: middle;
            width: 100%;
        }


    /* Back button */
    .table-summary .btn {
        padding: 6px 12px;
        font-size: 15px;
        border-radius: 6px;
        background: #fff;
        color: var(--theme-color);
        font-weight: 500;
        text-decoration: none;
        border: none;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

        .table-summary .btn:not(:disabled):hover {
            transform: translateX(-2px);
            background: var(--theme-color);
            color: #fff;
            border: 1px solid #fff;
        }

        /* disable effect */
        .table-summary .btn:disabled {
            background: #A8A8A8;
            color: #fff;
            opacity: 0.4;
            pointer-events: none;
            transform: none;
        }

    /* SMOOTH TRANSITIONS */
    .table-summary * {
        transition: all 0.15s ease-in-out;
    }

/*********************/


/*******ADDED ON 06-04-2026 BY SOMADITYA ROY*******************/

.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pagination-info {
    font-size: 14px;
    color: #777;
}

.pagination-pages {
    display: flex;
    gap: 6px;
    align-items: center;
}

    .pagination-pages a,
    .pagination-pages span {
        padding: 3px 6px;
        border-radius: 6px;
        text-decoration: none;
        font-size: 15px;
        color: #555;
        border: 1px solid transparent;
        transition: all 0.2s ease;
    }

        .pagination-pages a:hover {
            background: #f0f0f0;
            border-color: #ddd;
        }

    .pagination-pages .active {
        background: var(--theme-color);
        color: #fff;
        border-color: var(--theme-color);
    }

    .pagination-pages .disabled {
        color: #bbb;
        pointer-events: none;
    }

.pagination-ddl select {
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
}

/**************************/




.primary-level-numbering {
    width: 40px;
    padding: 0px 5px 0px 20px;
    text-align: left;
    font-weight: bold;
    vertical-align: top;
}

.hierarchical-numbering {
    width: 65px;
    padding: 0px 5px 0px 20px;
    text-align: left;
    vertical-align: top;
}


.bullet-list {
    width: 40px;
    padding: 0px 5px 0px 20px;
    text-align: left;
    font-weight: bold;
    vertical-align: top;
}

    .bullet-list::before {
        content: "\25CF";
    }


/*DROPDOWN MENU*/
.dropdown {
    position: relative;
    display: inline-block;
    margin-bottom: 5px;
}

    .dropdown .dropdown-toggle {
        background-color: var(--theme-color);
        color: #fff;
        border: none;
    }

    .dropdown .dropdown-menu {
        position: absolute;
        background-color: #fff;
        display: none;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown .dropdown-item {
        color: #333;
        padding: 10px;
        text-decoration: none;
        display: block;
    }

        .dropdown .dropdown-item:hover {
            background-color: #f2f2f2;
        }

    /* Date: 22-01-2024, Added by Somaditya Roy */
    /* Style for the nested dropdown container */
    .dropdown .nested-dropdown {
        position: relative;
        margin-bottom: 2px;
        display: inline-block;
        text-decoration: none;
    }

        .dropdown .nested-dropdown .dropdown-toggle {
            background-color: #fff;
            color: #333;
            padding: 10px;
            text-decoration: none;
            display: block;
        }

        /* Style for the nested dropdown menu */
        .dropdown .nested-dropdown .dropdown-menu {
            position: absolute;
            display: none;
            white-space: nowrap; /* Prevent line breaks within the menu */
            left: 100%;
            bottom: -30%; /* Position the menu above the nested dropdown */
        }

        /* Show nested dropdown menu on hover */
        .dropdown .nested-dropdown:hover .dropdown-menu {
            display: block;
        }



table-container {
    border: 1px solid var(--theme-color);
}


/*VALIDATION FAILED MESSAGE**/
.span-validation {
    font-size: 14px;
    font-style: italic;
    font-weight: bold;
    color: red;
    width: fit-content;
    text-align: left;
    padding: 0px 0px 0px 0px;
    display: inline;
    white-space: nowrap;
}




/*SR*/
.duplicate-field-color::before {
    content: "";
    display: inline-block;
    width: 15px; /* Adjust the width of the square */
    height: 15px; /* Adjust the height of the square */
    margin-right: 5px; /* Adjust spacing between the square and text */
    background-color: #F2D4D7; /* Fill color (e.g., red) */
    border: 1px solid #000;
}

.required-field-color::before {
    content: "";
    display: inline-block;
    width: 15px; /* Adjust the width of the square */
    height: 15px; /* Adjust the height of the square */
    margin-right: 5px; /* Adjust spacing between the square and text */
    background-color: #FFB2D0; /* Fill color (e.g., red) */
    border: 1px solid #000;
}

.validation-textcolor-violation {
    color: #DC143C;
}

.validation-textcolor-duplicate {
    color: #DC143C;
}

.validation-textcolor-required {
    color: #DC143C;
}

.validation-textcolor-negetive {
    color: #DC143C;
}

.rupee-icon::before {
    content: "\20B9";
}

.text-position-left {
    text-align: left;
    display: inline;
    float: left;
}

.text-position-right {
    text-align: right;
    display: inline;
    float: right;
}

.required {
    color: red;
    margin-left: 5px;
}

.auto-fit-div {
    display: inline-block;
    padding: 5px; /* Adjust the padding value as needed */
    background-color: lightgray; /* Just for visualization */
}


/*SR*/
.small-italic {
    font-size: smaller;
    Reduces the font size font-style: italic;
    Makes the text italic
    /*width: 90%;*/
    text-align: justify-all;
    padding: 0px 0px 0px 0px;
}


/*SR*/
/* Add styles to highlight the clickable rows */
.clickable-row {
    cursor: pointer;
    background-color: #f5f5f5;
}

    .clickable-row:hover {
        background-color: #e0e0e0;
    }


.top-border-row {
    border-top: 1px solid black; /* You can adjust the style and color as needed */
}


/*SR*/
/* Add styles to highlight the clickable rows */
.grid-row-style {
    cursor: pointer;
    background-color: #f5f5f5;
}

    .grid-row-style:hover {
        background-color: #e0e0e0;
    }


/*SHOW PASSWORD ICON*/
.password-container {
    position: relative;
    display: inline-block;
}

.show-password-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
}

.password-container:hover .show-password-icon {
    display: block;
}


.form-check-input-style {
    width: 20px; /* Set the desired width */
    height: 20px; /* Set the desired height */
}




/*****ADED ON 06-04-2026 BY SOMADITYA ROY*************/
.form-header-style {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    padding: 12px 20px;
    border-radius: 10px;
    background: linear-gradient( 135deg, var(--theme-color), color-mix(in srgb, var(--theme-color) 70%, black) );
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    backdrop-filter: blur(6px);
}

    /* Top row */
    .form-header-style .form-header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Text styles */
    .form-header-style .header-text {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: 1px;
    }

    .form-header-style .main-text {
        font-size: 20px;
        font-weight: 600;
        line-height: 1.5;
        letter-spacing: 1px;
    }

    .form-header-style .footer-text {
        font-size: 13px;
        font-weight: 400;
        opacity: 0.9;
        line-height: 1.5;
        letter-spacing: 1px;
    }


.divider {
    height: 1px;
    background: #fff;
    opacity: 0.5;
    margin: 1px 0;
    border-radius: 2px;
}

/* Back button */
.btn-back {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    background: #fff;
    color: var(--theme-color);
    font-weight: 500;
    text-decoration: none;
    border: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

    /* Arrow + text */
    .btn-back::before {
        content: "← Back";
        font-size: 14px;
    }

    /* Hover effect */
    .btn-back:hover {
        transform: translateX(-2px);
        background: var(--theme-color);
        color: #fff;
        border: 1px solid #fff;
    }










/* BODY */
.form-body-style {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 50px 50px 50px 50px;
    border-radius: 10px;
    /*background: #FFF;*/
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #A8A8A8;
    font-size: 14px;
    background: linear-gradient( 90deg, #FFF, color-mix(in srgb, #FFF 90%, #e9e9e9) );
}

/* FOOTER */
.form-footer-style {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 10px;
    background: linear-gradient( 135deg, var(--form-footer-color), color-mix(in srgb, var(--form-footer-color) 70%, black) );
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    backdrop-filter: blur(6px);
}

    /* Buttons container */
    .form-footer-style .footer-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Back button */
    .form-footer-style .btn {
        padding: 6px 12px;
        font-size: 16px;
        border-radius: 6px;
        background: #fff;
        color: var(--theme-color);
        font-weight: 500;
        text-decoration: none;
        border: none;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

        /* Arrow + text */
        .form-footer-style .btn::before {
            font-size: 14px;
        }

        /* Hover effect */
        .form-footer-style .btn:hover {
            transform: translateX(-2px);
            background: var(--theme-color);
            color: #fff;
            border: 1px solid #fff;
        }


    /* Optional: softer colors */
    .form-footer-style .btn-primary {
    }

    .form-footer-style .btn-secondary {
    }

    .form-footer-style .btn-success {
    }


/* OPTIONAL: HOVER (SUBTLE INTERACTION) */
.form-body-style:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

/* SMOOTH TRANSITIONS */
.form-header-style,
.form-body-style,
.form-footer-style {
    transition: all 0.2s ease-in-out;
    margin-top: 5px;
    margin-bottom: 5px;
}

/******************/



/******ADDED ON 11-04-2026 BY SOMADITYA ROY**************/
.btn-gridformshow {
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 6px;
    background: #fff;
    color: var(--theme-color);
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--theme-color);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 10px;
    margin-bottom: 20px;
}

    /* Icon */
    .btn-gridformshow::before {
    }

    /* Hover */
    .btn-gridformshow:hover {
        color: #FFF;
        border: 1px solid var(--theme-color);
        background: var(--theme-color);
    }

        /* Subtle icon movement */
        .btn-gridformshow:hover::before {
            transform: translateX(2px);
        }




/******ADDED ON 07-04-2026 BY SOMADITYA ROY**************/
/**********BUTTON LINK***************/
.btn-link {
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--theme-color);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

    /* Icon */
    .btn-link::before {
        content: "\f8cc"; /* cleaner link icon */
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 12px;
        transition: transform 0.2s ease;
        margin-right: 5px;
    }

    /* Hover */
    .btn-link:hover {
        color: var(--btn-link-color);
        opacity: 0.85;
    }

        /* Subtle icon movement */
        .btn-link:hover::before {
            transform: translateX(2px);
        }


/*******INPUT FIELDS***************/
/*******ADDED ON 07-04-2026 BY SOMADITYA ROY***************/
/*******INPUT CHECKBOX***************/
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #A8A8A8;
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    transition: all 0.2s ease;
    position: relative; /* Needed for the ::after pseudo-element */
}

    /* Hover state */
    input[type="checkbox"]:hover {
        border-color: var(--theme-color);
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
    }

    /* Checked state */
    input[type="checkbox"]:checked {
        background-color: var(--theme-color);
        border-color: var(--theme-color);
    }

    /* Checkmark */
    input[type="checkbox"]::after {
        content: "";
        width: 8px;
        height: 14px;
        border: solid white;
        border-width: 0 4px 4px 0;
        transform: rotate(45deg) scale(0);
        transition: transform 0.2s ease;
    }

    /* Show checkmark when checked */
    input[type="checkbox"]:checked::after {
        transform: rotate(45deg) scale(1);
    }

    /* Disabled state */
    input[type="checkbox"]:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }



/****INPUT TEXT****/
/* Modern Text Input */
input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #A8A8A8;
    border-radius: 6px;
    outline: none;
    background-color: #fff;
    color: #333;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    /* Placeholder styling */
    input[type="text"]::placeholder {
        color: #999;
    }

    /* Hover state */
    input[type="text"]:hover {
        border-color: #c5c5c5;
    }

    /* Focus state (important for modern UI) */
    input[type="text"]:focus {
        border-color: var(--theme-color);
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
    }

    /* Disabled state */
    input[type="text"]:disabled {
        background-color: #f5f5f5;
        color: #999;
        cursor: not-allowed;
    }

    /* When it has value */
    input[type="text"]:not(:placeholder-shown) {
        border-color: var(--theme-color);
    }



/****INPUT DATE****/
/* Modern Date Input */
input[type="date"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #A8A8A8;
    border-radius: 6px;
    outline: none;
    background-color: transparent;
    color: #333;
    transition: all 0.2s ease;
    box-sizing: border-box;
    cursor: pointer;
}

    /* Hover */
    input[type="date"]:hover {
        border-color: var(--theme-color);
    }

    /* Focus */
    input[type="date"]:focus {
        border-color: var(--theme-color);
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
    }

    /* Disabled */
    input[type="date"]:disabled {
        background-color: #f5f5f5;
        color: #999;
        cursor: not-allowed;
    }

    input[type="date"].filled {
        border-color: var(--theme-color);
    }

/**********ADDED ON 07-04-2026 BY SOMADITYA ROY*******************/
/* Hide native radio */
input[type="radio"] {
    position: absolute;
    opacity: 0;
}

/* Custom radio */
.custom-radio {
    width: 18px;
    height: 18px;
    border: 1px solid #d0d5dd;
    border-radius: 50%;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fff;
}

    /* Inner dot (modern style) */
    .custom-radio::after {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: var(--theme-color);
        transform: scale(0);
        transition: transform 0.2s ease;
    }

input[type="radio"]:checked + .custom-radio {
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
}
    /* Animate dot */
    input[type="radio"]:checked + .custom-radio::after {
        transform: scale(1);
    }

/* Hover effect */
.custom-radio:hover {
    border-color: var(--theme-color);
}

/* Disabled */
input[type="radio"]:disabled + .custom-radio {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Label */
.custom-label {
    margin-left: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}


/* Modern TEXT AREA */
textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #d0d5dd;
    outline: none;
    background-color: #fff;
    color: #333;
    transition: all 0.2s ease;
    box-sizing: border-box;
    resize: vertical;
    min-height: 42px;
}

    /* Placeholder */
    textarea::placeholder {
        color: #aaa;
    }

    /* Hover */
    textarea:hover {
        border-color: #b8c0cc;
    }

    /* Focus (modern highlight) */
    textarea:focus {
        border-color: var(--theme-color);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-color) 20%, transparent);
    }

    /* Disabled */
    textarea:disabled {
        background-color: #f5f7fa;
        color: #999;
        cursor: not-allowed;
    }

    /* When user has typed */
    textarea:not(:placeholder-shown) {
        border-color: var(--theme-color);
    }

/* Optional: smooth typing feel */
textarea {
    line-height: 1.5;
}


/**********ADDED ON 14-04-2026 BY SOMADITYA ROY*******************/
/**********START : MODAL BACK*******************/
.modern-modal {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.4);
}

    /* Modal box */
    .modern-modal .modal-content {
        border: none;
        border-radius: 14px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
        animation: fadeScale 0.25s ease-in-out;
    }

/* Smooth pop animation */
@keyframes fadeScale {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Header styling */
.modern-modal .modal-header {
    padding-bottom: 0;
}

/* Buttons spacing */
.modern-modal .modal-footer {
    justify-content: flex-end;
    gap: 10px;
}
    /* Back button */
    .modern-modal .modal-footer .btn {
        padding: 6px 12px;
        font-size: 15px;
        border-radius: 6px;
        background: #fff;
        color: var(--theme-color);
        font-weight: 500;
        text-decoration: none;
        border: none;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border: 1px solid var(--theme-color);
    }

        .modern-modal .modal-footer .btn:not(:disabled):hover {
            transform: translateX(-2px);
            background: var(--theme-color);
            color: #fff;
            border: 1px solid #fff;
        }

        /* disable effect */
        .modern-modal .modal-footer .btn:disabled {
            background: #A8A8A8;
            color: #fff;
            opacity: 0.4;
            pointer-events: none;
            transform: none;
        }
/**********END : MODAL BACK*******************/