/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background-color: #FFFFFF;
}

/* Ensure the app container takes full viewport */
#app {
    height: 100vh;
    width: 100vw;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    position: relative;
}

/* Override any Bootstrap or other framework defaults that might add padding */
body > * {
    margin: 0;
    padding: 0;
}

/* Ensure no padding on main content areas */
#app > * {
    margin: 0;
    padding: 0;
}

/* Override Bootstrap container padding if used */
.container,
.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Design System Variables */
:root {
    --color-black: #201F1D;
    --color-white: #FFFFFF;
    --color-gray-light: #E1E1E1;
    --color-gray-medium: #AFADAD;
    --color-gray-dark: #000000;
    --color-border: #E8E5E0;
    --color-link: #CEB185;
    --font-montserrat-regular: "Montserrat", sans-serif;
    --font-montserrat-medium: "Montserrat", sans-serif;
    --font-montserrat-semibold: "Montserrat", sans-serif;
    --font-size-title: 22px;
    --font-size-body: 16px;
    --font-size-caption: 13px;
    --font-size-button: 16px;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --line-height: 1.5;
    --rz-info: #CEB185;
}

/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

/* ModelProfile Styles */
.model-profile-container {
    background-color: var(--color-white);
    position: relative;
    width: 100%;
    max-width: 402px;
    margin: 0 auto;
    height: 100vh;
    overflow-y: auto;
}

.model-profile-header {
    position: relative;
    background-color: var(--color-white);
    height: 106px;
    width: 100%;
    box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.header-logo {
    position: absolute;
    left: 20px;
    top: 58px;
    height: 29px;
    width: 175px;
}

.header-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-actions {
    position: absolute;
    right: 50px;
    top: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-settings {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.header-settings:hover {
    opacity: 0.7;
}

.header-settings img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-notifications {
    width: 40px;
    height: 40px;
}

.header-notifications img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Profile styles - minimal overrides */
.profile-image-mask {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.profile-details {
    position: relative;
    padding: 0 25px;
    padding-bottom: 30px;
}

/* On screens smaller than 402px, add left padding for mobile */
@media (max-width: 401px) {
    .profile-details {
        padding: 0 0 30px 25px;
    }
}

.profile-header-info {
    position: relative;
    margin-top: 31px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.profile-name {
    font-family: var(--font-montserrat-semibold);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-title);
    line-height: var(--line-height);
    color: var(--color-black);
    margin: 0;
    width: 163px;
}

.edit-icon {
    width: 40px;
    height: 40px;
    margin-left: auto;
}

.edit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.profile-location {
    font-family: var(--font-montserrat-regular);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-body);
    line-height: var(--line-height);
    color: var(--color-black);
    margin-top: 33px;
    width: 213px;
}

.unit-toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 68px;
    margin-bottom: 44px;
}

.unit-label {
    font-family: var(--font-montserrat-regular);
    font-weight: var(--font-weight-regular);
    font-size: 18px;
    line-height: var(--line-height);
    color: var(--color-black);
}

.toggle-switch {
    width: 80px;
    height: 44px;
}

.toggle-switch img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.measurements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 0;
    margin-bottom: 48px;
}

.measurement-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.measurement-label {
    font-family: var(--font-montserrat-medium);
    font-weight: var(--font-weight-medium);
    font-size: 18px;
    line-height: var(--line-height);
    color: var(--color-black);
}

.measurement-value {
    font-family: var(--font-montserrat-regular);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-body);
    line-height: var(--line-height);
    color: var(--color-link);
}

.additional-info {
    margin-bottom: 48px;
}

.info-section {
    margin-bottom: 32px;
}

.info-label {
    font-family: var(--font-montserrat-medium);
    font-weight: var(--font-weight-medium);
    font-size: 18px;
    line-height: var(--line-height);
    color: var(--color-black);
    margin-bottom: 8px;
}

.info-value {
    font-family: var(--font-montserrat-regular);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-body);
    line-height: var(--line-height);
    color: var(--color-link);
    white-space: pre-line;
}

.portfolio-section {
    margin-top: 48px;
}

.portfolio-title {
    font-family: var(--font-montserrat-semibold);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-title);
    line-height: var(--line-height);
    color: var(--color-black);
    margin: 0 0 59px 0;
}

.portfolio-images {
    display: flex;
    gap: 0;
}

.portfolio-image {
    position: relative;
    height: 207px;
}

.portfolio-image:first-child {
    width: 173.443px;
}

.portfolio-image:last-child {
    width: 137.865px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* EditProfile Styles */
.edit-profile-container {
    background-color: var(--color-white);
    position: relative;
    width: 100%;
    max-width: 402px;
    margin: 0 auto;
    height: 100vh;
    overflow-y: auto;
    /* Hide scrollbar for Webkit browsers (Chrome, Safari, Edge) */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    padding-bottom: 80px; /* Space for bottom navigation bar */
}

.edit-profile-container::-webkit-scrollbar {
    display: none; /* Webkit browsers */
}

.edit-profile-header {
    position: relative;
    background-color: var(--color-white);
    height: 106px;
    width: 100%;
    box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.back-button {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.back-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-title {
    font-family: var(--font-montserrat-semibold);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-title);
    line-height: var(--line-height);
    color: var(--color-black);
    text-align: center;
}

.profile-image-edit-section {
    position: relative;
    padding: 20px 0;
    text-align: center;
}

.profile-image-edit-container {
    position: relative;
    width: 129.727px;
    height: 164px;
    margin: 0 auto;
    left: 10px;
}

.profile-image-edit-mask {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.profile-image-edit {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.edit-photo-text {
    font-family: var(--font-montserrat-regular);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-body);
    line-height: var(--line-height);
    color: var(--color-black);
    text-align: center;
    margin-top: 10px;
}

.edit-form {
    padding: 0 26px;
    padding-bottom: 100px;
}

.form-field {
    margin-bottom: 32px;
}

.field-label {
    font-family: var(--font-montserrat-regular);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-body);
    line-height: var(--line-height);
    color: var(--color-black);
    margin-bottom: 8px;
}

.required {
    color: var(--color-link);
}

.input-container {
    position: relative;
    width: 350px;
    height: 44px;
}

.form-input {
    width: 100%;
    height: 100%;
    padding: 0 15px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-white);
    font-family: var(--font-montserrat-regular);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-body);
    line-height: var(--line-height);
    color: var(--color-black);
    outline: none;
}

.form-input:focus {
    border-color: var(--color-link);
}

.dropdown-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    pointer-events: none;
}

.dropdown-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.textarea-container {
    width: 350px;
    height: 206px;
}

.form-textarea {
    width: 100%;
    height: 100%;
    padding: 15px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-white);
    font-family: var(--font-montserrat-regular);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-body);
    line-height: var(--line-height);
    color: var(--color-black);
    outline: none;
    resize: none;
}

.form-textarea:focus {
    border-color: var(--color-link);
}

.add-language-link {
    font-family: var(--font-montserrat-medium);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-body);
    line-height: var(--line-height);
    color: var(--color-link);
    margin-bottom: 32px;
    cursor: pointer;
}

.word-limit {
    font-family: var(--font-montserrat-medium);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-body);
    line-height: var(--line-height);
    color: var(--color-link);
    margin-top: 8px;
}

.save-button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    padding: 20px;
    box-shadow: 0px -1px 1px 0px rgba(0,0,0,0.25);
    z-index: 20;
}

.save-button {
    width: 290px;
    height: 44px;
    background-color: var(--color-black);
    border: none;
    border-radius: 8px;
    font-family: var(--font-montserrat-medium);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-body);
    line-height: var(--line-height);
    color: var(--color-white);
    cursor: pointer;
    margin: 0 auto;
    display: block;
}

.save-button:hover {
    background-color: #333;
}

/* Welcome Screen Styles */
.welcome-screen {
    background-color: var(--color-white);
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background-image.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(4px);
    mix-blend-mode: luminosity;
    opacity: 0.3;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.logo-container {
    position: relative;
    z-index: 10;
    width: 220px;
    height: 210px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Debug styles to ensure logo is visible */
    border: 1px solid transparent;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    /* Ensure the image is visible */
    max-width: 100%;
    max-height: 100%;
}

.buttons-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
    max-width: 320px;
    padding: 0 20px;
}

.client-button {
    width: 100%;
    max-width: 290px;
    height: 44px;
    background-color: var(--color-black);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.client-button:hover {
    background-color: #2a2927;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.client-button-text {
    font-family: var(--font-montserrat-medium);
    font-size: var(--font-size-button);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height);
    color: var(--color-white);
    text-align: center;
}

.staff-button {
    width: 100%;
    max-width: 290px;
    height: 44px;
    background-color: var(--color-white);
    border: 1px solid var(--color-black);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.staff-button:hover {
    background-color: #f5f5f5;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.staff-button-text {
    font-family: var(--font-montserrat-medium);
    font-size: var(--font-size-button);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height);
    color: var(--color-black);
    text-align: center;
}

/* Staff Signup Screen Styles */
.staff-signup-screen {
    background-color: var(--color-white);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.header {
    background-color: var(--color-white);
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 21px;
    position: relative;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.back-button {
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.back-button:hover {
    opacity: 0.7;
}

.back-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-montserrat-semibold);
    font-size: var(--font-size-title);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height);
    color: var(--color-gray-dark);
    text-align: center;
}

.profile-photo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 10px;
    flex-shrink: 0;
}

.photo-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-background {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.person-icon {
    position: absolute;
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.add-photo-text {
    font-family: var(--font-montserrat-regular);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height);
    color: var(--color-gray-dark);
    text-align: center;
}

.form-container {
    flex: 1;
    padding: 0 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    min-height: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-family: var(--font-montserrat-regular);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height);
    color: var(--color-gray-dark);
}

.form-input {
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-white);
    font-family: var(--font-montserrat-regular);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height);
    color: var(--color-gray-dark);
    outline: none;
    transition: border-color 0.3s ease;
    width: 100%;
}

.form-input:focus {
    border-color: var(--color-link);
}

.form-input::placeholder {
    color: var(--color-gray-medium);
}

.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-input-container .form-input {
    padding-right: 50px;
}

.visibility-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.visibility-toggle:hover {
    opacity: 0.7;
}

.visibility-toggle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.password-hint {
    font-family: var(--font-montserrat-regular);
    font-size: var(--font-size-caption);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height);
    color: var(--color-gray-dark);
    margin-top: 4px;
}

.terms-container {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 350px;
    width: 100%;
}

.checkbox {
    width: 26px;
    height: 26px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-white);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.terms-text {
    font-family: var(--font-montserrat-regular);
    font-size: 11px;
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height);
    color: var(--color-gray-dark);
    cursor: pointer;
}

.link {
    color: var(--color-link);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.link:hover {
    opacity: 0.7;
}

.signup-button {
    width: 100%;
    max-width: 290px;
    height: 44px;
    background-color: var(--color-black);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
    margin-top: 20px;
}

.signup-button:hover {
    background-color: #2a2927;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.signup-button.disabled {
    background-color: var(--color-gray-light);
    cursor: not-allowed;
}

.signup-button.disabled:hover {
    background-color: var(--color-gray-light);
    transform: none;
    box-shadow: none;
}

.button-text {
    font-family: var(--font-montserrat-medium);
    font-size: var(--font-size-button);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height);
    color: var(--color-white);
    text-align: center;
}

.signup-button.disabled .button-text {
    color: var(--color-gray-medium);
}

.login-link {
    text-align: center;
    margin-top: 20px;
}

.login-link p {
    font-family: var(--font-montserrat-regular);
    font-size: var(--font-size-caption);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height);
    color: var(--color-gray-dark);
}

/* Login Screen Styles */
.login-screen {
    background-color: var(--color-white);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.login-screen .header {
    background-color: var(--color-white);
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 21px;
    position: relative;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.login-screen .form-container {
    flex: 1;
    padding: 0 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    min-height: 0;
    margin-top: 100px; /* Added proper spacing from Figma design */
}

.forgot-password-link {
    text-align: right;
    margin-top: 10px;
}

.forgot-password-link .link {
    font-family: var(--font-montserrat-regular);
    font-size: var(--font-size-caption);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height);
    color: var(--color-link);
}

.login-button {
    width: 100%;
    max-width: 290px;
    height: 44px;
    background-color: var(--color-black);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
    margin-top: 30px;
}

.login-button:hover {
    background-color: #2a2927;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.login-button .button-text {
    color: var(--color-white);
}

/* Complete Application Screen Styles */
.complete-application-screen {
    background-color: var(--color-white);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.complete-application-screen .header {
    background-color: var(--color-white);
    height: 106px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 21px;
    position: relative;
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.complete-application-screen .form-container {
    flex: 1;
    padding: 0 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    min-height: 0;
    padding-bottom: 134px; /* Space for submit button */
    padding-top: 50px; /* Add spacing from header to match Figma design */
}

.required {
    color: var(--color-link);
}

.select-container {
    position: relative;
    width: 100%;
}

.select-input {
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.select-arrow img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.add-language-section {
    margin-top: 8px;
}

.add-language-button {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.add-language-button:hover {
    opacity: 0.7;
}

.add-language-text {
    font-family: var(--font-montserrat-medium);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height);
    color: var(--color-link);
}

.photo-upload-section {
    margin-top: 8px;
}

.photo-upload-container {
    width: 171px;
    height: 241px;
    border: 1px solid var(--color-black);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-upload-container:hover {
    border-color: var(--color-link);
}

.photo-upload-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.add-icon {
    position: absolute;
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-top: 20px;
    margin-left: 20px;
}

.submit-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    padding: 20px 56px;
    border-top: 1px solid var(--color-border);
    z-index: 100;
}

.submit-button {
    width: 100%;
    max-width: 290px;
    height: 44px;
    background-color: var(--color-gray-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.submit-button:hover {
    background-color: #d4d4d4;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.submit-button .button-text {
    color: var(--color-gray-medium);
}

/* Model Submitted Screen Styles */
.model-submitted-screen {
    background-color: var(--color-white);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.content-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.message-container {
    max-width: 272px;
    text-align: center;
}

.submission-message {
    font-family: var(--font-montserrat-regular);
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height);
    color: var(--color-gray-dark);
    text-align: center;
}

.close-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    padding: 20px 56px 40px 56px;
    z-index: 100;
}

.close-button {
    width: 100%;
    max-width: 290px;
    height: 44px;
    background-color: var(--color-black);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.close-button:hover {
    background-color: #2a2927;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-button .button-text {
    color: var(--color-white);
}

/* Model Under Review Screen Styles */
.model-under-review-screen {
    background-color: var(--color-white);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.model-under-review-screen .content-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.model-under-review-screen .message-container {
    max-width: 272px;
    text-align: center;
}

.review-message {
    font-family: var(--font-montserrat-regular);
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height);
    color: var(--color-gray-dark);
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-container {
        width: 180px;
        height: 170px;
        margin-bottom: 40px;
    }
    
    .buttons-container {
        max-width: 280px;
        gap: 12px;
    }
    
    .client-button,
    .staff-button {
        max-width: 250px;
        height: 48px;
    }
    
    .client-button-text,
    .staff-button-text {
        font-size: 18px;
    }

    .form-container {
        padding: 0 20px;
    }

    .photo-container {
        width: 100px;
        height: 100px;
    }

    .person-icon {
        width: 76px;
        height: 76px;
    }

    .checkbox-container {
        max-width: 300px;
    }

    .complete-application-screen .form-container {
        padding: 0 20px;
        padding-bottom: 134px;
    }

    .submit-section {
        padding: 20px;
    }

    .photo-upload-container {
        width: 150px;
        height: 200px;
    }

    .close-section {
        padding: 20px 20px 40px 20px;
    }

    .message-container {
        max-width: 250px;
    }

    .submission-message {
        font-size: 16px;
    }

    .model-under-review-screen .message-container {
        max-width: 250px;
    }

    .review-message {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .logo-container {
        width: 150px;
        height: 140px;
        margin-bottom: 30px;
    }
    
    .buttons-container {
        max-width: 260px;
        gap: 10px;
    }
    
    .client-button,
    .staff-button {
        max-width: 220px;
        height: 50px;
    }

    .form-container {
        padding: 0 16px;
    }

    .photo-container {
        width: 80px;
        height: 80px;
    }

    .person-icon {
        width: 60px;
        height: 60px;
    }

    .page-title {
        font-size: 20px;
    }

    .checkbox-container {
        max-width: 280px;
    }

    .close-section {
        padding: 16px 16px 32px 16px;
    }

    .message-container {
        max-width: 220px;
    }

    .submission-message {
        font-size: 15px;
    }

    .model-under-review-screen .message-container {
        max-width: 220px;
    }

    .review-message {
        font-size: 15px;
    }
}

/* Settings Screen Styles */
.settings-screen {
    background-color: var(--color-white);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 402px;
    margin: 0 auto;
}

.settings-header {
    position: relative;
    background-color: var(--color-white);
    height: 106px;
    width: 100%;
    box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.settings-header .back-button {
    position: absolute;
    left: 21px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.settings-header .back-button:hover {
    opacity: 0.7;
}

.settings-header .back-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.settings-title {
    font-family: var(--font-montserrat-semibold);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-title);
    line-height: var(--line-height);
    color: var(--color-black);
    text-align: center;
    margin: 0;
}

.user-profile-section {
    padding: 44px 0 33px 0;
    text-align: center;
    background-color: var(--color-white);
}

.user-name {
    font-family: var(--font-montserrat-semibold);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-title);
    line-height: var(--line-height);
    color: var(--color-black);
    margin: 0 0 16px 0;
}

.user-role {
    font-family: var(--font-montserrat-regular);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-body);
    line-height: var(--line-height);
    color: var(--color-black);
    margin: 0;
}

.settings-content {
    flex: 1;
    padding: 0 25px;
    padding-bottom: 30px;
    overflow-y: auto;
    /* Hide scrollbar for Webkit browsers (Chrome, Safari, Edge) */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.settings-content::-webkit-scrollbar {
    display: none; /* Webkit browsers */
}

.settings-section {
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-montserrat-medium);
    font-weight: var(--font-weight-medium);
    font-size: 18px;
    line-height: var(--line-height);
    color: var(--color-black);
    margin: 0 0 18px 0;
}

.settings-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    height: 160px;
    width: 100%;
    overflow: hidden;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    height: 80px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.setting-item:hover {
    background-color: #f8f8f8;
}

.setting-item:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
}

.setting-info {
    flex: 1;
}

.setting-label {
    font-family: var(--font-montserrat-medium);
    font-weight: var(--font-weight-medium);
    font-size: 18px;
    line-height: var(--line-height);
    color: var(--color-black);
    margin-bottom: 8px;
}

.setting-description {
    font-family: var(--font-montserrat-regular);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-caption);
    line-height: var(--line-height);
    color: #201f1d;
}

.setting-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-90deg);
}

.setting-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logout-section {
    margin: 46px 0 17px 0;
    display: flex;
    justify-content: center;
}

.logout-button {
    width: 290px;
    height: 44px;
    background-color: var(--color-black);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-button:hover {
    background-color: #2a2927;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logout-text {
    font-family: var(--font-montserrat-medium);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-button);
    line-height: var(--line-height);
    color: var(--color-white);
    text-align: center;
}

.delete-account-section {
    text-align: center;
    margin-bottom: 30px;
}

.delete-account-link {
    font-family: var(--font-montserrat-regular);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-caption);
    line-height: var(--line-height);
    color: #201f1d;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.delete-account-link:hover {
    opacity: 0.7;
}

/* Blazor specific styles */
h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #CEB185;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Loading Styles */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background-color: var(--color-white);
}

.loading-spinner {
    font-family: var(--font-montserrat-regular);
    font-size: var(--font-size-body);
    color: var(--color-black);
    text-align: center;
}
