﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}
.edit-row {
    background-color: #fff3cd; /* light yellow */
    border-left: 5px solid #ffc107;
}
.form-box {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    background: #fafafa;
}
.edit-label {
    color: #d63384;
    font-weight: bold;
}
.sidebar {
    position: relative;
    z-index: 2000;
}
 

.modal {
    z-index: 1040 !important;
}
.modal-backdrop.show {
    opacity: 0.2;
}

.modal-backdrop {
    z-index: 1040 !important;
}

 
.ds001 {
    background: #0468cc;
    color: white;
    font-weight: bold;
}

.ds00 {
    background: white;
}

.link-btn {
    background-color: #0d6efd;
    color: white !important;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

    .link-btn:hover {
        background-color: #0b5ed7;
        color: white;
    }

.employee-panel {
    background: #f4f6f9;
    padding: 15px;
    border-right: 1px solid #ddd;
    min-height: 500px;
}

.form-panel {
    background: #ffffff;
    padding: 20px;
}

.role-checkbox {
    width: 100%;
}

    .role-checkbox td {
        width: 25%; /* 4 columns */
        padding: 8px 30px 8px 10px;
        vertical-align: middle;
    }

    .role-checkbox input[type=checkbox] {
        margin-right: 8px;
        accent-color: #0d6efd; /* blue checkbox */
    }

    .role-checkbox td:hover {
        background-color: #f3f7ff;
        border-radius: 4px;
    }
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }

    .result-item {
        padding: 8px;
        cursor: pointer;
        border-bottom: 1px solid #eee;
    }

        .result-item:hover {
            background: #f2f2f2;
        }

    #resultBox {
        border: 1px solid #ddd;
        display: none;
        max-height: 200px;
        overflow-y: auto;
        background: white;
        position: absolute;
        width: 100%;
        z-index: 9999;
    }

    /*  --  Standard Product CSS form POPUP --- */
    .product-form-container {
        width: 900px;
    }

    .product-title {
        margin-bottom: 20px;
    }

    .product-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }

    .product-column h3 {
        margin-bottom: 15px;
    }

    .product-field {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
    }

        .product-field label {
            width: 150px;
            font-weight: 500;
        }

    .product-input {
        width: 230px;
        padding: 5px;
    }

    .product-button-area {
        margin-top: 25px;
    }

    .product-btn-save {
        background: #28a745;
        color: white;
        padding: 8px 18px;
        border: none;
        cursor: pointer;
    }

    .product-btn-close {
        padding: 8px 18px;
        margin-left: 10px;
        cursor: pointer;
    }

    .product-table input[type=text],
    .product-table select,
    .product-table textarea {
        width: 220px;
        height: 26px;
    }

    .product-table textarea {
        height: 70px;
    }

    .product-table td {
        padding: 6px;
    }
    /*  -- End Standard Product CSS form POPUP --- */
    .grid-pager {
        margin-top: 10px;
    }


    .product-table input,
    .product-table select {
        height: 34px;
    }

    .product-grid {
        width: 100%;
        border-collapse: collapse;
        font-size: 14px;
    }

        .product-grid th {
            background: #f4f6f9;
            text-align: left;
            padding: 8px;
            border-bottom: 2px solid #ddd;
            font-weight: 600;
        }

        .product-grid td {
            padding: 8px;
            border-bottom: 1px solid #eee;
        }

        .product-grid tr:hover {
            background: #f9fafc;
        }

    .variant-link {
        color: #0d6efd;
        font-weight: 500;
        text-decoration: none;
    }

        .variant-link:hover {
            text-decoration: underline;
        }

    .left-panel {
        background-color: #f8f9fa; /* light grey */
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 15px;
    }

    .right-panel {
        background-color: #ffffff;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 20px;
    }

    .headerlabel {
        font-weight: 400;
        font-size: 16px;
        margin-bottom: 10px;
    }

    .form-control {
        width: 100% !important;
        border: 2px solid #6c757d; /* darker grey border */

        .product-table .form-control {
            height: 30px !important;
        }

        .form-section {
            width: 100%;
        }
    }
}
