/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Inter', 'SF Pro Text', 'Manrope', 'Rubik', sans-serif;
    background: white;
    color: #020617;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

/* Container styles */
.container {
    width: 100%;
    min-height: 100vh;
    background: white;
    position: relative;
    margin: 0 auto;
    max-width: 375px;
}

/* Status bar */
.status-bar {
    width: 100%;
    padding: 13px 16px 13px 32px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.time {
    color: black;
    font-size: 17px;
    font-family: 'SF Pro Text', sans-serif;
    font-weight: 600;
    line-height: 22px;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Navigation bar */
.nav-bar {
    width: 100%;
    padding: 8px 16px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.nav-icon {
    width: 56px;
    height: 56px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #020617;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 24px;
    white-space: nowrap;
}

/* Form container */
.form-container {
    width: 100%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding-bottom: 240px;
}

/* Input fields */
.input-group {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.input-field {
    align-self: stretch;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    color: #64748B;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 24px;
    width: 100%;
}

.input-field.password {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Divider */
.divider-container {
    align-self: stretch;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 11.54px;
    margin: 16px 0;
}

.divider-line {
    flex: 1;
    height: 0;
    border-top: 1px solid #F5F5F5;
}

.divider-text {
    color: #969696;
    font-size: 13.46px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    line-height: 13.46px;
}

/* Google button */
.google-button {
    align-self: stretch;
    height: 50px;
    padding: 7.69px 19.23px;
    border-radius: 15.38px;
    border: 1px solid #DEDCDC;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9.62px;
    cursor: pointer;
    background: white;
    width: 100%;
}

.google-button-text {
    color: #595959;
    font-size: 13.46px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    line-height: 23.86px;
}

.google-icon {
    display: flex;
    align-items: center;
    gap: 2px;
}

.google-icon div {
    border-radius: 50%;
}

/* Links section */
.links-section {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    margin: 16px 0;
}

.link-group {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 17.31px;
}

.link-text {
    text-align: center;
    color: #020617;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.4;
    padding: 0 8px;
}

.link-text a {
    color: #020617;
    font-weight: 700;
    text-decoration: underline;
    line-height: 1.4;
}

/* Submit button */
.submit-container {
    width: 100%;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    position: fixed;
    bottom: 80px;
    left: 0;
    background: #ffffff;
    z-index: 20;
}

.submit-button {
    width: 343px;
    max-width: 100%;
    padding: 16px 24px;
    background: #F1F5F9;
    border-radius: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: not-allowed;
}

.submit-button:enabled {
    background: #3B82F6;
    cursor: pointer;
}

.submit-button-text {
    color: #CBD5E1;
    font-size: 16px;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    line-height: 24px;
}

.submit-button:enabled .submit-button-text {
    color: white;
}

/* Help section */
.help-section {
    width: 100%;
    padding: 8px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    color: #020617;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 24px;
    position: fixed;
    bottom: 140px;
    left: 0;
    background: #ffffff;
    z-index: 20;
}

.help-section a {
    color: #020617;
    font-weight: 700;
    text-decoration: none;
}

/* Bottom bar */
.bottom-bar {
    width: 100%;
    padding: 8px 16px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    border-top: 1px solid #f0f0f0;
}

.bottom-indicator {
    width: 139px;
    height: 5px;
    background: black;
    border-radius: 100px;
}