﻿* {
    margin: 0;
    padding: 0;
}

body {
    background-color: whitesmoke;
}

html {
    height: 100%;
}

body, p, h1, h2, h3, h4, h5, h6, span, div {
    color: black;
}

/*Background color*/
/*#grad1 {
    background-color: : #9C27B0;
    background-image: linear-gradient(120deg, #FF4081, #81D4FA);
}*/

/*form styles*/
#msform {
    text-align: center;
    position: relative;
    margin-top: 20px;
}

    #msform fieldset .form-card {
        background: 7 white;
        border: 0 none;
        border-radius: 0px;
        /*box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);*/
        padding: 20px 40px 30px 40px;
        /*box-sizing: border-box;*/
        width: 94%;
        margin: 0 3% 20px 3%;
        /*stacking fieldsets above each other*/
        position: relative;
    }

    #msform fieldset {
        background: white;
        /*border: 0 none;*/
        /*border-radius: 0.5rem;*/
        box-sizing: border-box;
        width: 100%;
        margin: 0;
        padding-bottom: 20px;
        border: 0 none;
        padding: 10px; /* Add some spacing inside */
        border-radius: 5px; /* Optional: Rounded corners */
        box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
    }

        /*Hide all except first fieldset*/
        #msform fieldset:not(:first-of-type) {
            display: none;
        }

        #msform fieldset .form-card {
            text-align: left;
            color: black;
        }

    #msform input, #msform textarea {
        padding: 0px 8px 4px 8px;
        border: 1px solid #4F4F4F;
        border-radius: 6px;
        margin-bottom: 15px;
        margin-top: 2px;
        width: 98%;
        box-sizing: border-box;
        font-family: Arial;
        color: black;
        font-size: 16px;
        letter-spacing: 1px;
        /* min-width: -webkit-fill-available;*/
        font-family: Arial;
    }


#prsnl_dtl input {
    min-width: -webkit-fill-available;
    border: 1px solid #ced4da;
}

/*        #msform input:focus, #msform textarea:focus {
            -moz-box-shadow: none !important;
            -webkit-box-shadow: none !important;
            box-shadow: none !important;
            border: none;
            font-weight: bold;
            border-bottom: 2px solid #2973A9;
            outline-width: 0;
        }*/

/*Blue Buttons*/
#msform .action-button {
    /*width: 100%;*/
    background: #2973A9;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px 5px;
    /*margin: 10px 5px;*/
}

    #msform .action-button:hover, #msform .action-button:focus {
        box-shadow: 0 0 0 2px white, 0 0 0 3px #2973A9;
    }
/* Prevent focus styles specifically for .action-button-previous */
#msform .action-button-previous:focus {
    outline: none !important;
    box-shadow: none !important;
}
/*Previous Buttons*/
#msform .action-button-previous {
    background: white;
    font-weight: bold;
    color: #2973A9;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 0px 5px;
    margin: 15px 0px;
    cursor: pointer;
}

/*        #msform .action-button-previous:hover, #msform .action-button-previous:focus {
            box-shadow: 0 0 0 2px white, 0 0 0 3px #616161;
        }*/

/*Dropdown List Exp Date*/
.action-button:focus, action-button-previous:focus
{
    cursor:pointer;
}
select.list-dt {
    padding: 0px 8px 4px 8px;
    border: 1px solid #4F4F4F;
    /* border-bottom: 1px solid #ccc; */
    border-radius: 6px;
    height: 30px;
    margin-bottom: 25px;
    margin-top: 2px;
    width: 100%;
    /*    box-sizing: border-box;*/
    font-family: Arial;
    color: black;
    font-size: 16px;
    letter-spacing: 1px;
}

/*    select.list-dt:focus {
        border-bottom: 2px solid #2973A9;
    }*/

/*The background card*/
.card {
    z-index: 0;
    border: none;
    border-radius: 0.5rem;
    position: relative;
}

/*FieldSet headings*/
.fs-title {
    font-size: 25px;
    color: #2C3E50;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey;
}

    #progressbar .active {
        color: #000000;
    }

    #progressbar li {
        list-style-type: none;
        font-size: 12px;
        width: 25%;
        float: left;
        position: relative;
    }

    /*Icons in the ProgressBar*/
    #progressbar #account:before {
        font-family: FontAwesome;
        /*content: "\f023";*/
        content: "2";
    }

    #progressbar #personal:before {
        font-family: FontAwesome;
        /*content: "\f007";*/
        content: "1";
    }

    #progressbar #payment:before {
        font-family: FontAwesome;
        /*content: "\f09d";*/
        content: "3";
    }

    #progressbar #confirm:before {
        font-family: FontAwesome;
        /*content: "\f00c";*/
        content: "4";
    }

    /*ProgressBar before any progress*/
    #progressbar li:before {
        width: 50px;
        height: 50px;
        line-height: 45px;
        display: block;
        font-size: 18px;
        color: #ffffff;
        background: lightgray;
        border-radius: 50%;
        margin: 0 auto 10px auto;
        padding: 2px;
    }

    /*ProgressBar connectors*/
    #progressbar li:after {
        content: '';
        width: 100%;
        height: 2px;
        background: lightgray;
        position: absolute;
        left: 0;
        top: 25px;
        z-index: -1;
    }

    /*Color number of the step and the connector before it*/
    #progressbar li.active:before, #progressbar li.active:after {
        background: #2973A9;
    }
    /*START show hide active/inactive cases*/
    #progressbar li strong {
        display: none;
    }

    #progressbar li.active strong {
        display: block;
    }
/*show hide active/inactive cases END*/

/*Imaged Radio Buttons*/
.radio-group {
    position: relative;
    margin-bottom: 25px;
}

.radio {
    display: inline-block;
    width: 204;
    height: 104;
    border-radius: 0;
    background: lightblue;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    cursor: pointer;
    margin: 8px 2px;
}

    .radio:hover {
        box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
    }

    .radio.selected {
        box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1);
    }

/*Fit image in bootstrap div*/
.fit-image {
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.personalInfo label, .projectInfo label {
    color: black;
    font-weight: 500;
}

.personalInfo span, .projectInfo span {
    color: black;
    display: inline-block;
    max-width: 100%;
    /* overflow: hidden;
    text-overflow: ellipsis;*/
    white-space: nowrap;
    font-size: smaller;
}

label.d-block {
    text-align: left;
    font-weight: 500;
}

.personalInfo, .projectInfo {
    text-align: left;
}

    .personalInfo.col-4, .projectInfo.col-4 {
        margin-top: 5px;
    }

#btn-prsnl-nxt {
    width: 50px;
}

#prsnl-section, #project-section, #summary-section, #complete-section {
    margin-top: 50%;
    text-align: justify;
    text-justify: inter-word; /* Improves spacing between words */
    margin-left: 20px
}


/*payment complete page design*/

.receipt-container {
    background: #fff;
    width: 350px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.checkmark {
    font-size: 50px;
    color: #2ecc71;
}

.success-text {
    color: #2973A9;
    font-size: 18px;
    font-weight: bold;
}

#trnx_amount_id {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

.transaction-details {
    font-size: 14px;
    color: #333;
}

.transaction-id {
    color: green;
    font-weight: bold;
}

.customer-care {
    font-size: 12px;
    color: #333;
    margin-top: 10px;
    color: #9d9d9cf5;
}

#project-info-id input select {
    min-width: -webkit-fill-available;
    border: 1px solid #ced4da;
}
#sum-plot {
    white-space: nowrap; /* Prevents text from wrapping */
    overflow: hidden; /* Hides overflowing content */
    text-overflow: ellipsis; /* Adds '...' when text is too long */
    display: block; /* Ensures the effect applies properly */
    max-width: 100%; /* Ensures it does not overflow parent */
}

.text-danger{
    color:red;
}

/* Full-Screen Spinner */
#loading-spinner {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.7);*/ /* Dark overlay */
    background: #2973A9; /* Dark overlay */
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
}

.spinner-container {
    text-align: center;
    color: white;
}

.spinner-border {
    width: 4rem;
    height: 4rem;
}

.loading-text {
    margin-top: 10px;
    font-size: 1.5rem;
    font-weight: bold;
}
#threedsChallengeRedirect {
    pointer-events: none; /* Blocks all interactions */
}

#challengeFrame {
    pointer-events: auto; /* Enables interaction inside iframe */
}
#btn-prsnl-nxt:disabled {
    background-color: gray !important;
    color: white !important;
    cursor: not-allowed;
    opacity: 0.6;
}
#btn-verify-memship:disabled {
    background-color: gray !important;
    color: white !important;
    cursor: not-allowed;
    opacity: 0.6;
}

.complt-step p {
    margin-bottom: 0.2rem;
}

#cncy-id {
    font-size: 0.75em; /* Makes the font size 75% of the parent element */
    position: relative; /* Enables positioning adjustments */
    bottom: 0.3em; /* Moves the text up by 0.2em */
    color: #2973A9;
}

#btn-proceed-summary {
    /*width: 250px;*/
    background-color: #2973A9;
}

/* Reduce row height */
#chargesTable tbody tr {
    height: 30px; /* or use line-height */
    font-size: 13px;
}

/* Reduce padding in table cells */
#chargesTable td,
#chargesTable th {
    padding: 4px 8px;
    font-size: 13px;
    white-space: nowrap; /* Prevent wrapping */
}

/* Optionally reduce table width */
/*#chargesTable {
    width: auto !important;
}*/


#summaryTable {
    width: 100%;
    table-layout: auto;
    font-size: 11px;
    word-wrap: break-word;
}

    #summaryTable th,
    #summaryTable td {
        padding: 4px 6px;
        vertical-align: top;
        word-break: break-word;
        white-space: normal;
    }

    #summaryTable .remarks-column {
        max-width: 150px; /* adjust as needed */
    }

@media screen and (max-width: 768px) {
    #summaryTable {
        font-size: 12px;
    }
}
