#referralPage {
    background: var(--sd-base-gray-25);
    overflow: auto;
}

#ref-page {
    margin: 0px auto;
    width: 645px;
    max-width: 800px;
    background: var(--common-background);
    min-height: 100%;
    padding-top: 40px;
    padding: 40px 5%;
}

.ref-header {
    font-size: 18px;
    font-weight: 600;
}

.ref-link-container {
    padding: 30px;
    border: 1px solid #d8d8d8;
    margin: 30px 0;
    border-radius: 15px;
}

.ref-link-section-header {
    margin-bottom: 20px;
}

.ref-link-header {
    font-size: 24px;
    color: var(--sd-base-gray-900);
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ref-link-with-copy-btn-container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-bottom: 40px;
}

.ref-link-with-copy-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ref-link {
    padding: 6px 35px 6px 15px;
    border: 1px solid #c1c1c1;
    /* width: fit-content; */
    border-radius: 3px;
    color: var(--sd-base-gray-800);
    flex: 1;
    margin-right: 15px;
    /* background: var(--sd-neutral-50); */
}

.ref-sub-header {
    color: var(--sd-base-gray-800);
}

.ref-link-sub-header {
    color: var(--sd-neutral-600);
    font-size: 15px;
    line-height: 18px;
    /* margin-bottom: 6px; */
}

/*.ref-link-text {
    font-size: 13px;
    color: black;
    margin-bottom: 5px;
}*/

.rfemail-and-image {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.rfemail-and-image .rf-image {
    background: var(--theme-color-bright);
    color: white;
}

#referee-list {
    width: 100%;
    margin-top: 10px;
}

.referee-list-container {
    padding-top: 30px;
    padding-bottom: 100px;
}

#referee-list thead th {
    font-weight: 100;
    font-size: 14px !important;
}

#referee-list thead {
    background: white !important;
}

a.ref-link-share-btn img {
    width: 30px;
}

a.ref-link-share-btn {
    width: 40px;
    height: 40px;
    background: var(--sd-base-gray-50);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.ref-link-share-btn-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.ref-link-share-text {
    margin-bottom: 5px;
}

.ref-earned-credit-container {
    text-align: right;
    margin-right: 50px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 4px;
}

.ref-list-header {
    display: flex;
    justify-content: space-between;
}

.ref-credit-text {
    /* font-weight: 500; */
}

.ref-badge {
    display: flex;
    align-items: center;
    border: 1px solid var(--sd-primary-100);
    border-radius: 14px;
    width: fit-content;
    padding: 0px 6px;
    height: 26px;
    margin-bottom: 12px;
}

span.ref-badge-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 1px;
}

span.ref-badge-text {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.ref-link-with-copy-btn-container .ref-link-sub-header,
.ref-link-share-container  .ref-link-sub-header{
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--sd-neutral-800);
}

.ref-step {
    display: flex;
    align-items: flex-start;
    max-width: 400px;
}

span.ref-step-text {
    color: var(--sd-neutral-600);
    font-size: 15px;
    line-height: 18px;
    margin-left: 20px;
    font-weight: 600;
    color: var(--sd-neutral-800);
}

.ref-procudure {margin-top: 35px;padding: 30px;border: 1px solid #d8d8d8;margin: 25px 0;border-radius: 15px;}

.ref-step:not(:last-child) {
    margin-bottom: 20px;
}

span.ref-step-icon svg {
    width: 25px;
    height: 25px;
}
