/* =========================================================
   AIRSWAP PROFILE PAGE
========================================================= */

.airswap-profile {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 35px 25px 60px;

    font-family: 'Livvic', sans-serif;
    color: #160B68;

    box-sizing: border-box;
}


/* =========================================================
   PROFILE HERO
========================================================= */

.airswap-profile .profile-hero {
    position: relative;

    width: 100%;
    min-height: 245px;

    padding: 50px 40px 45px;

    overflow: hidden;

    border-radius: 20px 20px 0 0;

    background: linear-gradient(
        120deg,
        #eef4ff 0%,
        #f8fbff 45%,
        #fffaf2 100%
    );

    box-sizing: border-box;
}


/* =========================================================
   HERO TITLE
========================================================= */

.airswap-profile .profile-hero-content {
    position: relative;
    z-index: 10;

    max-width: 650px;
}

.airswap-profile .profile-hero-content h1 {
    margin: 0;

    color: #160B68;

    font-size: 42px;
    font-weight: 700;

    line-height: 1.15;
}

.airswap-profile .profile-hero-content p {
    margin: 10px 0 0;

    color: #536486;

    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   MORE POSSIBILITIES WITH AIRSWAP
========================================================= */

.airswap-profile .hero-message {
    position: absolute;
    z-index: 10;

    top: 42px;
    right: 65px;

    width: 180px;

    color: #160B68;

    font-size: 22px;
    font-weight: 700;
    font-style: italic;

    line-height: 1.05;
}

.airswap-profile .hero-message span {
    display: block;
}

.airswap-profile .hero-message span:nth-child(1) {
    margin-left: 12px;
}

.airswap-profile .hero-message span:nth-child(2) {
    margin-left: 0;
}

.airswap-profile .hero-message span:nth-child(3) {
    margin-left: 8px;
}


/* Orange underline */

.airswap-profile .hero-underline {
    width: 85px;
    height: 5px;

    margin-top: 12px;
    margin-left: 8px;

    border-radius: 10px;

    background: #F79400;

    transform: rotate(-5deg);
}


/* =========================================================
   HERO WAVES
========================================================= */

.airswap-profile .hero-wave {
    position: absolute;

    pointer-events: none;

    border-radius: 50%;
}


/* Soft blue background */

.airswap-profile .hero-wave-blue {
    width: 900px;
    height: 230px;

    right: -180px;
    bottom: -150px;

    background: #e1ebff;

    transform: rotate(-8deg);
}


/* Green wave */

.airswap-profile .hero-wave-green {
    width: 680px;
    height: 90px;

    right: -80px;
    bottom: -5px;

    background: #279B48;

    transform: rotate(-9deg);
}


/* Orange wave */

.airswap-profile .hero-wave-orange {
    width: 720px;
    height: 25px;

    right: -90px;
    bottom: 38px;

    background: #F79400;

    transform: rotate(-9deg);
}


/* White curve over the left part */

.airswap-profile .profile-hero::after {
    content: "";

    position: absolute;
    z-index: 5;

    left: -120px;
    bottom: -95px;

    width: 700px;
    height: 175px;

    background: #fff;

    border-radius: 50%;

    transform: rotate(-5deg);

    pointer-events: none;
}


/* =========================================================
   PROFILE MAIN CARD
========================================================= */

.airswap-profile .profile-main-card {
    position: relative;
    z-index: 20;

    display: flex;
    align-items: center;

    width: 100%;

    gap: 25px;

    margin: 0 0 20px;
    padding: 28px 32px;

    background: #fff;

    border: 1px solid #e8eaf2;
    border-radius: 18px;

    box-shadow:
        0 8px 30px rgba(22, 11, 104, 0.08);

    box-sizing: border-box;
}


/* =========================================================
   PROFILE AVATAR
========================================================= */

.airswap-profile .profile-avatar {
    width: 105px;
    height: 105px;

    min-width: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #160B68;

    color: #fff;

    font-size: 35px;
    font-weight: 700;

    border: 4px solid #F79400;

    box-shadow:
        0 0 0 4px #279B48;

    box-sizing: border-box;
}


/* =========================================================
   PROFILE DETAILS
========================================================= */

.airswap-profile .profile-details {
    min-width: 0;
}

.airswap-profile .profile-details h2 {
    margin: 0 0 7px;

    color: #160B68;

    font-size: 28px;
    font-weight: 700;

    line-height: 1.2;
}

.airswap-profile .profile-phone {
    margin-bottom: 10px;

    color: #536078;

    font-size: 15px;
}

.airswap-profile .profile-phone i {
    margin-right: 7px;

    color: #160B68;
}

.airswap-profile .member-since {
    margin: 9px 0 0;

    color: #788195;

    font-size: 13px;
}


/* =========================================================
   REFER & EARN BUTTON
========================================================= */

.airswap-profile .profile-main-card .edit-profile-btn {
    margin-left: auto;

    flex-shrink: 0;
}

.airswap-profile .edit-profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 20px;

    border: 1px solid #160B68;
    border-radius: 9px;

    background: #fff;

    color: #160B68;

    font-family: inherit;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.airswap-profile .edit-profile-btn i {
    margin-right: 7px;
}

.airswap-profile .edit-profile-btn:hover {
    background: #160B68;

    color: #fff;

    border-color: #160B68;
}


/* =========================================================
   VERIFIED BADGE
========================================================= */

.airswap-profile .verified-badge {
    display: inline-flex;
    align-items: center;

    gap: 5px;

    padding: 5px 11px;

    border-radius: 20px;

    background: #eaf8ee;

    color: #279B48;

    font-size: 12px;
    font-weight: 700;
}

.airswap-profile .verified-badge i {
    font-size: 13px;
}


/* =========================================================
   STATISTICS
========================================================= */

.airswap-profile .profile-stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;

    margin-top: 20px;
}


/* =========================================================
   STAT CARD
========================================================= */

.airswap-profile .profile-stat-card {
    display: flex;
    align-items: center;

    gap: 15px;

    min-height: 115px;

    padding: 20px;

    background: #fff;

    border: 1px solid #e8eaf2;
    border-radius: 15px;

    box-shadow:
        0 4px 18px rgba(22, 11, 104, 0.045);

    box-sizing: border-box;
}


/* =========================================================
   STAT ICON
========================================================= */

.airswap-profile .stat-icon {
    width: 52px;
    height: 52px;

    min-width: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 20px;
}

.airswap-profile .purchase-icon {
    background: #eaf8ee;
    color: #279B48;
}

.airswap-profile .convert-icon {
    background: #fff1dc;
    color: #F79400;
}

.airswap-profile .verification-icon {
    background: #eeeafd;
    color: #160B68;
}


/* =========================================================
   STAT CONTENT
========================================================= */

.airswap-profile .stat-content {
    min-width: 0;
}

.airswap-profile .stat-content span {
    display: block;

    margin-bottom: 5px;

    color: #737c8d;

    font-size: 12px;

    line-height: 1.3;
}

.airswap-profile .stat-content strong {
    display: block;

    font-size: 21px;
    font-weight: 700;

    line-height: 1.25;

    white-space: nowrap;
}

.airswap-profile .stat-content small {
    display: block;

    margin-top: 4px;

    color: #8991a0;

    font-size: 11px;

    line-height: 1.3;
}


/* =========================================================
   STAT COLORS
========================================================= */

.airswap-profile .green-value {
    color: #279B48;
}

.airswap-profile .orange-value {
    color: #F79400;
}

.airswap-profile .navy-value {
    color: #160B68;
}


/* =========================================================
   ACCOUNT INFORMATION
========================================================= */

.airswap-profile .account-card {
    width: 100%;

    margin-top: 20px;

    padding: 24px;

    background: #fff;

    border: 1px solid #e8eaf2;
    border-radius: 16px;

    box-shadow:
        0 4px 18px rgba(22, 11, 104, 0.045);

    box-sizing: border-box;
}

.airswap-profile .account-card h3 {
    margin: 0 0 15px;

    color: #160B68;

    font-size: 19px;
    font-weight: 700;
}


/* =========================================================
   ACCOUNT ROW
========================================================= */

.airswap-profile .account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 55px;

    padding: 0 8px;

    border-bottom: 1px solid #eef0f5;

    box-sizing: border-box;
}

.airswap-profile .account-row:last-child {
    border-bottom: none;
}


/* =========================================================
   ACCOUNT LABEL
========================================================= */

.airswap-profile .account-label {
    display: flex;
    align-items: center;

    gap: 13px;

    color: #667085;

    font-size: 14px;
}

.airswap-profile .account-label i {
    width: 20px;

    color: #160B68;

    text-align: center;
}

.airswap-profile .account-row > strong {
    color: #26304a;

    font-size: 14px;
    font-weight: 600;

    text-align: right;
}


/* =========================================================
   VERIFICATION NOTICE
========================================================= */

.airswap-profile .verification-notice {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;

    width: 100%;

    min-height: 88px;

    gap: 15px;

    margin-top: 20px;
    padding: 18px 22px;

    background: linear-gradient(
        90deg,
        #f0fbf3 0%,
        #f8fdf9 100%
    ) !important;

    border: 1px solid #bce7c8 !important;
    border-radius: 13px;

    box-sizing: border-box;

    overflow: hidden;
}


/* =========================================================
   VERIFICATION ICON
========================================================= */

.airswap-profile .verification-notice-icon {
    width: 48px;
    height: 48px;

    min-width: 48px;
    max-width: 48px;

    flex: 0 0 48px;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50%;

    background: #279B48 !important;

    color: #fff !important;

    font-size: 20px;

    box-sizing: border-box;
}


/* =========================================================
   VERIFICATION CONTENT
========================================================= */

.airswap-profile .verification-notice > div:last-child {
    flex: 1 1 auto;

    min-width: 0;
}

.airswap-profile .verification-notice strong {
    display: block !important;

    margin: 0 0 4px;

    color: #279B48 !important;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.3;
}

.airswap-profile .verification-notice p {
    display: block !important;

    margin: 0 !important;

    color: #5c7464 !important;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .airswap-profile {
        padding: 30px 20px 50px;
    }


    /* Hero */

    .airswap-profile .profile-hero {
        padding: 45px 30px 40px;
    }

    .airswap-profile .profile-hero-content h1 {
        font-size: 36px;
    }

    .airswap-profile .hero-message {
        right: 35px;
    }


    /* Statistics */

    .airswap-profile .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .airswap-profile .profile-stat-card:last-child {
        grid-column: span 2;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .airswap-profile {
        padding: 20px 14px 40px;
    }


    /* -----------------------------------------------------
       HERO
    ----------------------------------------------------- */

    .airswap-profile .profile-hero {
        min-height: 225px;

        padding: 30px 20px 35px;

        border-radius: 16px 16px 0 0;
    }

    .airswap-profile .profile-hero-content {
        max-width: 58%;
    }

    .airswap-profile .profile-hero-content h1 {
        font-size: 28px;
    }

    .airswap-profile .profile-hero-content p {
        margin-top: 8px;

        font-size: 12px;

        line-height: 1.5;
    }


    /* More Possibilities */

    .airswap-profile .hero-message {
        top: 32px;
        right: 18px;

        width: 115px;

        font-size: 16px;
    }

    .airswap-profile .hero-message span:nth-child(1) {
        margin-left: 7px;
    }

    .airswap-profile .hero-message span:nth-child(2) {
        margin-left: 0;
    }

    .airswap-profile .hero-message span:nth-child(3) {
        margin-left: 4px;
    }

    .airswap-profile .hero-underline {
        width: 55px;
        height: 3px;

        margin-top: 8px;
        margin-left: 5px;
    }


    /* Hero waves */

    .airswap-profile .hero-wave-blue {
        width: 450px;
        height: 150px;

        right: -180px;
        bottom: -100px;
    }

    .airswap-profile .hero-wave-green {
        width: 400px;
        height: 60px;

        right: -110px;
        bottom: 0;
    }

    .airswap-profile .hero-wave-orange {
        width: 420px;
        height: 18px;

        right: -110px;
        bottom: 28px;
    }


    /* -----------------------------------------------------
       PROFILE CARD
    ----------------------------------------------------- */

    .airswap-profile .profile-main-card {
        flex-wrap: wrap;

        gap: 16px;

        padding: 22px 18px;
    }


    .airswap-profile .profile-avatar {
        width: 75px;
        height: 75px;

        min-width: 75px;

        font-size: 25px;

        border-width: 3px;
    }


    .airswap-profile .profile-details {
        flex: 1;

        min-width: 0;
    }


    .airswap-profile .profile-details h2 {
        font-size: 21px;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }


    .airswap-profile .profile-phone {
        margin-bottom: 7px;

        font-size: 13px;
    }


    .airswap-profile .member-since {
        font-size: 11px;
    }


    /* Refer button */

    .airswap-profile .profile-main-card .edit-profile-btn {
        width: 100%;

        margin-left: 0;
        margin-top: 5px;
    }


    /* -----------------------------------------------------
       STATISTICS
    ----------------------------------------------------- */

    .airswap-profile .profile-stats {
        display: block;

        margin-top: 14px;
    }


    .airswap-profile .profile-stat-card {
        width: 100%;

        min-height: 90px;

        margin-bottom: 12px;

        padding: 16px;
    }


    .airswap-profile .profile-stat-card:last-child {
        margin-bottom: 0;
    }


    .airswap-profile .stat-icon {
        width: 45px;
        height: 45px;

        min-width: 45px;

        font-size: 17px;
    }


    .airswap-profile .stat-content span {
        font-size: 11px;
    }


    .airswap-profile .stat-content strong {
        font-size: 18px;
    }


    .airswap-profile .stat-content small {
        font-size: 10px;
    }


    /* -----------------------------------------------------
       ACCOUNT INFORMATION
    ----------------------------------------------------- */

    .airswap-profile .account-card {
        margin-top: 16px;

        padding: 18px 14px;
    }


    .airswap-profile .account-card h3 {
        font-size: 17px;
    }


    .airswap-profile .account-row {
        min-height: 52px;

        padding: 0 3px;
    }


    .airswap-profile .account-label {
        gap: 8px;

        font-size: 12px;
    }


    .airswap-profile .account-label i {
        width: 18px;
    }


    .airswap-profile .account-row > strong {
        max-width: 55%;

        font-size: 12px;

        text-align: right;

        word-break: break-word;
    }


    /* -----------------------------------------------------
       VERIFICATION NOTICE
    ----------------------------------------------------- */

    .airswap-profile .verification-notice {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;

        gap: 12px;

        min-height: 75px;

        padding: 15px;
    }


    .airswap-profile .verification-notice-icon {
        width: 40px;
        height: 40px;

        min-width: 40px;
        max-width: 40px;

        flex: 0 0 40px;

        font-size: 16px;
    }


    .airswap-profile .verification-notice strong {
        font-size: 13px;
    }


    .airswap-profile .verification-notice p {
        font-size: 11px;

        line-height: 1.5;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .airswap-profile {
        padding: 18px 10px 35px;
    }


    .airswap-profile .profile-hero {
        min-height: 210px;

        padding: 27px 16px 30px;
    }


    .airswap-profile .profile-hero-content {
        max-width: 55%;
    }


    .airswap-profile .profile-hero-content h1 {
        font-size: 25px;
    }


    .airswap-profile .profile-hero-content p {
        font-size: 11px;
    }


    .airswap-profile .hero-message {
        right: 12px;

        width: 105px;

        font-size: 15px;
    }


    .airswap-profile .profile-main-card {
        padding: 18px 14px;
    }


    .airswap-profile .profile-avatar {
        width: 62px;
        height: 62px;

        min-width: 62px;

        font-size: 21px;
    }


    .airswap-profile .profile-details h2 {
        font-size: 18px;
    }


    .airswap-profile .profile-phone {
        font-size: 12px;
    }


    .airswap-profile .edit-profile-btn {
        padding: 9px 12px;

        font-size: 11px;
    }


    .airswap-profile .verification-notice {
        gap: 10px;

        padding: 13px;
    }


    .airswap-profile .verification-notice-icon {
        width: 38px;
        height: 38px;

        min-width: 38px;
        max-width: 38px;

        flex-basis: 38px;
    }

}