app-shravak-view-profile {
    background: var(--ion-background-content);

    h3 {
        padding: var(--ion-padding-0) var(--ion-padding-15);
        margin: var(--ion-margin-0) var(--ion-margin-0) 0.25rem;
        font-weight: 700;
    }

    ion-button {
        margin: var(--ion-margin-0) var(--ion-margin-15);
        --border-radius: 0.313rem;
    }

    ion-header {
        ion-toolbar {
            ion-icon {
                font-size: var(--ion-font-size-24);
            }
        }
    }

    ion-content {
        --background: var(--ion-background-content);

        p {
            font-size: var(--ion-font-size-14);
            padding: var(--ion-padding-0) var(--ion-padding-15);
            margin-top: var(--ion-margin-0);
            color: var(--ion-content-color);
        }

        .profile-bg {
            width: 8.875rem;
            height: 8.875rem;
            margin: var(--ion-margin-0) auto 1rem auto;
            background: url(/assets/images/profile-bg-design.svg) no-repeat center center;
            display: flex;
            align-items: center;
            justify-content: center;
            background-size: contain;

            .complete-progress {
                border: 0.1rem solid #a3c5d3;
                border-radius: var(--ion-border-radius-100);
                width: 6.25rem;
                height: 6.25rem;
                padding: 3px;
                background: conic-gradient(var(--ion-color) var(--progress), var(--ion-background-button) 0deg);
                overflow: hidden;

                >img {
                    border-radius: var(--ion-border-radius-100);
                    padding: 1px;
                    background: var(--ion-color-white);
                    width: 100%;
                    height: 100%;
                }
            }
        }

        ion-button {
            height: 1.875rem;
        }

        .bg {
            background: var(--ion-color-white);
            text-align: var(--ion-text-align-center);
            padding: var(--ion-padding-15);
            margin-bottom: var(--ion-margin-15);

            .points {
                font-size: var(--ion-font-size-12);
                border: 0.063rem solid #0000001A;
                padding: 0.313rem 0.625rem;
                border-radius: 0.938rem;
                margin: var(--ion-margin-0) auto var(--ion-margin-15);
                display: flex;
                align-items: center;
                width: max-content;

                ion-icon {
                    color: #FFA500;
                    margin-right: 3px;
                }

                span {
                    color: #FFA500;
                    margin-left: 3px;
                }
            }

            ion-button {
                width: 47%;
                margin: var(--ion-margin-0);

                &:last-child {
                    margin-left: var(--ion-margin-15);
                }

                &.edit {
                    &::part(native) {
                        --background: var(--ion-background-button);
                        color: var(--ion-color);
                    }
                }
            }

            ion-avatar {
                position: relative;

                ion-button {
                    position: absolute;
                    right: 1.25rem;
                    bottom: 2.063rem;
                    width: 1.563rem;
                    height: 1.563rem;
                    min-height: 1.563rem;

                    &::part(native) {
                        padding: 0.375rem;
                        border-radius: var(--ion-border-radius-100);
                    }

                    img {
                        border: 0;
                        border-radius: 0;
                        width: auto;
                        height: auto;
                        background: none;
                    }
                }
            }

            .update-profile-link {
                font-size: 10px;
                box-shadow: 0px 0px 7px #0000001A;
                padding: 2px 5px;
                border-radius: 8px;
                position: absolute;
                bottom: 13px;
                left: 50%;
                background: #fff;
                transform: translate(-50%, 0);
            }
        }

        .bottom-bg-location {
            padding: var(--ion-padding-0) var(--ion-padding-0) var(--ion-padding-15);
            margin-bottom: 16px;

            ion-card {
                margin: var(--ion-margin-0);
                padding: var(--ion-padding-10);
                margin-bottom: var(--ion-margin-15);

                ion-card-header {
                    padding: var(--ion-padding-0);

                    ion-card-title {
                        font-size: var(--ion-font-size-14);
                        display: flex;
                        justify-content: space-between;
                    }
                }

                ion-card-content {
                    padding: var(--ion-padding-0);
                    justify-content: space-between;

                    p {
                        padding: var(--ion-padding-0);

                        span {
                            color: var(--ion-color);
                        }

                        a {
                            span {
                                color: var(--ion-color, #3880ff);
                            }
                        }
                    }
                }

                &.detail {
                    border-radius: 0;
                    padding: var(--ion-padding-0);

                    ion-card-header {
                        padding: var(--ion-padding-10);
                        background: #E7F7FE;
                        border-top: 2px solid var(--ion-color);
                        border-bottom: 2px solid var(--ion-color);


                        ion-card-title {
                            align-items: center;
                            margin: var(--ion-margin-0);

                            p {
                                padding: var(--ion-padding-0);
                                margin: var(--ion-margin-0);
                                width: calc(100% - 23px);
                            }

                            ion-icon {
                                margin: var(--ion-margin-0);
                            }

                        }

                        p {
                            margin: 0;
                            display: inline-block;
                            padding: var(--ion-padding-0);
                        }
                    }

                    ion-card-content {
                        display: block;


                        .footer-icon {
                            display: flex;
                            justify-content: space-between;

                            div {
                                display: flex;
                                align-items: center;
                                color: #000;
                                font-weight: 600;

                                span {
                                    padding: var(--ion-padding-0) var(--ion-padding-0) var(--ion-padding-0) var(--ion-padding-10);
                                    min-width: 30px;
                                }
                            }

                            ion-icon {
                                width: 1.5rem;
                                height: 1.5rem;
                                color: var(--ion-color);
                            }
                        }
                    }
                }
            }

            .sangh-members {
                display: flex;
                justify-content: space-between;
                padding: var(--ion-padding-0) var(--ion-padding-15);

                ion-card {
                    padding: 0.313rem;
                    width: 48%;

                    ion-card-header {
                        ion-card-title {
                            div {
                                width: 2.688rem;
                                height: 2.688rem;
                                border-radius: 0.438rem;
                                background: var(--ion-background-content);
                                display: flex;
                                align-items: center;
                                justify-content: center;

                                &.green {
                                    background: #f5f0ff;
                                }
                            }

                            p {
                                padding: var(--ion-padding-0);
                                margin: var(--ion-margin-0);
                                font-size: var(--ion-font-size-12);
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                flex-direction: column;
                                width: calc(100% - 3.213rem);

                                span {
                                    display: block;
                                    font-size: var(--ion-font-size-14);
                                    color: #000;
                                    font-weight: 600;
                                }
                            }
                        }
                    }
                }
            }

            .about-info {
                padding: var(--ion-padding-0) var(--ion-padding-15);

                ion-card {
                    ion-card-header {
                        ion-card-title {
                            margin-bottom: var(--ion-margin-10);

                            p {
                                display: flex;
                                justify-content: space-between;
                                align-items: center;
                                width: calc(100% - 45px);
                                padding: var(--ion-padding-0);
                                margin: var(--ion-margin-0);
                                font-size: var(--ion-font-size-14);

                                span {
                                    color: #000;
                                    width: 50%;
                                    text-align: right;
                                    font-weight: 500;
                                }
                            }

                            .icons {
                                width: 35px;
                                height: 35px;
                                padding: 8px;
                                background: var(--ion-background-content);
                                border-radius: var(--ion-border-radius-100);
                                color: var(--ion-color);
                                margin-right: var(--ion-margin-10);
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                overflow: hidden;
                            }
                        }
                    }

                    ion-button {
                        margin: var(--ion-margin-0);

                        &::part(native) {
                            --background: var(--ion-background-button);
                            color: var(--ion-color);
                        }
                    }
                }
            }
        }
    }

    .profile-complete-indicator {
        margin: 10px 0;
        padding: 10px;
    }
}

ion-popover {
    ion-content {
        ion-list {
            padding: var(--ion-padding-0);

            ion-item {
                ion-label {
                    padding: var(--ion-padding-0);
                    margin: var(--ion-margin-0);
                }
            }
        }
    }
}