﻿.padding-right-10px {
    padding-right: 10px;
}

.background-container {
    background-image: url('../Images/body_background.png'); /* Path to your image */
    background-size: cover; /* Ensures the image covers the entire container */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    min-height: 100vh; /* Full height of the viewport */
}

/* Navbar Background and Text */
.navbar {
    background-color: #343a40; /* Dark background */
}

.navbar-brand,
.nav-link {
    color: #ffffff; /* White text for navbar links */
}

/* Remove the underline beneath each tab */
.nav-tabs .nav-link {
    border: none;
}

/* Active Tab Styling */
.nav-link.active {
    background-color: #495057; /* Slightly lighter background for the active tab */
    color: #ffffff; /* White text for the active tab */
    border-radius: 5px; /* Rounded corners for active tab */
}

/* Inactive Tab Styling */
.nav-link {
    color: #adb5bd; /* Light gray color for inactive tabs */
}

/* Hover effect */
.nav-link:hover {
    color: #ffffff; /* White text on hover */
    background-color: #6c757d; /* Lighter gray for hover effect */
    border-radius: 5px;
}


.ver-ali-top {
    vertical-align: top;
}

.word-break-all {
    word-break: break-all;
}

.value-transparent {
    background: transparent;
    border: 0;
    padding-left: 5px;
}

.value-lightyellow {
    background: lightyellow;
    border: 0;
    padding-left: 5px;
}

.btn-edit {
    margin-right: 5px;
}

.status-cursor {
    cursor: pointer;
}

.card {
    background-color: transparent;
    border: none;
}

.card-body {
    padding: 0;
}

.card-header {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
}

.card-header-content-1 {
    text-decoration: none;
}

.card-header-content-2 {
    pointer-events: all;
    position: relative;
    text-decoration: none;
    padding: 20px;
    margin: -20px;
}

.card-footer {
    background-color: #fff; /* White background */
    color: #000; /* Black text */
}

.card-footer-extra {
    height: 30px;
    padding-top: 2px;
    font-size: 0.9em;
}

.custom-table {
    background-color: #212529 !important; /* Light gray background */
    color: #ffffff; /* White text */
    width: 100%
}

.custom-table th, .custom-table td {
    color: #ffffff; /* White text for both header and cell content */
}

/*alert styling*/
.alert-success {
    border-color: #e6e6e6;
    border-left: 5px solid #00986a;
    background-color: #fff;
    color: #888;
}

.alert-info {
    border-color: #e6e6e6;
    border-left: 5px solid #00b3c8;
    background-color: lighten(#e6e6e6);
    color: #888;
}

.alert-warning {
    border-color: #e6e6e6;
    border-left: 5px solid #f9af2c;
    background-color: lighten(#e6e6e6);
    color: #888;
}

.alert-danger {
    border-color: #e6e6e6;
    border-left: 5px solid #c82630;
    background-color: lighten(#e6e6e6);
    color: #888;
}


.alert ul {
    margin: 0;
    li

{
    margin-bottom: 0.2rem;
    &:last-child

{
    margin-bottom: 0;
}

}
}

.alert {
    position: relative; /* Add this to make sure the button can be positioned inside the alert */
}

@media (min-width: 768px) {
    .alert {
        border-radius: 6px;
        display: table;
        width: 100%;
        padding-left: 78px;
        position: relative;
        padding-right: 60px;
        border: 1px solid #e6e6e6;
    }

        /* Style the close button */
        .alert .btn-close {
            position: absolute; /* Allows positioning relative to the alert */
            top: 10px; /* Adjust the vertical position */
            right: 10px; /* Adjust the horizontal position */
            color: inherit; /* Inherit color from the alert */
            background-color: transparent; /* Remove the default background */
            border: none; /* Remove any default border */
        }

    /* Ensure the close button color matches the specific alert color */
    .alert-success .btn-close {
        color: #00986a; /* Close button color for success alerts */
    }

    .alert-info .btn-close {
        color: #00b3c8; /* Close button color for info alerts */
    }

    .alert-warning .btn-close {
        color: #f9af2c; /* Close button color for warning alerts */
    }

    .alert-danger .btn-close {
        color: #c82630; /* Close button color for danger alerts */
    }

    /* Optional: To keep the 'X' button smaller */
    .btn-close {
        padding: 0.5rem;
        font-size: 1rem;
    }

        .alert .icon {
            text-align: center;
            width: 58px;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            border: 1px solid #bdbdbd;
            padding-top: 15px;
            border-radius: 6px 0 0 6px;
        }

            .alert .icon i {
                font-size: 20px;
                color: #fff;
                left: 21px;
                margin-top: -10px;
                position: absolute;
                top: 50%;
            }

            .alert .icon img {
                font-size: 20px;
                color: #fff;
                left: 18px;
                margin-top: -10px;
                position: absolute;
                top: 50%;
            }
        /*============ colors ========*/
        .alert.alert-success .icon,
        .alert.alert-success .icon:after {
            border-color: none;
            background: #00986a;
        }

        .alert.alert-info .icon,
        .alert.alert-info .icon:after {
            border-color: none;
            background: #00b3c8;
        }

        .alert.alert-warning .icon,
        .alert.alert-warning .icon:after {
            border: none;
            background: #f9af2c;
        }

        .alert.alert-danger .icon,
        .alert.alert-danger .icon:after {
            border-color: none;
            background: #c82630;
        }
}
