body {
    background-color: #f8f9fa;
}

.login-container, .cpass-container {
    background-color: var(--light-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
}
/*
#loginForm {
    background-color: var(--bs-yellow);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: min(400px, 90vw);
    padding: 1.5rem;
    padding-top: 1.5rem;
}
*/
.password-form, .login-form{
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    /*background: white;*/
    background-color: var(--smoct-color-1);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
h1 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
.logo_container {
	height: 10rem;
	width: 10rem;
	border-radius: 50%;
	background-color: var(--bs-primary-bg-subtle);
	text-align: center;
	border: solid var(--smoct-color-6) 0.25rem;
}
.logo {
	height: 8rem;
	width: 8rem;
	border-radius: 50%;
	margin-top: 0.75rem;
}

label {
    display: block;
    color: var(--text-color);
    font-weight: 500;
}

input {
    width: 100%;
    padding: 0.6rem 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.phone-input {
    display: flex;
    align-items: center;
}

.phone-input select {
    width: 80px;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px 0 0 6px;
    margin-right: -1px;
}

.phone-input input {
    border-radius: 0 6px 6px 0;
}

.button-group {
    display: flex;
    gap: 10px;
}
.forgot-password {
    margin: 10px;
}

#submitBtn {
    background-color: var(--bs-btn-bg);
    color: white;
}

#clearBtn {
    background-color: var(--bs-btn-bg);
    color: var(--text-color);
}

/* */
.message {
    padding: 0.4rem;
    border-radius: 0.25rem;
    margin-top: 0.25rem;
    text-align: center;
    display: none;
}

.error {
    background-color: #ffebee;
    color: var(--error-color);
    border: 1px solid #ffcdd2;
    display: block;
}

.success {
    background-color: #e8f5e9;
    color: var(--success-color);
    border: 1px solid #c8e6c9;
    display: block;
}

/* Popup container */
.forgot-password {
  position: relative;
  cursor: pointer;
  text-align: right;
}

/* The actual popup (appears on top) */
.forgot-password .popuptext {
  visibility: hidden;
  width: min(90vw, 300px);
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: calc(-1 * (min(300px, 90vw)/2));
}

/* Popup arrow */
.forgot-password .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class when clicking on the popup container (hide and show the popup) */
.forgot-password .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}


.form-title {
    text-align: center;
    margin-bottom: 30px;
    color: black;
}
.password-toggle {
    right: 30px;
}
.clear-field {
    right: 10px;
    color: #6c757d;
}
.input-group {
    position: relative;
}
.input-icon-group {
    position: relative;
}
.input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0 10px;
}
.btn-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
#userInfo {
    color: white;
    background-color: var(--smoct-color-91);
    font-weight:700;
    padding-top: 1rem;
}
.smoct-mask {
    -webkit-text-security:disc;
}
.smoct-mask-none {
    -webkit-text-security:unset;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}