﻿/* Button Styling */
.view-project-btn {
    background: #fff;
    color: #007bff;
    border: 1px solid #007bff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

/* Mobile Card Layout */
.mobile-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.left {
    flex: 0 0 30px;
}

.center {
    flex-grow: 1;
    padding-left: 10px;
}

.custom-mobile-title {
    margin-right: 20px;
    white-space: normal;
    word-break: break-all;
    font-size: larger;
    font-weight: 500;
    color: #007bff;
}

.custom-mobile-body {
    margin-right: 20px;
    white-space: normal;
    word-break: break-all;
    font-size: medium;
    font-weight: 500;
}

/* Hide Default Grid in Mobile */
@media (max-width: 768px) {
    /* Hide headers in mobile */
    .telerik-grid thead {
        display: none;
    }

    /* Hide desktop columns */
    .telerik-grid .k-grid-header,
    .telerik-grid .k-grid-content tr {
        display: none;
    }

    /* Ensure mobile layout is visible */
    .telerik-grid .mobile-card {
        display: flex !important;
    }
    /* Apply to all Telerik form inputs */
    .k-input,
    .k-textbox,
    .k-picker,
    .k-dropdown,
    .k-combobox {
        font-size: 16px !important;
    }
    .k-checkbox-wrap {
        align-self: flex-start !important;
    }
}

.btn-group .btn-primary {
    background-color: #0078D4; /* Match Microsoft blue */
    border: none;
    padding: 10px 20px;
    font-size: 16px;
}

.btn-group .dropdown-toggle::after {
    display: none; /* Hide default Bootstrap arrow */
}

.dropdown-container {
    display: flex;
    justify-content: flex-end; /* Aligns button to the right */
    padding-right: 10px; /* Adjust spacing from the right */
}
.action-button {
    background-color: #0078D7 !important; /* Blue background */
    color: white !important; /* White text */
    border: none !important; /* No border */
    padding: 10px 20px;
    font-size: 16px !important;
    font-weight: bold !important;
    display: flex;
    align-items: center;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
}

.action-button:hover {
    background-color: #005A9E; /* Darker blue on hover */
}


.icon {
    font-size: 14px;
}

.sub-nav-container-style
{
    margin-top:10px;
    margin-bottom:10px;
}

.mobile-Custom-Combobox .k-svg-icon {
    color: white !important;
}

.mobile-create-screen-style {
    padding: 0;
    margin: 0px;
    cursor: pointer;
    position: absolute;
    z-index: 999;
    left: 0px;
    top: 5px;
    right: 0px;
    overflow-y: auto;
    height:100%;
}

.mobile-Custom-Combobox {
}
.col:has(#TelerikGridWrapper) {
    overflow-x: auto !important;
    min-width: 0 !important;
}
