﻿.grid-white label {
    color: #3C3C3C;
}

.grid-white .grid-tile {
    border-radius: 8px;
    background-color: #ffffff;
    display: block;
    width: 100%;
    padding: 15px 20px;
}

.grid-white input {
    outline: none;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-radius: 0;
    border: 1px 0 0 0 solid #727272;
    border-color: #727272;
}

.btn-search {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background: #5D5D5D;
    border-color: #5D5D5D;
    color: #ffffff;
}

    .btn-search:hover {
        background: #2b2b2b;
        border-color: #2b2b2b;
        color: #ffffff;
    }

.btn-dark-default {
    border-radius: 18px;
    background: #ffffff;
    border-color: #727272;
    color: #474747;
}

    .btn-dark-default:hover {
        background: #f7f7f7;
        border-color: #727272;
        color: #474747;
    }

.btn-dark-round {
    border-radius: 18px;
    background: #5D5D5D;
    border-color: #5D5D5D;
    color: #ffffff;
}

    .btn-dark-round:hover {
        background: #2b2b2b;
        border-color: #2b2b2b;
        color: #ffffff;
    }

.grid-white input:focus, .grid-white input:active:focus {
    box-shadow: none !important;
    border-color: #2b2b2b !important;
}

.grid-white table tbody tr td {
    border-bottom-width: 10px;
    border-color: #f4f4f4;
}

.grid-white table tr th:first-child:before {
    display: none;
}

.grid-white table tr th:before {
    content: '';
    width: 0;
    height: 50%;
    position: absolute;
    border: 1px solid #D1D1D1;
    top: 10px;
    margin-left: -9px;
}

.grid-white table tbody tr {
    /*border-bottom-width: 10px;*/
    /*border-color: #f4f4f4;*/
    background: #ffffff;
}

.grid-white table tbody:before {
    content: "@";
    display: block;
    line-height: 10px;
    text-indent: -99999px;
}

.btn-circle {
    cursor: pointer;
    width: 25px;
    height: 25px;
    display: flex;
    border-radius: 50%;
    justify-content: center;
    flex-direction: column;
}

    .btn-circle.danger {
        border: 2px solid #DC3545;
    }

        .btn-circle.danger a,
        .btn-circle.danger i {
            color: #DC3545;
            display: flex;
            justify-content: center;
            text-decoration: none;
        }

    .btn-circle.dark {
        border: 2px solid #5E5E5E;
    }

        .btn-circle.dark a,
        .btn-circle.dark i {
            color: #5E5E5E;
            display: flex;
            justify-content: center;
            text-decoration: none;
        }

    .btn-circle.default {
        border: 1px solid #ffffff;
        background: #ffffff;
    }

        .btn-circle.default a,
        .btn-circle.default i {
            color: #494949;
            display: flex;
            justify-content: center;
            text-decoration: none;
        }



.job-sub-label {
    font-size: 14px !important;
    align-content: space-around !important;
}

.job-icon-style {
    font-size: 14px;
    align-self: self-end;
    align-content: center;
    padding: 0px;
    margin: 2px;
}

.btn-position-bottom {
    bottom: 0;
    right: 16px;
    background: #fff;
    width: calc(100% - 302px);
    padding: 10px 0px;
    border-top: 1px solid #bebebe;
    position: fixed;
    z-index: 2;
}

.view-more {
    padding: 8px 16px; /* Adjust padding */
    font-size: 14px; /* Adjust font size */
    border-radius: 4px; /* Slightly rounded corners */
    color: #0d6efd;
}

    .view-more:hover {
        background-color: #bbd7ff; /* Light background on hover */
    }



/* Container to center the error message */
#iframeError {
    /*max-width: 400px;*/
    margin: 2rem auto;
    padding: 1.5rem 1.75rem;
    /*border: 2px solid #dc3545;*/ /* Bootstrap danger red */
    /*background-color: #f8d7da;*/ /* Light pink background */
    color: #842029; /* Dark red text */
    /*border-radius: 8px;*/
    font-family: Arial, sans-serif;
    /*display: flex;
    flex-direction: column;*/
    align-items: center;
    /*box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);*/
    justify-items: center !important;
}

/* Accessibility: when focused on retry, show outline */
#iframeError a.retry-button:focus {
    outline: 3px solid #842029;
    outline-offset: 2px;
}

/* Error icon style */
#iframeError svg {
    height: 48px;
    width: 48px;
    margin-bottom: 1rem;
    fill: #842029;
}

/* Heading style */
#iframeError h2 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    text-align: center;
}

/* Description text */
#iframeError p {
    margin: 0 0 1.5rem;
    text-align: center;
    line-height: 1.4;
}

/* Retry button styling */
#iframeError a.retry-button {
    text-decoration: none;
    background-color: #dc3545;
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    display: inline-block;
    user-select: none;
}

    #iframeError a.retry-button:hover,
    #iframeError a.retry-button:focus {
        background-color: #a71d2a;
        text-decoration: none;
        color: #fff;
    }

/* Make sure icon and text stack nicely on narrower screens */
@media (max-width: 400px) {
    #iframeError {
        padding: 1rem 1rem;
        max-width: 90%;
    }
}

/* css start  of db view*/


.connection-string-cell {
    max-width: 300px;
    word-break: break-all;
    white-space: normal;
}

/* end css */


/* Reusable table styling */
.text-truncate-cell {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
}

.connection-string-cell {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-count {
    font-size: 0.75em;
}

/* Responsive table improvements */
@media (max-width: 768px) {
    .text-truncate-cell {
        max-width: 120px;
    }

    .connection-string-cell {
        max-width: 100px;
    }
}