@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #1F2326;
    --success-color: #69b42e;
    --orange-color: #e64a19;
    --grey-color: #444344;
    --white-color: #FEFEFE;
    --shadow-red-color: #70030B;
    --error-color: #69b42e;
    --lightGrey-color: #F5F5F7;
    --card-color: rgba(174, 174, 192, 0.25);
}

* {
  padding: 0;
  margin: 0;
  color: var(--grey-color);
  box-sizing: border-box;
  word-wrap: break-word;
  font-family: "Poppins", sans-serif;
}

body {
    min-height: 100%;
    background-color: var(--white-color);
}

h1 {
    letter-spacing: -1px;
}

a {
  color: var(--success-color);
  text-decoration: none;
}

.login-root {
    background: var(--white-color);
    display: flex;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.loginbackground {
    min-height: 692px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 0;
    overflow: hidden;
}

.flex-flex {
    display: flex;
}

.align-center {
  align-items: center;
}
#submit-text {
  color: var(--white-color);
}
#submit-icon {
  color: var(--white-color);
}

.center-center {
  align-items: center;
  justify-content: center;
}

.box-root {
    box-sizing: border-box;
}

.flex-direction--column {
    -ms-flex-direction: column;
    flex-direction: column;
}

.loginbackground-gridContainer {
    display: -ms-grid;
    display: grid;
    grid-template-columns: [start] 1fr [left-gutter] repeat(16,86.6px) [left-gutter] 1fr [end];
    grid-template-rows: [top] 1fr [top-gutter] repeat(8,64px) [bottom-gutter] 1fr [bottom];
    justify-content: center;
    margin: 0 -2%;
    transform: rotate(-12deg) skew(-12deg);
}

.box-divider--light-all-2 {
    box-shadow: inset 0 0 0 2px #e3e8ee;
}

.box-background--primary {
    background-color: var(--primary-color);
}

.box-background--success {
    background-color: var(--success-color);
}

.box-background--success-light {
    background-color: rgba(105, 180, 46, 0.3);
}

.box-background--white {
  background-color: var(--white-color);
}

.box-background--gray100 {
    background-color: #e3e8ee;
}

.padding-top--64 {
  padding-top: 64px;
}

.padding-top--24 {
  padding-top: 24px;
}

.padding-top--48 {
  padding-top: 48px;
}

.padding-bottom--24 {
  padding-bottom: 24px;
}
.padding-bottom--15 {
    padding-bottom: 15px;
}

.padding-horizontal--48 {
  padding: clamp(20px, 5vw, 48px);
}

.flex-justifyContent--center {
  -ms-flex-pack: center;
  justify-content: center;
}

/* Logo and Branding */
.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.brand-title {
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--success-color);
    margin: 0;
    letter-spacing: -2px;
}

.brand-subtitle {
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: clamp(0.875rem, 3vw, 1rem);
    font-weight: 400;
    color: var(--success-color);
    margin-top: 5px;
    opacity: 0.9;
}

.formbg {
    margin: 0px auto;
    width: 100%;
    max-width: 448px;
    background: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--lightGrey-color);
}

span {
    display: block;
    font-size: clamp(16px, 4vw, 20px);
    line-height: 28px;
    color: var(--grey-color);
}

.form-title {
    display: block;
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    line-height: 1.3;
    color: var(--primary-color);
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    text-align: center;
}

label {
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
    font-size: clamp(0.8rem, 2.5vw, 0.875rem);
    font-weight: 600;
    color: var(--grey-color);
    display: block;
}

.reset-pass a {
    font-size: 14px;
    font-weight: 600;
    display: block;
    text-align: right;
    margin-bottom: 10px;
    color: var(--success-color);
}

.grid--50-50 {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
}

/* Input Styles */
.input-wrapper {
    position: relative;
}

.field input {
    font-family: "Poppins", sans-serif;
    font-size: clamp(0.875rem, 3vw, 1rem);
    line-height: 1.4;
    padding: clamp(10px, 2.5vw, 12px) 45px clamp(10px, 2.5vw, 12px) 16px;
    width: 100%;
    min-height: clamp(44px, 10vw, 48px);
    border: 2px solid var(--lightGrey-color);
    border-radius: 8px;
    outline: none;
    background-color: var(--white-color);
    color: var(--grey-color);
    transition: all 0.3s ease;
}

.field input:focus {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(105, 180, 46, 0.1);
}

.field input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--grey-color);
    font-size: 16px;
    opacity: 0.6;
}

/* Button Styles */
.btn-login {
    font-family: "Poppins", sans-serif;
    font-size: clamp(0.875rem, 3.5vw, 1rem);
    font-weight: 600;
    width: 100%;
    height: clamp(48px, 12vw, 52px);
    background-color: var(--success-color);
    border: none;
    border-radius: 8px;
    color: var(--white-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-login:hover {
    background-color: #5a9625;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.15);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Back Button Styles */
.btn-back {
    font-family: "Poppins", sans-serif;
    font-size: clamp(0.8rem, 3vw, 0.875rem);
    font-weight: 500;
    width: 100%;
    height: clamp(44px, 10vw, 48px);
    background-color: var(--white-color);
    border: 2px solid var(--lightGrey-color);
    border-radius: 8px;
    color: var(--grey-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    border-color: var(--success-color);
    background-color: rgba(105, 180, 46, 0.05);
    color: var(--success-color);
}

/* Checkbox */
.field-checkbox input {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    box-shadow: unset;
    min-height: unset;
    accent-color: var(--success-color);
}

.field-checkbox label {
    display: flex;
    align-items: center;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

/* Footer */
.footer-link span {
    font-size: clamp(0.75rem, 2.5vw, 0.875rem);
    text-align: center;
    font-family: "Poppins", sans-serif;
    color: var(--grey-color);
}

.listing a {
    color: var(--grey-color);
    font-weight: 500;
    margin: 0 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.listing a:hover {
    opacity: 1;
    color: var(--success-color);
}

/* Login Footer Styles */
#login-footer {
    text-align: center;
    margin-top: 24px;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--grey-color);
    opacity: 0.7;
}

#copyright-link {
    transition: all 0.3s ease;
    color: var(--grey-color);
    text-decoration: none;
    font-size: clamp(0.75rem, 2.5vw, 0.875rem);
    font-weight: 400;
}

#copyright-link:hover {
    color: black;
    opacity: 1 !important;
    font-weight: 600;
    text-decoration: none;
}
.reset-pass {

}

/* Social Links */
.social-divider {
   height:10px;
}


.link-social {
    display: inline-block;
    margin: 0 4px;
    padding: 4px;
    color: var(--grey-color);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.link-social:hover {
    color: var(--success-color);
    opacity: 1;
    transform: translateY(-1px);
}

.link-social i {
    font-size: clamp(16px, 4vw, 20px);
}

/* Animations */
.animationRightLeft {
  animation: animationRightLeft 7s ease-in-out infinite;
}

.animationLeftRight {
  animation: animationLeftRight 7s ease-in-out infinite;
}

.tans3s {
    transition: all 3s ease;
}

.tans4s {
    transition: all 4s ease;
}

@keyframes animationLeftRight {
    0% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(1000px);
    }
    100% {
        transform: translateX(0px);
    }
}

@keyframes animationRightLeft {
    0% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(-1000px);
    }
    100% {
        transform: translateX(0px);
    }
}

/* Hidden elements for form switching */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .brand-title {
        font-size: 2.5rem;
    }

    .brand-subtitle {
        font-size: 0.9rem;
    }

    .formbg {
        max-width: none;
    }
    .formbg-outer {
        padding: 0 20px;
    }

    .padding-horizontal--48 {
        padding: 24px;
    }

    .loginbackground-gridContainer {
        margin: 0 -10%;
    }
}

@media (max-width: 480px) {
    .brand-title {
        font-size: 2rem;
    }

    .form-title {
        font-size: 20px;
    }

    .field input {
        padding: 10px 40px 10px 14px;
        min-height: 44px;
    }

    .btn-login {
        height: 48px;
        font-size: 15px;
    }
}