/* Modern Theme & Form Styles */
:root {
    --theme-color: #e4074e;
    --theme-color-hover: #bc003c;
    --border-color: #e1e5eb;
	--dark-blue: #19334d;
	--blue:#4091C8;
	--dark-primary:#5a5a5a;
	--white: #ffffff;
	--black: #000000;
	--grey: #f7f9fc;
	--red:#ff0f0f;
    --input-focus-shadow: 0 0 0 4px rgba(228, 7, 78, .1);
}


/* GLOBAL FORM STYLES */
.form-control {
    display: block;
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--dark-blue);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    box-shadow: none;
    height: 50px;
    /* Allow height to adjust based on padding */
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: var(--theme-color);
    outline: 0;
    box-shadow: var(--input-focus-shadow);
}

.form-control::placeholder {
    color: #adb5bd;
    font-size: 16px;
}

select.form-control {
    background-image:url('../images/arrow-down.png');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* GLOBAL BUTTON STYLES */
.btn-primary,
.btn-theme,
.btn-save,
.btn-login,
.btn-auth,
.btn-invite {
    display: inline-block;
    font-weight: 500;
    color: var(--white);
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: var(--theme-color);
    border: 1px solid transparent;
    padding: 10px 15px;
    font-size: 16px;
	font-family:"Inter", sans-serif;
	height:50px;
	width:100%;
    line-height: 1.5;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover,
.btn-theme:hover,
.btn-save:hover,
.btn-login:hover,
.btn-auth:hover,
.btn-invite:hover {
    color:var(--white);
    background-color: var(--theme-color-hover);
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.btn-primary:disabled,
.btn-theme:disabled,
.btn-save:disabled,
.btn-login:disabled,
.btn-auth:disabled,
.btn-invite:disabled {
    background: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary,
.btn-cancel {
    background: #fff;
    color: #525f7f;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover,
.btn-cancel:hover {
    background: #f8f9fa;
    color: #32325d;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Modal specific tweaks */
.modal-login-signup .modal-content {
    border: none;
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
}

.modal-login-signup .form-group {
    margin-bottom: 20px;
}

.form-group .btn-modal {
    width: 100%;
    margin-top: 10px;
}

/* Password Toggle Styles */
.password-wrapper {
    position: relative;
}

.password-wrapper .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    z-index: 10;
}

.password-wrapper .toggle-password:hover {
    color: #333;
}
.auth-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 0px 20px 40px;
}

.auth-container {
  width: 100%;
  max-width: 440px;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
  border:1px solid var(--theme-color);
}
.register-title{
	margin: 40px 0 0;
    padding: 0 10%;
    text-align: center;
}
.register-title h1{
	color: #19334d;
	font-size:28px;
	font-weight:600;
}
.register-title h2{
	font-size:18px;
	color:#e4074e;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}
.regist-auth .auth-header h3 {
  font-size: 28px;
  color: #1a1a2e;
  margin-bottom: 8px;
  margin-top:0;
}
.regist-auth .auth-header h4 {
  color: #5a5a5a;
  font-size: 14px;
}
.form-group label {
	color: var(--dark-blue);
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 4px;
}
.premium-radio-group { 
	display: flex; 
	gap: 15px; 
	margin-top:0px; 
}
/* Premium Radio Group */
                    
.radio-card { 
	flex: 1; 
	position: relative; 
	cursor: pointer; 
}
.radio-card input { 
	position: absolute; 
	opacity: 0; 
}
.radio-content { 
	display: flex; 
	align-items: center; 
	justify-content: center;
	gap: 10px; 
	padding: 12px; 
	background: #fff; 
	border: 1px solid #e2e8f0; 
	border-radius: 10px;
	transition: all 0.2s ease; 
	height: 50px;
}
.radio-content i { 
	font-size: 20px; 
	color: #94a3b8; 
}
.radio-card input:checked + .radio-content { 
	border-color: var(--dark-blue); 
	background: var(--grey); 
	color: var(--dark-blue); 
}
.radio-card input:checked + .radio-content i { 
	color: var(--dark-blue); 
}
.btn-auth {
  width: 100%;
  padding: 10px 15px;
  background:var(--theme-color);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  height:50px;
  font-weight: 500;
  cursor: pointer;
  transition: all ease-in-out .3s;
}
.btn-auth:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(15,23,42,.3);
  background:var(--theme-color-hover);
}

.btn-auth:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.btn-success {
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.btn-success:hover:not(:disabled) {
  box-shadow: 0 5px 20px rgba(40,167,69,.3);
}

.step-back {
  margin-bottom: 20px;
}

.step-back a {
  color: var(--dark-blue);
  text-decoration: none;
  font-size: 14px;
}

.step-back a:hover {
  color: var(--theme-color-hover);
}

.role-badge {
  background: var(--grey);
  color: var(--theme-color);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 20px;
}

.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-top: 15px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background: none;
  color: var(--red);
  border:0;
}
.alert.alert-danger {
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
}
.auth-footer {
  text-align: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  color: var(--dark-primary);
}

.auth-footer a {
  color: var(--theme-color);
  font-weight: 600;
  text-decoration: none;
}

.text-muted {
  color: var(--grey-primary);
  font-size: 14px;
  display: block;
  margin-top: 6px;
}
.listingForm.doctor-regist{
	padding:30px;
}
.listingForm.clinic-regist-form{
	padding-top:30px;
}
#user-type,
#email-mobile,
#otp-input {
	width: 100%;
	padding: 10px 15px;
	height: 50px;
	margin-bottom: 15px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font-size: 16px;
	background-color:var(--white);
	box-sizing: border-box;
}

#otp-input {
	margin-top: 15px;
}

#user-type:focus,
#email-mobile:focus,
#otp-input:focus {
	outline: none;
	border-color: var(--dark-blue);
	box-shadow: none;
}

.popup-content button {
	width: 100%;
	padding: 14px;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 0px;
}

#send-otp-btn,
#verify-otp-btn {
	background: var(--theme-color);
	color: white;
	transition: all ease-in-out 0.3s;
}

#send-otp-btn:hover,
#verify-otp-btn:hover {
	background: var(--theme-color-hover);
}
.login-page-wrapper {
  min-height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f7fb;
  padding: 20px;
}

.login-form-container {
  background: #fff;
  padding: 40px;
  max-width: 420px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.login-title {
  font-size: 26px;
  margin-bottom: 6px;
  margin-top:0;
}

.login-tabs {
  display: flex;
  gap: 8px;
  margin: 30px 0;
}

.login-tab {
  flex: 1;
  padding: 10px;
  background: var(--grey);
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.login-tab.active {
  background: var(--dark-blue);
  color: var(--white);
}
.login-box .form-meta label{
	font-weight:400;
	cursor:pointer;
}
.login-box .form-meta label input{
	float:left;
	margin-right:5px;
}
.form-group {
  margin-bottom: 15px;
}
.password-input-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 38px;
  cursor: pointer;
}

.form-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 15px;
}

.auth-footer {
  text-align: center;
  margin-top: 15px;
}

.back-link {
  text-align: center;
  margin-top: 15px;
}
.auth-step .alert.alert-danger{
	padding:0;
}

/* Animations */
.auth-step {
  animation: fadeIn .3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.listingForm .feildLabel {
	font-weight: 500;
	font-size: 16px;
	color: var(--dark-blue);
	width: 100%;
}
.listingForm .feildLabel.inline-l{
	display:inline-block;
	width:auto;
}
.form-check {
	display: inline-block;
	padding: 0px 15px 0 0;
	margin-right: 15px;
	cursor: pointer;
}

.form-check input {
	float: left;
	margin-right: 5px;
	margin-top: 4px;
	cursor: pointer;
}

.form-check label {
	margin-bottom: 0;
}

.docila-auth-form .form-group {
	margin-bottom: 15px;
}

.docila-auth-form .form-group label {
	font-weight: 500;
	color: var(--dark-blue);
	margin-bottom: 5px;
	display: block;
}

.docila-auth-form .form-group .form-check label {
	display: inline-block;
	font-size: 14px;
	cursor: pointer;
	color: var(--dark-blue);
	margin-bottom: 0;
}

.docila-auth-form .form-group .form-check label:hover {
	color: var(--theme-color-hover);
}

.docila-auth-form .form-group .forgot-password-link {
	float: right;
}

.forgot-password-link,
.register-link,
.back-to-login {
	color: var(--dark-blue);
	text-decoration: none;
	font-weight: 500;
	transition: all ease-in-out 0.3s;
}

.forgot-password-link:hover,
.register-link:hover,
.back-to-login:hover {
	color: var(--theme-color-hover);
	text-decoration: none;
}

.docila-auth-form .btn-group {
	display: block;
	text-align: center;
}

.listingForm .form-control:focus {
	box-shadow: none;
}

.listingForm .condition {
	font-size: 12px;
	font-weight: 400;
	display:inline-block;
	margin-top:0;
	margin-left:15px;
}

.listingForm .condition .checkbox-control {
	float: left;
	margin: 2px 5px 0 0;
}

.basicInfo,
.imgUpload,
.formAction {
	display: inline-block;
	width: 100%;
}

.basicInfo,
.imgUpload {
	margin-bottom: 30px;
}

.formAction {
	text-align: center;
}

.btn-submit {
	background: var(--theme-color);
	color: var(--white);
	font-size: 16px;
	font-weight: 400;
	padding: 8px 40px;
	height: 40px;
	border-radius: 25px;
	text-decoration: none;
	margin: 10px 0 0;
	display: inline-block;
	transition: all ease-in-out 0.3s;
	border: 1px solid var(--theme-color);
}

.btn-submit:hover {
	background: var(--theme-color-hover);
	border: 1px solid var(--theme-color-hover);
	color: var(--white);
	text-decoration: none;
}




/*=======CLINIC-REGISTRATION========*/
/* Hide original multi-select but keep it accessible to JS/form */
.ms-hidden-select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
}

/* Wrapper around custom dropdown */
.ms-dropdown-wrapper {
    position: relative;
    width: 100%;
    margin-top: 0px;
}

/* Button that shows current selection */
.ms-dropdown-btn {
    width: 100%;
    height: 50px;
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--white);
    font-size: 16px;
	text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ms-dropdown-btn:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: none;
}

.ms-dropdown-label {
    flex: 1;
    margin-right: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #999999;
}

.ms-dropdown-arrow {
    font-size: 20px;
    opacity: 0.7;
}

/* Dropdown menu */
.ms-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    padding: 6px 0;
    z-index: 1000;
    display: none;
}

.ms-dropdown-wrapper.ms-open .ms-dropdown-menu {
    display: block;
}

/* Items with checkbox */
.ms-option {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
}

.ms-option input[type="checkbox"] {
    margin-right: 8px;
	margin-top:0;
}

.ms-option:hover {
    background: #f7f9fc;
}

/* Existing pills below fields */
.multi-pills { 
	margin-top:8px;
 }
.ms-pill {
    display:inline-block;
    margin:3px 6px 3px 0;
    padding:6px 10px;
    background:#eef6ff;
    border-radius:16px;
    font-size:13px;
    color:#013a63;
}

/*======CLINIC-REGISTRATION-END========*/

.registration-photo-upload .reg-photo-wrapper{
	width:200px;
}
.registration-photo-upload .reg-photo-wrapper .reg-photo-preview{
	width: 100%;
    height: 200px;
	background-position: center center;
}
.upload-container .d-none{
	display:none;
}
.form-footer-action{
	text-align:center;
	margin-top:20px;
}
.btn-form-submit{
	background: var(--theme-color);
    color: var(--white);
	padding: 15px 30px;
	height:50px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(228, 7, 78, 0.2);
}
.btn-form-submit:hover{
	background: var(--theme-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(228, 7, 78, 0.3);
	color: var(--white);
}

@media (min-width: 768px) and (max-width:899px){
.auth-page{
	min-height:40vh;
}
.login-page-wrapper {
    min-height: 42vh;
}

}

@media (max-width:767px){
.listingForm.doctor-regist {
    padding: 15px;
}
.register-title {
    margin: 30px 0 0;
    padding: 0;
}
.register-title h1 {
    font-size: 20px;
    line-height: 32px;
	margin-bottom:0;
}
.register-title h2 {
    font-size: 16px;
    color: #e4074e;
    line-height: 24px;
	margin-top:0;
}
.auth-page{
	min-height: 45vh;
}
.auth-container{
	padding:20px;
}
.regist-auth .auth-header h3{
	font-size:24px;
}
	
}
