/* Base body styles */
body {
    background-color: var(--color-scalefree-gray);
    color: var(--body-font-color-gray);
    font-family: var(--body-font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 98vh;
    display: flex;
    flex-direction: column; 
    overflow-y: auto;
}

.page-container {
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}
@media (min-width: 1024px) {
    .page-container {
        flex-direction: row;
    }
}

/* Left Pane (Branding/Image) */
.left-pane {
    background-image: linear-gradient(to top right, var(--color-scalefree-darkBlue-primary), var(--color-scalefree-lightBlue-primary));
    color: var(--color-scalefree-white);
    position: relative;
    overflow: hidden;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}
@media (min-width: 1024px) {
    .left-pane {
        width: 50%;
        display: flex;
    }
}
@media (min-width: 1280px) {
    .left-pane {
        width: 60%;
    }
}

.left-pane-content {
    z-index: 10;
    text-align: center;
}

.icon-wrapper {
  width: 100%;
  margin-bottom: 2rem; 
  display: flex;
  justify-content: center;
  align-items: center;
}
.icon-wrapper .icon {
  font-size: 250px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.left-pane-description {
  font-size: var(--header-font-size);
  font-family: var(--header-font-family);
  text-transform: var(--header-text-transform);
  color: var(--body-font-color-white);
  white-space: normal;                   
  line-height: 1.5;
  max-width: 55ch;
}
@media (min-width: 1280px) { /* xl: */
    .left-pane-description {
        font-size: 1.25rem; /* xl:text-xl */
    }
}

.left-pane-cta-button {
    margin-top: 2.5rem; /* mt-10 */
    border: 1px solid var(--color-scalefree-darkBlue-secondary);
    color: var(--color-scalefree-white);
    padding: 0.75rem 1.5rem; /* py-3 px-6 */
    border-radius: 0.5rem; /* rounded-lg */
    transition-property: background-color, color;
    transition-duration: 300ms;
    display: inline-block;
}
.left-pane-cta-button:hover {
    background-color: var(--color-scalefree-darkBlue-secondary);
    color: var(--color-scalefree-navy);
}
.left-pane-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 0;
}

/* Right Pane (Login Form) */
.right-pane {
    background-color: var(--color-scalefree-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem; /* p-8 */
    width: 100%; /* w-full */
}
@media (min-width: 640px) { /* sm: */
    .right-pane {
        padding: 3rem; /* sm:p-12 */
    }
}
@media (min-width: 1024px) { /* lg: */
    .right-pane {
        width: 50%; /* lg:w-1/2 */
    }
}
@media (min-width: 1280px) { /* xl: */
    .right-pane {
        width: 40%; /* xl:w-2/5 */
    }
}

.login-form-container {
    width: 100%;
    max-width: 28rem; /* max-w-md */
}

.login-form-logo-container {
    margin-bottom: 2rem; /* mb-8 */
    text-align: center;
}
@media (min-width: 1024px) { /* lg: */
    .login-form-logo-container {
        text-align: left; /* lg:text-left */
    }
}
.login-form-logo {
    font-family: var(--header-font-family);
    font-size: 1.875rem; /* text-3xl */
    line-height: 2.25rem;
    color: var(--color-scalefree-darkBlue-primary);
}

.login-form-title {
    font-family: var(--header-font-family);
    font-size: 1.875rem; /* text-3xl */
    line-height: 2.25rem;
    color: var(--header-font-color);
    margin-bottom: 0.75rem; /* mb-3 */
}

.login-form-subtitle {
    color: var(--body-font-color-gray);
    margin-bottom: 2rem; /* mb-8 */
}

.form-group {
    margin-bottom: 1.25rem; /* mb-5 */
}
.form-group-checkbox {
    margin-bottom: 1.5rem; /* mb-6 */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-label {
    display: block;
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
    color: var(--body-font-color-gray);
    margin-bottom: 0.25rem; /* mb-1 */
}

.form-input {
    appearance: none;
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-scalefree-gray);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
    color: var(--header-font-color);
}
.form-input::placeholder {
    color: var(--body-font-color-gray);
}
.form-input:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    border-color: var(--color-scalefree-darkBlue-primary);
    box-shadow: 0 0 0 2px var(--color-scalefree-darkBlue-primary);
}
@media (min-width: 640px) { /* sm: */
    .form-input {
        font-size: 0.875rem; /* sm:text-sm */
        line-height: 1.25rem;
    }
}

.form-link {
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
    color: var(--color-scalefree-lightBlue-primary);
}
.form-link:hover {
    color: var(--color-scalefree-darkBlue-primary);
    text-decoration: underline;
}

.checkbox-label-group {
    display: flex;
    align-items: center;
}

input[type="checkbox"].form-checkbox {
    height: 1rem; /* h-4 */
    width: 1rem; /* w-4 */
    color: var(--color-scalefree-lightBlue-primary);
    border-color: var(--color-scalefree-gray);
    border-radius: var(--border-radius-sm);
    accent-color: var(--color-scalefree-lightBlue-primary);
}
input[type="checkbox"].form-checkbox:focus {
    box-shadow: 0 0 0 2px var(--color-scalefree-white), 0 0 0 4px var(--color-scalefree-lightBlue-primary);
}
.checkbox-label {
    margin-left: 0.5rem; /* ml-2 */
    display: block;
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
    color: var(--body-font-color-gray);
}

/* Social Login Section */
.divider-container {
    margin-top: 1.5rem; /* mt-6 */
}
.divider-relative {
    position: relative;
}
.divider-absolute-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}
.divider-line {
    width: 100%;
    border-top: 1px solid var(--color-scalefree-gray);
}
.divider-text-container {
    position: relative;
    display: flex;
    justify-content: center;
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
}
.divider-text {
    padding: 0 0.5rem;
    background-color: var(--color-scalefree-white);
    color: var(--body-font-color-gray);
}

.social-buttons-grid {
    margin-top: 1.5rem; /* mt-6 */
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
    gap: 0.75rem; /* gap-3 */
}
@media (min-width: 640px) { /* sm: */
    .social-buttons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* sm:grid-cols-2 */
    }
}

.btn-social {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-scalefree-gray);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
    background-color: var(--color-scalefree-white);
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
    color: var(--body-font-color-gray);
    transition-property: background-color, color;
    transition-duration: 150ms;
    transition-timing-function: ease-in-out;
}
.btn-social:hover {
    background-color: var(--color-scalefree-gray);
    color: var(--header-font-color);
}
.btn-social svg {
    width: 1.25rem; /* w-5 */
    height: 1.25rem; /* h-5 */
    margin-right: 0.5rem; /* mr-2 */
}

.signup-link-container {
    margin-top: 2.5rem; /* mt-10 */
    text-align: center;
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
    color: var(--body-font-color-gray);
}
.signup-link {
    line-height: 1.5rem; /* leading-6 */
    color: var(--color-scalefree-lightBlue-primary);
}
.signup-link:hover {
    color: var(--color-scalefree-darkBlue-primary);
    text-decoration: underline;
}
.message-container {
    margin-bottom: 15px;
    text-align: center;
}
.message-success {
    /* Using a light blue for success messages */
    color: var(--color-scalefree-lightBlue-primary);
}
.message-error {
    /* Using a dark blue for error/warning messages */
    color: var(--color-scalefree-darkBlue-primary);
}
.form-error-container {
    color: var(--color-scalefree-red);
    margin-bottom: 10px;
}
.icon-turbovault .segment-ring {
    top: 24%;
    left: 24%;
}
.icon-wrapper .icon.icon-turbovault {
    display: flex;
}