body {
font-family: 'IRANSans';
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}

.container {
background-color: rgb(254, 254, 255);
padding: 0 20px;
border-radius: 10px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
width: 440px;
position: relative;
text-align: center;
position: relative;
overflow: hidden;
align-items: center;
height: 580px;
}

.ltr {
display: flex;
direction: ltr
}

.pr-1 {
padding-right: 1rem
}
.img-home{
width: 380px;
height: 68px;
}
.form {
text-align: center;
justify-content: center;
text-align: center;
flex-direction: column;
}

.form-toggle {
padding-top: 12px;
display: flex;
justify-content: space-around;
margin-bottom: 1px;
}

.form-toggle button, .form-toggle .button {
background: none;
border: none;
font-size: 1em;
cursor: pointer;
padding: 4px 20px 0 20px;
transition: color 0.3s;
}

.form-toggle button.active {
color: #e71212;
border-bottom: 2px solid #ff4b4b;
}

.form {
display: flex;
flex-direction: column;
}

.input-group {
margin-bottom: 5px;
text-align: left;
margin-top: 3px;
width: 380px;
}

input {
width: 370px;
height: 38px;
transition: .7s;
}

input:hover {
background-color: #e8ebe9;
outline: 1px solid #038872 !important;
box-shadow: 2px 4px 18px #1f0101, -1px -1px 8px #dee2e1;
}

input:active {
background-color: #739e81;
outline: 1px dashed #645759 !important;
box-shadow: 2px 4px 18px #1f0101, -1px -1px 8px #dee2e1;
}

button.submit {
direction: unset;
background-color: #bb2929;
color: white;
margin-top: 18px;
margin-bottom: 14px;
padding: 5px 08px 0;
height: 43px;
border-radius: 3em;
cursor: pointer;
font-size: 1.2em;
margin-left: 10px;
width: 96%;
border: 3px solid #92605f;
font-family: inherit;
border: none;
position: relative;
overflow: hidden;
background: linear-gradient(147deg, rgba(100, 20, 70, 0.7), rgba(97, 10, 189, 0.7));
z-index: 1;
box-shadow: 4px 4px 8px #d8d5d5, -2px -1px 8px #666b6a;
text-align: center;
align-items: center;
font-weight: 500;
}

button.submit::before {
content: '';
width: 0;
height: 43px;
border-radius: 3em;
position: absolute;
top: 0;
left: 0;
background-image: linear-gradient(to right, #948e3f 0%, #cc8274 100%);
transition: .5s ease;
display: block;
z-index: -1;
}

.py-1 {
padding-top: 1rem;
padding-bottom: 1rem;
}

.my-1 {
margin-top: 1rem;
margin-bottom: 1rem;
}

button.submit:hover::before {
width: 96%;
height: 43px;
}

button.submit:active {
background-color: #831434;
color: rgb(96, 228, 56);
}

.switch-link {
margin-top: 0 5px;
color: #1b0202;
font-size: 0.9em;
}

.switch-link a {
color: #123b70;
text-decoration: none;
}

/* Hidden class for forms */
.hidden {
opacity: .8;
color: #53100f
}

/* custom/css/login.css */
.alert {
padding: 10px;
margin-bottom: 5px;
border: 1px solid transparent;
border-radius: 6px;
}

.alert-danger {
padding-top: 5px;
color: #b1201e;
background-color: #f2dede;
border-color: #ebccd1;
}

.alert ul {
margin: 0;
padding-left: 20px;
list-style-type: disc;
}

.text-danger {
color: #5f0912;
/* Bootstrap's danger color */
font-size: 0.85em;
margin-top: 5px;
display: block;
}

.input-group .transform {
display: flex;
margin-bottom: 5px;
margin-right: 28px;
color: #1b0202;
direction: rtl !important;
font-size: 17px;
transition: .7s;
}

.input-group:hover .transform {
transform: scale(.8) translate(18%, 5%);
color: #bb2929;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="password"] {
width: 96%;
padding: 5px 8px 2px 8px;
box-shadow: 1px 2px 8px #ada6a7;
border: 1px solid #ccc;
border-radius: 8px !important;
box-sizing: border-box;
color: #123b70;
font-weight: 600;
letter-spacing: 2px;
/* Ensures padding doesn't expand the width */
}

.input-group input[type="text"] {
padding: 10px;
}

/* Optional: Add some styling for the remember me checkbox */
.remember-me {
direction: rtl;
display: flex;
align-items: center;
margin-top: 6px;
font-size: 15px;
}

.remember-me input[type="checkbox"] {
margin-right: 25px;
margin-bottom: 10px;
border-radius: 8px;
margin-top: 5px;
width: 20px;
padding-left: 2px !important;
height: 20px;
display: inline-block;
transition: .5s;
text-shadow: 2px 2px 4px #464e49;
}

.gsi-material-button {
user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
appearance: none;
background-color: #131314;
background-image: none;
border: 1px solid #747775;
-webkit-border-radius: 20px;
border-radius: 20px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #e3e3e3;
cursor: pointer;
font-family: 'Roboto', arial;
font-size: 14px;
height: 40px;
letter-spacing: 0.25px;
outline: none;
overflow: hidden;
padding: 0 12px;
position: relative;
text-align: center;
-webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
transition: background-color .218s, border-color .218s, box-shadow .218s;
vertical-align: middle;
white-space: nowrap;
width: auto;
max-width: 400px;
min-width: min-content;
border-color: #8e918f;
}

.gsi-material-button .gsi-material-button-icon {
height: 20px;
margin-right: 12px;
min-width: 20px;
width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
-webkit-align-items: center;
align-items: center;
display: flex;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
flex-wrap: nowrap;
height: 100%;
justify-content: space-between;
position: relative;
width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
-webkit-flex-grow: 1;
flex-grow: 1;
font-family: 'Roboto', arial, sans-serif;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
-webkit-transition: opacity .218s;
transition: opacity .218s;
bottom: 0;
left: 0;
opacity: 0;
position: absolute;
right: 0;
top: 0;
}

.gsi-material-button:disabled {
cursor: default;
background-color: #13131461;
border-color: #8e918f1f;
}

.gsi-material-button:disabled .gsi-material-button-state {
background-color: #e3e3e31f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
background-color: white;
opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
-webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
background-color: white;
opacity: 8%;
}