/* Custom Styling for Better Layout */
body {
    background-color: #f2f2f2;
}

.welcome-section {
    color: #ffffff;
    padding: 40px;
    text-align: left;
}
.welcome-section::after{
    content: '';
    position: fixed;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right top, #051937, #004d7a, #008793, #00bf72, #a8eb12);
    z-index: -1;
}

.login-section .btn-outline-primary {
    color: #FFF;
    border-color: #FFF;
}
.login-section .btn-outline-primary:hover {
    background: #000;
}
.login-section{ }

.welcome-section h1 {
    font-weight: bold;
    color: #ffffff;
}

.welcome-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
}

.welcome-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
}

.login-section {
    padding: 40px;
}
.login-section .card {
    background-color: rgb(255 255 255 / 10%);
    border: solid #ffffff1c;
}
.login-section .btn-primary {
    background: #333;
}
.login-section .btn-primary:hover {
    background: #000;
}

.login-section #login-form a{
     color: #FFF !important;
}


.card {
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.btn-outline-primary:hover {
    color: #ffffff;
    background-color: #007bff;
    border-color: #007bff;
}
/* Base Styling for Input Fields */
.form-control {
    /*height: 40px;*/
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
}

/* Focused Input */
.form-control:focus {
    border-color: #80bdff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Error Styling for Input Fields */
.form-control.error {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1);
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.4);
}

/* Success Styling for Input Fields */
.form-control.success {
    border-color: #28a745 !important;
    background-color: rgba(40, 167, 69, 0.1);
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.4);
}

/* Label Styling */
label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    /*display: block;*/
}

/* Error Message Styling */
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

/* Success Message Styling */
.success-message {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 5px;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

/* Animation for Error and Success Message */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Styling */
button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #a8eb12;
}
.accordion-button:focus{
    background-color: #a8eb12;
    color: #FFF; border: none;

}

.accordion-button:blur{
    background-color: #a8eb12;
    color: #FFF; border: none;

}

.sidebar-brand {
    background-color: #343a40; /* Dark background to contrast the text */
    color: #fff; /* White text for better readability */
    text-align: center;
    padding: 15px;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.sidebar-title {
    font-size: 1.75rem; /* Increase font size */
    font-weight: bold; /* Make text bold */
    letter-spacing: 1px; /* Slight spacing for readability */
}

@media (hover: hover) {
    .sidebar-brand:hover {
        background-color: #495057; /* Darken background on hover */
        color: #f8f9fa; /* Slight color change on hover */
        transition: background-color 0.3s ease, color 0.3s ease;
    }
}


/******SSS 18-11-24****/

header .header-toggler:hover{background-color: transparent;}

.sidebar{
    background-image: linear-gradient(to right top, #051937, #004d7a, #008793, #00bf72, #a8eb12);
}
.sidebar .sidebar-brand{
    padding: 0;
    border-radius:0px; background:none;
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.1);
}

.btn-primary,
.btn-warning{
    background-image: linear-gradient(to right top, #051937, #004d7a, #008793, #00bf72, #a8eb12);
    color: #FFF; border: none;
}
.btn-primary:hover,
.btn-warning:hover{
    background-image: linear-gradient(to right top, #a8eb12, #00bf72, #008793, #004d7a, #051937);
    color: #FFF; border: none;
}

table tr th,
table tr td {
    font-size: 14px;
}

table tr td .badge {
    font-size: 13px;
    border-radius: 5px;
    font-weight: 400;
    display: inline-block;
}

table tr td .patient-name{font-size: 14px;}
.card .card-body label {
    font-size: 14px;
    font-weight: 500;
}
.table-responsive table tr th,
.table-responsive table tr td {
    white-space: nowrap;
}
.table-responsive table tr th .btn,
.table-responsive table tr td .btn{
   /* color: #FFF;*/
    margin: 0 !important;
}

.btn-success,
.btn-success:hover,
.table-responsive table tr td .btn:hover{
    color: #FFF;
}

.alert-success{
    text-align: center;
}


.nahPopupBg{}
.nahPopupBg .PopupWrap{}
.nahPopupBg .PopupWrap .close{}
.nahPopupBg .PopupWrap h2{}
.nahPopupBg .PopupWrap p{}
.nahPopupBg .PopupWrap .midText{}
.nahPopupBg .PopupWrap .midText p{}
.nahPopupBg .PopupWrap .midText h3{}
.nahPopupBg .PopupWrap .offerForm{}
.nahPopupBg .PopupWrap .offerForm .control{}
.nahPopupBg .PopupWrap .offerForm .control input{}
.nahPopupBg .PopupWrap .offerForm .control button{}
.nahPopupBg .PopupWrap .offerForm .control button:hover{}


.sidebar-nav .nav-link{
    color:#ffffff!important;
}
.breadcrumb-item a {
    color: #1bc662!important;
    text-decoration: none;
}
#myTabs .nav-link:hover, .nav-link:focus {
    background-image: linear-gradient(to right top, #a8eb12, #00bf72, #008793, #004d7a, #051937)!important;
    color: #FFF; border: none!important;
}
#myTabs .nav-link.active {
    background-image: linear-gradient(to right top, #051937, #004d7a, #008793, #00bf72, #a8eb12)!important;
    border: none!important;
    color: white!important;

}

select {
    background: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="gray" d="M10 15l-5-5h10z"/></svg>') no-repeat right 10px center;

}

/* Custom Confirmation Styles */
.custom-confirm {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.custom-confirm-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 300px;
}

.custom-confirm-content button {
    margin: 5px;
}
.sidebar-nav .nav-group-toggle:after{
    content: "";
    display: block;
    width: 30px;  /* Larger size */
    height: 30px; /* Larger size */
    background-image: url('../img/downarrow.svg');
    background-repeat: no-repeat;
    background-size: 30px 30px; /* Adjust the size of the background image */
    background-position: center;
    transition: transform .15s;
    filter: hue-rotate(180deg) saturate(150%)
  }
  .icon-container {
    position: relative;
    display: inline-block;
   color:red;
   font-size: 1.2rem;
}

.icon-container .badge {
    position: absolute;
    top: -2px;
    right: -6px;
    background: red;
    color: white;
    font-size: 8px;
    font-weight: bold;
    border-radius: 50%;
    padding: 3px 6px;
    min-width: 10px;
    text-align: center;
}