/*----------Global Save & Proceed button-----------*/
* {
    box-sizing: border-box;
}
    *:focus {
        outline: none !important;
        box-shadow: none !important;
    }
.btn {
    padding: 9px 22px;
    font-size: 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight:400;
}
.exit-btn {
    border: 1px solid #2f2f2f;
    /* background-color: #2f2f2f; */
    color: white;
}

    .exit-btn:hover {
        border: 1px solid #FF4C0B;
        /* background-color: #2f2f2f; */
        color: white;
    }
.proceed-btn {
    background-color: #FF5533;
    color: white;
}

    .proceed-btn:hover {
        background-color: #cc4444;
    }
.text-danger {
    color: #ff4d4d !important;
    font-size: 11px;
    margin-top: -8px;
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}


/*----------Showtoast message-----------*/


.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-40%);
    z-index: 8888;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.custom-toast {
    min-width: 300px;
    padding: 12px 24px;
    border-radius: 8px;
    margin-bottom: 10px;
    color: white;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-out;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.toast-success {
    background: #28a745;
    border-left: 3px solid #1e7e34;
}

.toast-error {
    background: #dc3545;
    border-left: 3px solid #bd2130;
}
/*----------dislink button-----------*/

.disabled-link {
    color: #FFFFFF99 !important;
    pointer-events: none;
    cursor: not-allowed;
    text-decoration: none;
    opacity: 0.6;
}

/*----------Pagination css-----------*/

.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 8px 8px;
}

.pagination-info {
    color: #9a9a9a;
    font-size: 0.85rem;
}

.pagination-controls {
    display: flex;
    gap: 5px;
}

.p-btn {
    background: transparent;
    border: 1px solid #444;
    color: #ccc;
    padding: 4px 12px;
    border-radius: 4px;
    transition: all 0.2s;
    cursor: pointer;
}

    .p-btn:hover:not(:disabled) {
        background: #3a3a3a;
        color: #fff;
        border-color: #666;
    }

    .p-btn.active {
        background: #FF5533;
        color: white;
        border-color: #312C2E;
    }

    .p-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }
/*----------Project admin table css-----------*/
.admin-card {
    width: 100%;
    max-width: auto;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 10px;
    color: #eaeaea;
}


.page-title {
    font-weight: 600;
    font-size: 28px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}


.content-row {
    width: 100%;
    display: flex;
    gap: 0;
    padding: 16px;
    border: 1px solid #3a3a3b;
    border-radius: 5px;
    overflow: hidden;
}

.project-panel {
    border-right: 1px solid #3a3a3b;
    width: 260px;
    min-width: 260px;
    background: #18181b;
    padding: 12px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .project-panel .panel-item span {
        display: block;
        padding: 12px 16px;
        color: #fff;
        border-radius: 6px;
    }

    .project-panel .panel-item.active span {
        background: rgb(49, 44, 46);
        text-decoration: none !important;
        outline: none !important;
    }

.table-section {
    flex: 1;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.table-header {
    width: 100%;
    background: #312C2E;
    border-radius: 5px;
    padding: 8px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.icon-btn {
    width: 34px;
    height: 34px;
    background: #2a2a2f;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #bbb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}
.project-admin-icon {
    font-size: 20px;
    width: 20px;
    height: 20px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
    .icon-btn:hover {
        background: #333;
    }

.search-box {
    display: flex;
    align-items: center;
    background: #2a2a2f;
    border-radius: 8px;
    padding: 4px 8px;
    gap: 6px;
}

    .search-box input {
        background: none;
        border: none;
        outline: none;
        color: #fff;
    }



.users-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

    .users-table th,
    .users-table td {
        padding: 14px 16px;
        border-bottom: 1px solid #2f2f2f;
        font-size: 14px;
        text-align: left;
        word-wrap: break-word;
    }

    .users-table th {
        color: #bfbfbf;
        font-weight: 600;
    }

.th-content {
    display: flex;
    align-items: center;
    gap: 6px;
}


@media (max-width: 1200px) {

    .content-row {
        flex-direction: column;
    }

    .project-panel {
        width: 100%;
        flex-direction: column;
        overflow-x: auto;
    }

    .table-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .users-table thead {
        display: none;
    }

    .users-table,
    .users-table tbody,
    .users-table tr,
    .users-table td {
        display: block;
        width: 100%;
    }

        .users-table tr {
            background: #1c1c1c;
            padding: 15px;
            margin-bottom: 15px;
            border-radius: 8px;
            border: 1px solid #333;
        }

        .users-table td {
            position: relative;
            padding-left: 120px;
            border: none;
            font-size: 14px;
        }

            .users-table td::before {
                content: attr(data-label);
                position: absolute;
                left: 15px;
                top: 8px;
                font-weight: 600;
                color: #aaa;
                font-size: 13px;
            }
}


@media (max-width: 412px) {

    .users-table td {
        padding-left: 100px;
        font-size: 13px;
    }

    .search-box {
        width: 120px;
    }
}


.form-box {
    flex-direction: column;
    display: flex;
    width: 100%;
    max-width: 650px;
    background-color: #1f1f1f;
    border: 1px solid #2b2b2b;
    border-radius: 10px;
    padding: 25px;
    box-sizing: border-box;
}

/*----------My Account side panel table css-----------*/

.side-panel a,
.side-panel a:visited,
.side-panel a:hover,
.side-panel a:active,
.side-panel a:focus {
    text-decoration: none !important;
    color: inherit !important;
    outline: none;
}

.side-panel {
    border-right: 1px solid #3a3a3b;
    width: 260px;
    min-width: 260px;
    background: #18181b;
    padding: 12px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .side-panel .panel-item span {
        display: block;
        padding: 12px 16px;
        color: #fff;
        border-radius: 6px;
    }

    .side-panel .panel-item.active span {
        background: rgb(49, 44, 46);
    }

.role {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

    .role.admin {
        color: #3ddc97;
    }

    .role.operator {
        color: #ff6b6b;
    }

.project-panel a,
.project-panel a:visited,
.project-panel a:hover,
.project-panela:active,
.project-panel a:focus {
    text-decoration: none !important;
    color: inherit !important;
    outline: none;
}


.row-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.action-btn {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    transition: transform 0.2s;
    font-size: 14px;
}

    .action-btn.edit {
        color: #EAEAEA;
        border: 1px solid #2f2f2f;
        font-size: 16px;
        padding: 7px 10px;
        border-radius: 5px;
    }

    .action-btn.delete {
        color: #EAEAEA;
        border: 1px solid #2f2f2f;
        padding: 7px 10px;
        font-size: 16px;
        border-radius: 5px;
    }

    .action-btn:hover {
        transform: scale(1.1);
    }

.form-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
}

.form-save-btn,
.form-cancel-btn {
    padding: 9px 22px;
    font-size: 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.form-cancel-btn {
    background-color: #2f2f2f;
    color: white;
    border: 1px solid #3a3a3b;
}

.form-save-btn {
    background-color: #ff5533;
    color: white;
    border: 1px solid #ff5533;
}

.danger {
    background-color: #dc3545;
    color: white;
    border: none;
    cursor: pointer;
}

    .danger:hover {
        background-color: #bb2d3b;
    }

.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 8px 8px;
}

.pagination-info {
    color: #9a9a9a;
    font-size: 0.85rem;
}

.pagination-controls {
    display: flex;
    gap: 5px;
}

.p-btn {
    background: transparent;
    border: 1px solid #444;
    color: #ccc;
    padding: 4px 12px;
    border-radius: 4px;
    transition: all 0.2s;
    cursor: pointer;
}

    .p-btn:hover:not(:disabled) {
        background: #3a3a3a;
        color: #fff;
        border-color: #666;
    }

    .p-btn.active {
        background: #FF5533;
        color: white;
        border-color: #312C2E;
    }

    .p-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }


.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.toast-success {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f7a4d;
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    animation: fadeInOut 3s ease forwards;
    z-index: 9999;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
/*----------Table Loader css-----------*/


.loading-container-cell,
.empty-state-cell {
    text-align: center;
    padding: 20px 20px;
    color: #9a9a9a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spinner-border {
    display: inline-block;
    margin-bottom: 2px;
}
.loading-container-cell .spinner-border {
    color: #FF5533 !important;
}
.loading-text-sub {
    font-size: 14px;
    color: #f8f9fa;
    margin-top: 8px;
}

.empty-state-icon-style {
    font-size: 2rem; 
    opacity: 0.5;
    display: block;
    margin-bottom: 2px;
}

/*----------auth page css-----------*/

/* Layout Containers */
.auth-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    background: #2b2b2b;
    font-family: 'Inter', sans-serif;
}
.auth-left {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #FFFFFF1A;
    background: #231F20;
}

.form-content {
    width: 380px;
    color: #ffffff;
}

    .form-content h2 {
        font-family: 'Inter', sans-serif;
        font-size: 24px;
        color: #FFFFFF;
        font-weight: 600;
        letter-spacing: -2%;
        margin-bottom: 6px;
    }

    .form-content p {
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        color: #FFFFFF;
        font-weight: 400;
        letter-spacing: -2%;
        margin-bottom: 6px;
    }

.logo img {
    height: 50px;
    margin-bottom: 35px;
}
.auth-form {
    margin-bottom: 20px;
}

    .auth-form label {
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        font-size: 14px;
        color: #FFFFFF;
        margin-bottom: 6px;
        display: block;
    }


.auth-container {
    position: relative;
}

    .auth-container .auth-input {
        width: 100%;
        padding: 12px 40px 12px 14px;
        background: #2a2a2a;
        border: 1px solid #3a3a3a;
        border-radius: 6px;
        color: #ffffff;
        font-size: 14px;
    }
    .auth-container input:focus {
        outline: none;
        border: 1px solid #FF5533; 
       
    }
    .auth-container i {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #9aa0a6;
        font-size: 14px;
        cursor: pointer;
    }
.btn-primary {
    width: 100%;
    padding: 13px;
    border-radius: 100px;
    border: none;
    background: #FF5533;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.placeholder {
    font-family: 'Inter', sans-serif;
    width: 100%;
    padding: 12px 40px 12px 14px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #FFFFFF99;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.6;
    cursor: text;
}

    .placeholder::placeholder {
        color: white;
        opacity: 1;
    }

.signin-link,
.signin-link a {
    color: red;
    text-decoration: none;
}

    .signin-link a:hover {
        color: #d26464;
        text-decoration: underline;
    }
.divider {
    text-align: center;
    margin: 28px 0 20px;
    font-size: 12px;
    color: #777;
    position: relative;
}

    .divider::before,
    .divider::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 35%;
        height: 1px;
        background: #444;
    }

    .divider::before {
        left: 0;
    }

    .divider::after {
        right: 0;
    }
.auth-right {
    width: 55%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #231F20;
}


.welcome-content {
    max-width: 460px;
    color: white;
}

    .welcome-content h1 {
        font-family: 'Inter', sans-serif;
        padding: 8px;
        font-size: 48px;
        font-weight: 600;
        margin-bottom: 18px;
        color: #FFFFFF;
    }

    .welcome-content p {
        font-weight: 400;
        font-family: 'Inter', sans-serif;
        font-size: 18px;
        line-height: 1.7;
        color: #FFFFFFCC;
    }


.team-section {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    margin-top: 35px;
}

.avatar-group img {
    height: 40px;
    margin-bottom: 12px;
}


.copyright {
    font-size: 13px;
    color: #9aa0a6;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .copyright span {
        opacity: 60%;
        padding: 2px 3px;
        height: 35px;
        width: 32px;
        font-size: 32px;
        line-height: 1;
    }
.assets-grid {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    width: 100%;
}

.assets-card {
    background-color: #332D2F;
    border-radius: 28px;
    height: 300px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    .assets-card:hover {
        background-color: #2a2728;
    }

.card-name {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 0 20px;
    font-size: 32px;
    font-weight: 700;
    text-align: left;
    color: #F6F6F6;
    font-family: 'Roboto', sans-serif;

}

.card-footer {
    padding: 15px 15px;
    margin-bottom: 8px;
}

.company-name {
    margin: 0;
    font-weight: 500;
    color: #F6F6F6;
    font-size: 24px;
    font-family: 'Roboto', sans-serif;

}

.status-tag {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF99;
    font-family: 'Roboto', sans-serif;

}

.assets-card {
    text-decoration: none;
}

.border-white {
    border-top: 1px solid #FFFFFF1A !important;
}
/*----------document asset,discipline,stage page css-----------*/
.document-card {
    background: #161616;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #222;
    margin-top: 15px;
    width: 100%;
    min-height: 100vh;
}
/*----------disciplineNav component css-----------*/
.discipline-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: calc(100vw - 350px);
    margin-bottom: 10px;
    overflow: hidden;
}

.discipline-scroll {
    flex: 1;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .discipline-scroll::-webkit-scrollbar {
        display: none;
    }



.scroll-btn {
    flex: 0 0 auto;
    background: #1f1f23;
    border: 1px solid #2f2f35;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

    .scroll-btn:hover {
        background: #FF5533;
    }
.inside-top {
    display: inline-flex;
    gap: 30px;
    width: 100% ;
    min-width: max-content;
}
    .inside-top p {
        margin: 20px;
        cursor: pointer;
        color: white;
        margin-bottom: 5px;
        padding-bottom: 1px;
        color: #FFFFFF;
        font-weight: 500;
        font-size: 14px;
        font-family: 'Inter', sans-serif;
    }

.active-link {
    color: #007bff;
    font-weight: bold;
    border-bottom: 2px solid #FF5533;
    padding-bottom: 5px;
    cursor: pointer;
}

.loader-text {
    color: #bbb;
    font-size: 14px;
}
.disabled-content {
    pointer-events: none;
    cursor: not-allowed;
}

.custom-orange-spinner {
    color: #ff8c00;
    width: 1.2rem;
    height: 1.2rem;
    border-width: 0.2em;
}

/*----------document asset-phodium,discipline,stage page css-----------*/
.inside_navbar {
    height: 50px;
    border: 1px solid #222;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 15px;
    background-color: #312C2E;
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 10px;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inside_icon {
    font-size: 18px;
    color: #C1C2C3;
    cursor: pointer;
    transition: color 0.2s;
}

/*    .inside_icon:hover {
        color: #FF5533; 
    }*/
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: #FFFFFF66;
    font-size: 14px;
    pointer-events: none;
}

.inside_navbar input[type="text"] {
    height: 34px;
    width: 220px;
    padding: 0 15px 0 35px;
    border: 1px solid #FFFFFF1A;
    border-radius: 10px;
    background-color: transparent;
    color: #FFFFFF;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

    .inside_navbar input[type="text"]::placeholder {
        color: #FFFFFF44;
    }

    .inside_navbar input[type="text"]:focus {
        border-color: #FFFFFF33;
        background-color: rgba(255, 255, 255, 0.05);
    }


.validation-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.validation-modal {
    background: #1f1f1f;
    border: 1px solid #2b2b2b;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #2b2b2b;
    background: #252525;
}

.modal-header h3 {
    margin: 0;
    color: #ff5533;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-btn {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
    line-height: 1;
}

.close-btn:hover {
    color: #fff;
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.main-message {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.error-list h4 {
    color: #ff5533;
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 600;
}

.error-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(255, 85, 51, 0.1);
    border-radius: 6px;
    margin-bottom: 10px;
    color: #fff;
}

.error-item i {
    color: #ff5533;
    font-size: 16px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #2b2b2b;
    display: flex;
    justify-content: flex-end;
}

.btn-close {
    height: 0%;
    padding: 8px 20px;
    background: #444;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
    white-space: nowrap;
    min-width: 80px;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    background: #555;
}

.btn-close:hover {
    background: #555;
}
.global-blocker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    cursor: not-allowed;
    pointer-events: all;
}
