﻿/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}


.table-bordered1 > tbody > tr > th {
    background-color: #ae275f !important;
    color: white !important;
}

.table-bordered1 {
    /*border: 1px solid #EBEBEB;*/
    border: 2px solid black;
}

    .table-bordered1 > thead > tr > th,
    .table-bordered1 > tbody > tr > th,
    .table-bordered1 > tfoot > tr > th,
    .table-bordered1 > thead > tr > td,
    .table-bordered1 > tbody > tr > td,
    .table-bordered1 > tfoot > tr > td {
        border: 1px solid #e7e7e7;
    }

.table > thead > tr > th {
    border-bottom: 1px solid #DDDDDD;
    vertical-align: bottom;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    border-top: 1px solid #e7eaec;
    line-height: 1.42857;
    padding: 8px;
    vertical-align: top;
}

.wrapper {
    padding: 15px;
}

.maincontainer {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

/* Header Styles */
.ibox-title {
    padding: 10px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.innertitle {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

    .innertitle::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 3px;
        width: 180px;
        border-radius: 5px;
        background: linear-gradient(135deg, #71b7e6, #9b59b6);
    }

/* Form Layout */
.user-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -10px;
}

.input-box {
    width: calc(33.33% - 20px);
    margin: 0 10px 15px;
}

.details {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
    color: #000000;
    font-size: 14px;
}

    .details span {
        color: red;
        font-size: 15px;
    }

.fields {
    width: 100%;
    height: 38px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

    .fields:focus {
        border-color: #66afe9;
        outline: 0;
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
    }

/* Date Picker Styles */
._date, .__date_sm {
    height: 38px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}


._date {
    width: 171px;
}

.__date_sm {
    width: 120px;
}

._calender {
    height: 38px;
    width: 38px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f8f9fa;
}

.MyCalendar {
    background-color: rgb(206, 198, 198);
}

/* Radio Button Styles */
.gender-radio input[type="radio"] {
    margin-right: 5px;
    accent-color: #9b59b6;
    transform: scale(1.2);
}

/* File Upload Styles */
.custom-file-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .custom-file-upload:hover {
        background-color: #0056b3;
    }

    .custom-file-upload i {
        margin-right: 5px;
    }

.file-name {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #666;
}

/* Image Preview Styles */
.__files {
    text-align: center;
    border: 1px solid #e7eaec;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.__file__details {
    font-weight: 500;
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.__files img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    padding: 5px;
    background-color: #fff;
}

/* Button Styles */
._button, ._file__upload {
    display: inline-block;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    margin: 5px;
}

.btnsubmit {
    background: #9a49ed;
    color: white;
}

    .btnsubmit:hover {
        background: #e3d0f7;
        /*border: 2px solid #8b1cff;*/
        color: #8b1cff;
        transition: all 0.2s ease;
    }

.btndelete {
    background: #e60707;
    color: white;
}

.row.g-3 {
    padding-top: 1rem;
}

*/ ._file__upload {
    background-color: #007bff;
    color: #fff;
}

._file__upload:hover {
    background-color: #0056b3;
}

/* Responsive Grid Adjustments */
.divrow {
    display: flex;
    flex-wrap: wrap;
    /*margin: 0 -10px;*/
}

.__tab2 {
    width: calc(50% - 20px);
}

.__tab3 {
    width: calc(33.33% - 20px);
}

.__tab6 {
    width: calc(16.66% - 20px);
}

.__tab2_img {
    width: calc(33.33% - 20px);
}

.__address_ht {
    min-height: 78px;
}

/* Utility Classes */
.pl-unset {
    padding-left: 0;
}

.pr-unset {
    padding-right: 0;
}


/*gridview*/
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

    .data-table thead th {
        background: #f8f9fa;
        padding: 10px 12px;
        text-align: left;
        border-bottom: 2px solid #dee2e6;
        font-weight: 600;
    }

    .data-table tbody th {
        background: #62a3f1;
        color: white;
        padding: 3px 12px;
        text-align: center;
        border: 2px solid #dde7ff;
    }

    .data-table tbody td {
        padding: 3px 12px;
        border-bottom: 1px solid #dee2e6;
        align-content: center;
        border: 2px solid #dde7ff;
    }

    .data-table tbody tr:hover {
        background-color: #f8f9fa;
    }


/* Responsive Adjustments */


@media (max-width: 1200px) {
    .input-box {
        width: calc(50% - 20px);
    }

    .__tab2, .__tab3, .__tab6 {
        width: calc(50% - 20px);
    }

    .__tab2_img {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .nav-tabs > li {
        flex: 1 0 auto;
        text-align: center;
    }

        .nav-tabs > li > a {
            padding: 8px 5px;
            font-size: 14px;
        }

    .input-box, .__tab2, .__tab3, .__tab6, .__tab2_img {
        width: 100%;
    }

    ._date, .__date_sm {
        width: 100%;
    }

    .gender-radio {
        flex-direction: column;
        gap: 5px;
    }

    ._button, ._file__upload {
        width: calc(50% - 10px);
        font-size: 14px;
        padding: 8px 5px;
    }

    .scrollable-container {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .innertitle {
        font-size: 20px;
    }

        .innertitle::before {
            width: 120px !important;
        }

    .nav-tabs {
        flex-direction: column;
    }

        .nav-tabs > li {
            width: 100%;
            margin-bottom: 5px;
        }

            .nav-tabs > li > a {
                border-radius: 4px;
            }

            .nav-tabs > li.active > a {
                border-bottom: 1px solid #ddd;
            }

    ._button, ._file__upload {
        width: 100%;
        margin: 5px 0;
    }

    .details {
        font-size: 14px;
    }

    .fields {
        height: 36px;
        font-size: 14px;
    }

    .__file__details {
        font-size: 15px;
    }

    .custom-file-upload {
        padding: 6px 10px;
        font-size: 14px;
    }

    .input-box {
        padding: 1rem 1.2rem 0 1.2rem;
    }

    .divrow {
        padding: 1rem 0.9rem 0 0.9rem;
    }
}

/* Print Styles */
@media print {
    .no-print, .nav-tabs {
        display: none !important;
    }

    body {
        padding: 0;
        background: none;
    }

    .maincontainer {
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    .input-box {
        width: 50%;
        margin-bottom: 10px;
    }

    .tab-content > .tab-pane {
        display: block !important;
        opacity: 1 !important;
    }
}

@media (min-width: 992px) {
    .maincontainer {
        width: 90%;
        min-width: 500px;
        margin: 0 auto;
        margin-top: 1%;
    }
}

@media only screen and (max-width: 600px) {
    .divrow {
        padding: unset;
        margin: 0 -10px;
    }

    .input-box {
        padding: unset;
        margin: unset;
        padding-top: inherit;
    }

    h3 {
        justify-content: center;
        display: flex;
    }

    /*.innertitle {
        justify-self: center !important;
    }*/
}
