﻿.sf-my-profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 8px 16px;
    margin: auto;
    width: 40%;
}

html[dir="rtl"] .sa-my-profile-phone-input {
    direction: rtl;
}

.sf-my-profile-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: var(--sf-soft-red);
}

.sf-my-profile-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    margin-bottom: 26px;
}

.sf-my-profile-image {
    --sf-my-profile-image-size: clamp(100px, 8vw, 130px);
    width: var(--sf-my-profile-image-size);
    height: var(--sf-my-profile-image-size);
    position: relative;
}

.sf-my-profile-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.sf-my-profile-input-group,
.sf-my-profile-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
}

.sf-my-profile-input-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sf-my-profile-input-group {
    display: flex;
    flex-direction: row;
    gap: 28px;
    width: 100%;
}

.sf-my-profile-input-group > .sf-my-profile-input-container {
    width: 50%
}

.sf-my-profile-info-wrapper label {
    font-weight: 400;
    font-size: clamp(13px, 1vw, 16px);
}
.sf-my-profile-info-wrapper label:not(.full-color) {
    color: #666666;
}

.sf-my-profile-info-wrapper input {
    font-size: clamp(16px, 1.2vw, 22px);
    font-weight: 400;
    box-shadow: 0px 4px 14px 0px #0000001A;
    height: clamp(42px, 3vw, 56px);
    border: none;
    outline: none;
    padding: 14px 16px;
    color: var(--sf-dark-blue);
    border-radius: 8px;
}

.sf-my-profile-info-wrapper input::placeholder {
    color: #666666;
    font-weight: 400;
    font-size: clamp(13px, 1vw, 16px);
}

.sf-my-profile-input-mobile-group {
    display: flex;
    gap: clamp(26px, 3vw, 52px);
}

.sa-my-profile-phone-code-input {
    text-align: center;
}

.sf-change-profile-image-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    --sf-change-profile-iamge-btn-size: clamp(30px, 2.5vw, 38px);
    width: var(--sf-change-profile-iamge-btn-size);
    height: var(--sf-change-profile-iamge-btn-size);
    background: var(--sf-soft-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    cursor: pointer;
}

@media screen and (max-width: 1200px) {
    .sf-my-profile-container {
        width: 50%;
    }
}

@media screen and (max-width: 800px) {
    .sf-my-profile-container {
        width: 70%;
    }
}

@media screen and (max-width: 600px) {
    .sf-my-profile-container {
        width: 100%;
    }
}

@media screen and (max-width: 380px) {
    .sf-my-profile-input-mobile-group {
        gap: 14px;
    }
    .sf-my-profile-input-mobile-group > .sf-my-profile-input-container:nth-child(2) {
        width: 75%;
    }
    .sf-my-profile-info-wrapper input {
        font-size: 14px;
        padding: 8px 12px;
    }
    .sf-my-profile-input-group {
        gap: 28px;
        flex-wrap: wrap;
    }
    .sf-my-profile-input-group > .sf-my-profile-input-container {
        width: 100%
    }
}