﻿/*SITE.MASTER*/
.hidden-panel {
    display: none;
}

/*header*/
.header {
    display: flex;
    align-items: center;
    background-color: #0f4859;
    color: white;
    padding: 10px;
}

.logo {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.header-title {
    flex-grow: 1;
    font-size: 1.5em;
    font-weight: bold;
}

.user-icon {
    display: flex;
    align-items: center;
}

.user-icon i {
    margin-right: 5px;
}

.header-right {
    display: flex;
    flex-direction: row;
    align-content: center;
}

.user-name {
    padding: 10px;
}

/*dashboard*/

.Completed .section-heading {
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 16px;
    background-color: #f0f4ff;
    /* Light blue background */
    border-left: 4px solid #007bff;
    /* Blue accent bar on the left */
    box-sizing: border-box;
}


.Completed .section-heading h5 {
    margin: 0;
    font-size: 18px;
    color: #198754 !important;
    /* Darker text color */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.Pending .section-heading {
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 0px;
    background-color: #f0f4ff;background-color: #fbe4c2;

    /* Light blue background */
    border-left: 4px solid #007bff;
    border-left: 4px solid #a56c00;
    /* Blue accent bar on the left */
    box-sizing: border-box;
}

.Pending .section-heading h5 {
    margin: 0;
    font-size: 18px;
    color: #003366;
    color: #a56c00;
    /* Darker text color */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.projectexec .section-heading {
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 0px;
    background-color: #f0f4ff;
    /* Light blue background */
    border-left: 4px solid #257599;
    /* Blue accent bar on the left */
    box-sizing: border-box;
}

.projectexec .section-heading h5 {
    margin: 0;
    font-size: 18px;
    color: #003366;
    /* Darker text color */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.Completed {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 10px 0;
    border: 1px solid #cbd6e2;
    padding: 10px;
    border: none !important;
    background: #00800026 !important;
    box-shadow: 0px 0px 3px 0px #045504 !important;
    border-radius: 10px !important;
}

.Pending { 
    background: #ffa5001a;
    border-radius: 10px;
    border: none !important; 
    box-shadow: 0px 0px 3px 0px #75510c !important; 
    border-radius: 10px !important;
}

.projectexec { 
    background: #71c0e573;
    border-radius: 10px;
    border: none !important;
    box-shadow: 0px 0px 3px 0px #065675 !important;
    border-radius: 10px !important;
}

.completed-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 12px;
    background-color: #f5f8ff;
    border: 1px solid #cbd6e2;
    border-radius: 8px;
    width: 220px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
}
 
.completed-header {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 163px;
}

.completed-number {
    width: 100%;
    padding: 6px 8px;
    font-size: 14px;
    border: none;
    background-color: #f5f8ff;
    border-radius: 4px;
    color: #495057;
    pointer-events: none;
}

.Pending {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; 
    border: 1px solid #cbd6e2;
    padding: 10px;
}

.pending-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 12px;
    background-color: #f5ffff;
    border: 1px solid #cbd6e2;
    border-radius: 8px;
    width: 220px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
}

.pending-header {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 146px;
}

.pending-number {
    width: 100%;
    padding: 6px 8px;
    font-size: 14px;
    border: none;
    background-color: transparent;
    border-radius: 4px;
    color: #495057;
    pointer-events: none;
}


.projectexec {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; 
    border: 1px solid #cbd6e2;
    padding: 10px;
}

.projectexec-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 12px;
    background-color: #f5ffff;
    border: 1px solid #cbd6e2;
    border-radius: 8px;
    width: 220px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
}

.projectexec-header {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 156px;
}

.projectexec-number {
    width: 100%;
    padding: 6px 8px;
    font-size: 14px;
    border: none;
    background-color: #f5ffff;
    border-radius: 4px;
    color: #495057;
    pointer-events: none;
}


/*Progress Bar*/
.progress-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 85%;
    margin: 10px auto;
}

.tick {
    font-size: 24px;
    color: white;
    background-color: green;
    padding: 5px;
    border-radius: 5px;
    display: inline-block;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    /* width: 16%;*/
}

.step .stage-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step .stage-text p {
    margin: 0;
    text-align: center;
    font-size: 14px
}

.step .stage-date {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.step span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 16px;
}



.progress-line {
    height: 4px;
    background-color: #ddd;
    flex-grow: 1;
    margin: 0 5px;
    position: relative;
    background: #b4c0d1;
    width: 130px;
    top: 18px;
    border-radius: 23px;
}

.completed span {
    background-color: green;
}

.current span {
    background-color: blue;
}

.pending span {
    background-color: gray;
}


.completed+.progress-line {
    background-color: green;
}

.current+.progress-line {
    background-color: blue;
}

/*footer*/
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: #0f4859;
    color: white;
    padding: 10px 0;
    font-size: 0.8em;
}


.th_header {
    background: gray;
}

/*TOP NAVIGATION BAR*/
.navbar-top {
    display: flex;
    justify-content: left;
}

.navbar-top-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    padding: 10px;
}

.navbar-top .menu-item {
    text-decoration: none;
    color: #0f4859;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    min-width: 120px;
}

.navbar-top .menu-item:hover {
    background-color: #e9ecef;
    color: #0056b3;
    cursor: pointer;
}

.navbar-top .menu-item.active {
    background-color: #0f4859;
    color: #fff;
}

.navbar-link a {
    margin-left: auto;
    display: inline-block;
    font-size: 15px;
    color: #0f4859;
    font-weight: 600;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #0f4859;
    background-color: #ffffff;
    transition: all 0.25s ease-in-out;
}

/* Hover Effect */
.navbar-link a:hover {
    background: #0f4859;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0px 3px 6px rgba(0,0,0,0.1);
}

/* When Active / Focused (optional visual) */
.navbar-link a:focus {
    outline: none;
    box-shadow: 0px 0px 4px rgba(0, 86, 179, 0.7);
}

.logout_btn{
    border-radius: 10px;
}
/*SUBMENU*/
.sub-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.sub-menu-btn {
    border: none;
    background-color: #e0e0e0;
    color: #333;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    min-width: 10%;
}

.sub-menu-btn:hover {
    background-color: #ccc;
}

.sub-menu-btn.active {
    background-color: #0f4859;
    color: white;
    font-weight: bold;
}

.sub-menu-btn:focus {
    outline: none;
}

.table-container th {
    padding: 10px;
    text-align: center;
    font-size: 16px;
    background: #ccd5e1;
}

/*REG CLOSE MODAL*/
.close {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    transition: color 0.3s;
}

.close:hover {
    color: red;
}

.req-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Content */
.req-modal-content {
    background-color: white;
    margin: 8% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    overflow-y: scroll;
    max-height: 650px;
}

/* Header Styling */
.req-modal-header {
    display: flex;
    justify-content: space-between;
    background-color: #0f4859;
    color: white;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}



/* Body Styling */
.req-modal-body {
    padding: 20px;
    font-size: 16px;
    color: #333;
}

/* Footer Styling */
.req-modal-footer {
    padding: 10px;
    text-align: center;
}

.table-container td {
    padding: 8px;
    text-align: left;
}

/*REG CLOSE MODAL*/

.reg-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Content */
.reg-modal-content {
    background-color: white;
    margin: 8% auto;
    padding: 20px;
    border-radius: 10px;
    width: 70%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    overflow-y: scroll;
    max-height: 650px;
}

/* Header Styling */
.reg-modal-header {
    background-color: #0f4859;
    color: white;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
}

/* Body Styling */
.reg-modal-body {
    padding: 20px;
    font-size: 16px;
    color: #333;
}

/* Footer Styling */
.reg-modal-footer {
    padding: 10px;
    text-align: center;
}

.modal {
    background-color: rgba(0, 0, 0, 0.5);
}

/*MESSAGE MODAL */
.msg-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Content */
.msg-modal-content {
    background-color: white;
    margin: 15% auto;
    border-radius: 10px;
    width: 40%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Header Styling */
.msg-modal-header {
    background-color: #0f4859;
    color: white;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Body Styling */
.msg-modal-body {
    padding: 20px;
    font-size: 16px;
    color: #333;
}

/* Footer Styling */
.msg-modal-footer {
    padding: 10px;
    text-align: center;
}

/* Button Styling */
.msg-close-btn {
    background-color: #0f4859;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

.msg-close-btn:hover {
    background-color: #0d3b47;
}

/* LOADER */
.loading-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    top: 0;
    left: 0;
    z-index: 9999;
    display: none;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.header-parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.header-title {
    font-size: 20px;
    font-weight: bold;
    width: 19%;
    flex-shrink: 0;
}

.header-child {
    display: flex;
    gap: 15px;
    text-align: center;
    align-items: end;
    width: 81%;
}

.header-grand-child {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    max-width: 186px;
    text-align: left;
}

.parent-ete {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
}

.child-ate {
    display: flex;
    float: right;
    margin-left: auto;
    width: 150px;
}

.lbl-ate {
    display: flex;
    flex-direction: row;
    gap: 5px;
    font-weight: bold;
}

.lbl-ate-label {
    margin-right: 20px;
}

.parent {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.child {
    min-width: 150px;
    max-width: 200px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.child-hr {
    min-width: 150px;
    max-width: 200px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.child-lg {
    min-width: 290px;
    max-width: 290px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.child-xlg {
    min-width: 400px;
    max-width: 400px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.child-xxlg {
    min-width: 700px;
    max-width: 700px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.child-xs {
    min-width: 100px;
    max-width: 100px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.child-xxs {
    min-width: 20px;
    max-width: 20px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.child-file {
    display: flex;
    flex-direction: row;
}

.hidden {
    display: none;
}


/*Error Message*/
.error-message {
    color: red;
    font-size: 12px;
    visibility: hidden;
    display: block;
}

.error-message.show {
    visibility: visible;
}

/*Required */
.required_icon {
    color: red;
}


/* Link styling */
.view-link {
    color: #007bff; /* Bootstrap blue */
    text-decoration: none;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}

    /* Hover effect */
    .view-link:hover {
        color: #fff;
        background-color: #007bff;
        text-decoration: none;
    }

    /* Optional: pressed/focus state */
    .view-link:focus, .view-link:active {
        outline: none;
        background-color: #0056b3;
        color: #fff;
    }


/*form structure*/
.frm_bx {
    width: 80%;
    margin: 0 auto;
    padding: 15px;
    background: #E7E6E6;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: 0px 0px 2px 1px #c1c1c1;
    margin-bottom: 1rem;
}

.sec {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0px 2px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #f9f9f9;
    /*margin-top: 10px;*/
}

.sec-header {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 16px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sec-subheader {
    padding: 10px 20px;
    font-weight: bold;
    font-size: 16px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*Grid View*/
.custom-gridview th {
    background-color: #0f4859;
    font-weight: bold;
    padding: 10px;
    text-align: left;
    color: #fff;
    border: 1px solid #555;
    text-align: center;
}

.custom-gridview .action-button {
    background-color: #0f4859;
    border: none;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.custom-gridview {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 2px 1px #0f48595c;
    /*margin-bottom: 5rem;*/
    background: #fff;
    margin-top: 10px;
}

.custom-gridview thead tr {
    position: sticky;
    top: 0;
    background: #f8f9fa;
    z-index: 2;
}

.custom-gridview th,
.custom-gridview td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
}

.custom-gridview tbody {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: auto;
}

.custom-gridview thead,
.custom-gridview tbody tr {
    width: 100%;
    table-layout: fixed;
}

/*STAGE DETAILS */
.parent-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

#mywaitmsg {
    width: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: #0000005c;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9
}

#mywaitmsg h3 {
    color: #fff
}

.fa {
    padding: 5px;
}

.fa-times {
    color: red;
}

.tbl_hdng_bold {
    font-weight: 600;
    width: 20%
}

.tbl_hdr_text {
    background: red;
    border-radius: 5px;
}

.containr_wrpr,
.containr_wrpr_regstn {
    padding: 20px;
    background: #9ad5e747;
    border-radius: 10px;
    margin-top: 2rem;
    box-shadow: 0px 0px 3px 1px #0f485957;
}

.containr_wrpr_regstn {
    background: #ffd95026;
}

form#form1 {
    padding-bottom: 40px;
}

.bck_shdw {
    padding-bottom: 10px;
    padding-top: 10px;
    padding-inline: 30px;
    background-color: #87c9dd3d;
    /* box-shadow: 1px 0px 1px 0px #0f4859; */
    min-height: 82.15dvh;
    box-shadow: 0 0px 2px 0 #0f4859, 0 1px 1px -2px #0f4859
}

.btn_block_cnter {
    justify-content: center
}

.tbl_hdng {
    width: 25%
}

.tbl_data {
    width: 25%
}





.progress-bar-wrapper {
    width: 100px;
    height: 12px;
    display: flex;
    border: 1px solid #ccc;
    border-radius: 3px;
    overflow: hidden;
    background-color: #f0f0f0;
    position: relative;
}

.progress-bar-done {
    background-color: green;
    height: 100%;
}

.progress-bar-pending {
    background-color: #d3d3d3;
    height: 100%;
}

.progress-bar-red {
    background-color: red;
    height: 100%;
}

.progress-bar-gray {
    background-color: gray;
    height: 100%;
}

.form-table,
.sub-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin-bottom: 20px;
}

.form-table th,
.form-table td,
.sub-table th,
.sub-table td {
    border: 1px solid #ccc;
    padding: 8px;
    vertical-align: top;
}

.form-table th {
    background-color: #f2f2f2;
    text-align: center;
    font-weight: bold;
}

.sub-table th {
    background-color: #e6f7ff;
    text-align: left;
}

.form-panel h4 {
    background-color: #0078D7;
    color: #fff;
    padding: 10px;
    margin: 0;
}

.form-header {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: Arial, sans-serif;
}

.form-subheader {
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}


.form-control-inline {
    display: inline-block;
    width: 45%;
    margin-right: 5px;
}