@font-face {
    font-family: 'Apis';
    src: url('assets/fonts/WOFF-2-TT/ApisWeb-Regular.woff2') format('woff2'),
    url('assets/fonts/WOFF-TT/ApisWeb-Regular.woff')  format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Apis';
    src: url('assets/fonts/WOFF-2-TT/ApisWeb-Bold.woff2')  format('woff2'),
    url('assets/fonts/WOFF-TT/ApisWeb-Bold.woff')  format('woff');
    font-weight: 700;
    font-style: normal;
}
body {
    font-family: 'Apis', Arial, sans-serif;
    margin: 0;
    background: #fff;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.header {
    padding-left: 128px;
    padding-top: 32px;
    padding-bottom: 32px;
    display: flex;
    justify-content: start;
    align-items: start;
    max-width: 1241px;
    width: 100%;
}
.logo-svg {
    width: 220px;
    height: auto;
    display: block;
}
.hero-img {
    width: 100%;
    max-width: 1241px;
    height: 482px;
    object-fit: cover;
    border-radius: 48px 0 48px 0;
    margin-bottom: 32px;
}
.content {
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 1241px;
    margin: 0 auto;
    box-sizing: border-box;
}
.welcome-title {
    width: 100%;
    max-width: 1241px;
    font-family: 'Apis', Arial, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 46.5561px;
    line-height: 63px;
    text-align: start;
    color: #0092BC;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    box-sizing: border-box;
}
.welcome-title .wegovycare,
.welcome-title .wegovycare sup {
    color: #C6007E;
}
.container {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}
.container2 {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 16px;
    box-sizing: border-box;
    flex: 1;
}
.message {
    width: 100%;
    margin: 40px 0 60px 0;
    font-size: 1.2rem;
    text-align: left;
}
.info-text {
    width: 100%;
    max-width: 1241px;
    font-family: 'Apis', Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 33px;
    color: #474747;
    align-self: stretch;
    flex-grow: 0;
}
.patient-btn {
    background: #c8007e;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 32px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background 0.2s;
    width: 776px;
    height: 64px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.hcp-btn {
    background: #007EA8;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 64px;
    font-size: 32px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background 0.2s;
    width: 776px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.patient-btn:hover {
    background: #a00063;
}
.footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 16px;
    width: 100%;
    max-width: 1240px;
    height: 110px;
    margin-top: auto;
}
.footer-line {
    max-width: 1240px;
    width: 100%;
    height: 0px;
    border: 1px solid #C1C6C8;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}
.success-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 100;
    padding-left: 20px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.footer-text {
    max-width: 1240px;
    width: 100%;
    font-family: 'Apis';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #474747;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    text-align: left;
}
.hcp-access-code-input {
    width: 507px;
    height: 36px;
    flex-shrink: 0;
    color: #333;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px;
    text-align: left;
    padding: 8px;
    margin-right: 10px;
}
.hcp-access-code-form {
    margin-top: 30px;
    text-align: left;
    display: flex;
    align-items: star;
    flex-direction: column;
}
.hcp-access-code-btn, .hcp-form-btn {
    padding: 8px 20px;
    font-size: 16px;
    margin-top: 40px;
    width: 507px;
    height: 68px;
    background: #C6007E;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 32px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}
.hcp-access-code-btn:disabled, .hcp-form-btn:disabled {
    background: #E0E0E0;
    color: #9E9E9E;
    cursor: not-allowed;
    opacity: 0.7;
}

.title1 {
    color: #0092BC;
    font-size: 45px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    width: 75%;
    margin-top: 32px;
    margin-bottom: 8px;
}


.title2{
    color: #474747;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 75%;
    margin-top: 8px;
    margin-bottom: 8px;
}

.title3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 24px;
}


.section1 {
    width: 100%;
    margin-top: 32px;
}

md-grid-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 16px;
    margin-bottom: 32px;
}

md-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 16px;
}

md-grid-cell {
    flex: 1 1 300px; /* Flex-grow, flex-shrink, and base width */
    display: flex;
    flex-direction: column;
    gap: 28px;
}

md-outlined-text-field{
    width: 100%;
}

.checkpoint-agreement{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

.checkpoint-agreement > div {
    width: 90%;
}

label{
    margin-bottom: 0px;
    display: flex;
    justify-content: start;
    align-items: center;
}

.label {
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #474747;
    height: 10px;
}

.checkpoint-label{
    width: 90%;
    padding-top:14px;
    color: #474747;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-left: 16px;
}

.submit-section{
    margin-top: 48px;
    width: 100%;
    justify-content: end;
    align-content: center;
    display: flex;
}

.signup-form{
    padding-bottom: 32px;
}

.form-container {
    width: 100%;
    max-width: 1241px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.info-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.qr-code-placeholder {
    width: 317.102px;
    height: 317.102px;
    flex-shrink: 0;
    border-radius: 32px;
    background: #D9D9D9;
}

.text-content {
    margin-bottom: 24px;
}

.app-stores {
    display: flex;
    gap: 16px;
    align-items: center;
}

.app-store-btn {
    width: 196.185px;
    height: 58.129px;
    flex-shrink: 0;
}

.desktop-only {
    display: flex;
}

.tablet-only {
    display: none;
}
.hcp-error-message{
    color: red;
    font-size: 16px;
    margin-top: 10px;
}
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }
    .container2 {
        padding: 0 16px;
    }
    .content {
        padding-left: 16px;
        padding-right: 16px;
    }
    .welcome-title {
        width: 100%;
    }
    .patient-btn, .hcp-btn {
        width: 100%;
        max-width: 776px;
    }
    .hcp-access-code-input, .hcp-access-code-btn, .hcp-form-btn {
        width: 100%;
        max-width: 507px;
    }
    .title1, .title2 {
        width: 100%;
    }
    .hcp-access-code-form {
        align-items: center;
        text-align: center;
    }
    .hcp-access-code-input {
        margin-right: 0;
    }
    .form-container {
        max-width: 90%;
    }
    .submit-section {
        justify-content: center;
    }
    .info-container {
        flex-direction: column-reverse;
        align-items: center;
    }
    .qr-code-placeholder {
        width: 100%;
        max-width: 317.102px;
        aspect-ratio: 1;
    }
    .desktop-only {
        display: none;
    }
    .tablet-only {
        display: flex;
        justify-content: center;
        margin-top: 48px;
        margin-left: -10px;
    }
}
