.container {
  width: 100%;
  padding: 7em 0;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto; 
}
@media (min-width: 576px) {
  .container {
    max-width: 540px; } 
}
@media (min-width: 768px) {
  .container {
    max-width: 720px; } 
}
@media (min-width: 992px) {
  .container {
    max-width: 960px; } 
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px; } 
}
.login-wrap {
  position: relative; 
}
.login-wrap h3, h3 {
  font-weight: 300;
}
.form-group {
  position: relative;
  z-index: 0;
  margin-bottom: 20px !important; 
}
.form-group a {
  color: gray; 
}
.form-control {
	height: 48px;
	background: #fff;
	color: #000;
	font-size: 16px;
	border-radius: 5px;
	-webkit-box-shadow: none;
	box-shadow: none;
	border: 1px solid rgba(0, 0, 0, 0.1); 
}
.form-control:focus, .form-control:active {
	outline: none !important;
	-webkit-box-shadow: none;
	box-shadow: none;
	border: 1px solid var(--primaryColor); 
}
.field-icon {
	position: absolute;
	top: 50%;
	right: 15px;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	color: rgba(0, 0, 0, 0.3);
}
.form-control-placeholder {
	position: absolute;
	top: 2px;
	padding: 7px 0 0 15px;
	-webkit-transition: all 400ms;
	-o-transition: all 400ms;
	transition: all 400ms;
	opacity: .5; 
}
.form-control:focus + .form-control-placeholder,
.form-control:valid + .form-control-placeholder, .form-control:read-only + .form-control-placeholder,
.emptyField + .form-control-placeholder {
	-webkit-transform: translate3d(0, -120%, 0);
	transform: translate3d(0, -120%, 0);
	padding: 7px 0 0 0;
	opacity: 1;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 1px;
	color: var(--primaryColor);
	font-weight: 700; 
}
.btn {
	cursor: pointer;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	font-size: 15px;
	padding: 10px 20px; 
}
.btn:hover, .btn:active, .btn:focus {
	outline: none; 
}
.btn.btn-primary {
	background: var(--primaryColor) !important;
	border: 1px solid var(--primaryColor) !important;
	color: #fff !important; 
}
.btn.btn-primary:hover {
	border: 1px solid var(--primaryColor);
	background: transparent;
	color: var(--primaryColor); 
}
.btn.btn-primary.btn-outline-primary {
	border: 1px solid var(--primaryColor);
	background: transparent;
	color: var(--primaryColor); 
}
.btn.btn-primary.btn-outline-primary:hover {
	border: 1px solid transparent;
	background: var(--primaryColor);
	color: #fff; 
}
@media (min-width: 768px) {
.text-md-left {
	text-align: left !important; 
}
.text-md-right {
	text-align: right !important; 
}
.text-md-center {
	text-align: center !important; } 
}
.cursor-pointer {
	cursor: pointer !important;
}
.registerHeading {
	font-size: 36px;
}

.inputs input {
    width: 40px;
    height: 40px
}

.otpFieldVal:focus, .otpFieldVal:hover {
    box-shadow: none;
    border: 2px solid var(--primaryColor)
}
.logOutMenu:hover {
	color: #d31717 !important;
  }
  .logOutMenu {
	color: #0a5497;
  }

.form-check-input:checked {
	background-color: var(--primaryColor);
	border-color: var(--primaryColor);
}
/* select2 */
.select2-selection__arrow {
    margin-top: 14px !important;
    margin-right: 8px !important;
}
.formSelect{
    width:100%;
}

.select2-container{
    width:100%!important;
}

.formSelect + .select2-container .select2-selection--single {
    height: 45px;
	padding: 8px;
}

.formSelect + .select2-container .select2-selection__arrow {
    height: 19px;
}

.formSelect + .select2-container .select2-selection--single .select2-selection__rendered {
    text-align: left;
    line-height: 28px; 
}
.select2-selection__arrow {
    margin-top: 5px;
}

.patientsMenus {
	list-style-type: none;
	margin: 0;
	padding: 0;
	height: 100%;
	overflow: auto;
  }

  .patientsMenus li a {
	display: block;
	color: #000;
	padding: 8px 16px;
	text-decoration: none;
  }
  .subMenuItems{
    padding-left:0px !important
}
.subMenuItems a {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--dark);
    padding: 9px 16px 12px 0;
    transition: all .3s ease;
    border-radius: 10px;
    white-space: nowrap;

}

/* new button style */

button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

button.viewText {
    height: auto;
    border: 1px solid #ccc;
    width: 23rem;
    background: #d9dfdf;
    color: #fff !important;
    border-radius: 5px;
}

button.viewText .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: var(--primaryColor) !important;
}

button.viewText .circle .icon, button.viewText .circle .fa-file-export  {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}

button.viewText .circle .icon.arrow, button.viewText .circle .fa.fa-file-export  {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

button.viewText .circle .icon.arrow::before {
    position: absolute;
    content: '';
    top: -0.25rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}

button.viewText .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: #282936;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
	font-size: 16px;
}

button:hover .circle {
    width: 100%;
}

button:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}

button:hover .button-text {
    color: #fff;
}
.ms-860 {
  margin-left: 830px;
}
.dt-input {
  margin-right: 8px;
}
.borderNone{
    border-right:none !important;
}

@media(max-width :500px) {

	.viewText{
		width: 12rem !important;
	}
	.button-text{
		font-size: 8px !important;
	}
	button.viewText {
		height: 30px !important;
	}
	button.viewText .circle {
		width: 1.8rem !important;
		height: 1.8rem !important;
	}
	button:hover .circle{
		width: 100% !important;
	}
	button.viewText .circle .icon.arrow  {
		left: 0.125rem !important;
	}
	button.viewText .button-text{
		line-height: 0.7 !important;
	}
	.select2-results__option {
		padding: 2px !important;
		font-size: 12px !important;
	}
}
@media (max-width :950px) and (min-width:561px){
	/* button styles */
	.viewText{
		width: 15rem !important;
	}
	.button-text{
		font-size: 10px !important;
	}
	button.viewText {
		height: 40px !important;
	}
	button.viewText .circle {
		width: 2.3rem !important;
		height: 2.4rem !important;
	}
	button:hover .circle {
		width: 100% !important;
	}
	button.viewText .circle .icon.arrow  {
		left: 0.125rem !important;
	}
	button.viewText .button-text{
		line-height: 1.2 !important;
	}
}

.table-fixed {
	table-layout: fixed;
	width: 100%;
}

.table-scroll {
	max-height: 445px;
	overflow-y: auto;
}

/* Sticky header inside scroll */
.table-scroll thead {
	position: sticky;
	top: 0;
	background-color: var(--primaryColor);
	z-index: 10;
}

/* Styles for displaying the associated discharge instructions of the modal  */
.modal-content.swal-style {
    border-radius: 16px;
    border: none;
    padding: 28px 24px;
    background-color: #fff;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.modal-dialog.swal-style, .modal-content.swal-style .modal-header {
    background: none !important;
}

.swal-style-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto 16px auto;
}

.modal-content.swal-style button{
    background-color: #dc3545;
    color: white;
}

#dischargeInstructionModal.modal.show {
    padding-right: 0 !important;
}

#dischargeInstructionsList{
    padding: 0px 10px;
    max-height: 250px;
    overflow-y: auto;
}

.instruction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f1f3f5;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.instruction-item:hover {
    background-color: var(--primaryColor);
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.instruction-item:hover .instruction-text{
    color: white;
}

.instruction-text {
    text-align: left;
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

.instruction-item i {
    color: #6c757d;
    transition: transform 0.2s ease;
}

.instruction-item:hover i {
    transform: translateX(4px);
}

/* Styles for Discharge Instruction PDF preview and download */
#previewModal .modal-body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
    color: #333;
    max-height: 700px;
    overflow-y: auto;
}

#previewModal .modal-footer {
    background-color: #f4f6f8;
}

.preview-container {
    max-width: 800px;
    margin: 40px auto;
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.practice-name {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.instruction-title {
    text-align: center;
    font-size: 18px;
    color: #374151;
    margin-bottom: 30px;
    font-weight: 500;
}

.rich-text-content {
    line-height: 1.7;
    font-size: 15px;
    color: #444;
}

/* Headings */
.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4,
.rich-text-content h5,
.rich-text-content h6 {
    margin-top: 24px;
    margin-bottom: 12px;
    color: #1f2937;
    font-weight: 600;
}

.rich-text-content h1 { font-size: 24px; }
.rich-text-content h2 { font-size: 20px; }
.rich-text-content h3 { font-size: 18px; }
.rich-text-content h4 { font-size: 16px; }
.rich-text-content h5 { font-size: 14px; }
.rich-text-content h6 { font-size: 13px; }

/* Paragraphs */
.rich-text-content p {
    margin: 12px 0;
}

/* Lists */
.rich-text-content ul,
.rich-text-content ol {
    list-style: initial !important;
}

.rich-text-content li {
    all: unset !important;
    display: list-item !important; 
    margin-bottom: 0.5em;

}

/* Blockquote */
.rich-text-content blockquote {
    margin: 16px 0;
    padding: 10px 20px;
    background-color: #f9fafb;
    border-left: 4px solid var(--primaryColor);
    color: #555;
    font-style: italic;
}

.rich-text-content blockquote p {
    margin: 0;
}

@media (max-width: 600px) {
    .preview-container {
        padding: 25px 20px;
    }

    .practice-name {
        font-size: 20px;
    }

    .instruction-title {
        font-size: 16px;
    }
}

.rich-text-content p, li{
    break-inside: avoid !important;
    page-break-inside: avoid !important;
}

h1, h2, h3, h4, h5, h6 {
  page-break-after: avoid !important;
  break-after: avoid !important;
}

/* Styles for patient appointment confirmation/remainder logs */
.confirmation-table-container {
    max-height: 185px;
    overflow-y: auto;
}

/* Style of the modal for maps */
.modal-90vw {
    --bs-modal-width: 90vw;
}

.pac-container {
    z-index: 1060; /* Setting slightly higher than the modal */  
}

.direction-notes {
    text-align: center;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem;
}

.direction-notes p {
    font-size: 16px;
    color: #6c757d;
    margin: 0;
}

.direction-notes i {
    margin-right: 8px; 
    color: #007bff;
}