﻿.loader {
    width: 48px;
    height: 48px;
    border: 3px dotted #FFF;
    border-style: solid solid dotted dotted;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 2s linear infinite;
}

    .loader::after {
        content: '';
        box-sizing: border-box;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        border: 3px dotted #FF5A0D;
        border-style: solid solid dotted;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        animation: rotationBack 1s linear infinite;
        transform-origin: center center;
    }

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotationBack {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.table th{
    padding:11px !important;
}


.md-modal {
    max-width: 630px !important;
    min-width: 320px !important;
}

.form-control{
    border-width:1px !important;
}

.table tbody td {
   padding: 0.5rem !important;
}

.card .page-header {
    padding: 7px 25px !important;
}

ul.profile-nav-tabs {
    margin: 0;
    list-style: none;
    padding: 0;
    padding-bottom: 20px !important;
}

ul.profile-nav-tabs li{
    height:35px;    
    margin-bottom:10px;
}

    ul.profile-nav-tabs li a {
        color: #525d6f;
        opacity: .7;
        display: block;
        line-height: 45px;
        padding: 3px 0 3px 10px;
        cursor: pointer;
        transition: all .4s ease-in-out;
    }

        ul.profile-nav-tabs li a:hover {
            opacity:1;
        }

        ul.profile-nav-tabs li a.active {
            background: #d3dce6;
            color: #525d6f;
            opacity: 1;
        }

.profile-tabs-content {
    background: #d3dce6;
    padding:5px;
}

    .profile-tabs-content .tab-content {
        background:#fff;
        min-height:543px;
    }

.wid-200{
    width:200px !important;
}

.borderless{
    border:none !important;
}


td.details-control {
    background: url('../images/details_open.png') no-repeat center center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url('../images/details_close.png') no-repeat center center;
}

div.childWrap {
    display: none;
}

table.dataTable tbody td.no-padding {
    padding: 0;
}



table.child-table thead th {
    padding: .6rem !important;
    font-size: 14px !important;
    background: #36304a !important;
    color: #fff !important;
}

table.child-table tbody td {
    padding: .6rem !important;
    font-size: 12px !important;
}


.profile-nav-tabs {
    list-style: none;
    padding: 0;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%; /* Adjust to fit within the card */
}

    .profile-nav-tabs li {
        display: block;
        margin-bottom: 10px;
    }

    .profile-nav-tabs a {
        text-decoration: none;
        font-weight: bold;
        padding: 12px 15px;
        border-radius: 5px;
        display: block;
        transition: background 0.3s ease, color 0.3s ease;
        color: #333;
        background: #e9ecef;
        text-align: center;
    }

        .profile-nav-tabs a.active,
        .profile-nav-tabs a:hover {
            background: #007bff;
            color: white;
        }




/* ===== Editable Table Styling ===== */
.editable-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    overflow: hidden;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

    /* Header */
    .editable-table thead {
        background: linear-gradient(135deg, #0077ff, #00b4d8);
        color: #fff;
        text-align: left;
    }

    .editable-table th {
        padding: 14px 16px;
        font-weight: 600;
        font-size: 15px;
        letter-spacing: 0.3px;
    }

    /* Rows */
    .editable-table td {
        padding: 12px 16px;
        border: 1px solid #f1f1f1;
        font-size: 14px;
        color: #333;
        background: #f9fafb;
    }

    

    /* Editable cells */
        .editable-table td[contenteditable="true"] {
            background-color: #fffef5;
            cursor: text;
            padding: 12px 16px;
        }

        /* Focused editable cell */
        .editable-table td[contenteditable="true"]:focus {
            outline: none;
            border-color: #0077ff;
            background-color: #e7f3ff;
        }

/* Responsive */
@media (max-width: 768px) {
    .editable-table th,
    .editable-table td {
        padding: 10px;
        font-size: 13px;
    }
}
