input,
textarea,
button,
select,
a {
    
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}
body {
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}
*, *:after, *:before{

    padding:0;
    margin:0;
    box-sizing: border-box;

}
.change-profile-container {
    max-width: 990px;
    margin-inline: auto;
    padding-inline: 23px;
}

.change-profile-header {
    color: var(--Text-700, #2f2f2f);
    font-size: 26px;
    font-weight: 600;
}

.change-profile-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-inline: 40px;
    border-radius: 20px;
    background-color: #fff;
}

.change-profile-info {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 20px;
    align-self: center;
}
.save-btn,
.exit-account-btn {
    cursor: pointer;
}

.exit-account-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    border: 1px solid var(--toranj-secondary-color);
    background: #fff;
    padding: 6px 16px;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--toranj-secondary-color);
    font-size: 14px;
    font-weight: 600;
}

.change-profile-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.name,
.phone,
.email,
.address {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.profile-error ,.email .profile-error {
    opacity: 0;
    color: var(--toranj-accent-color);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}
.email span {
    color: var(--Text-400, #909090);
    font-size: 16px;
    font-weight: 600;
}



.change-profile-info input {
    box-sizing: border-box;
    width: 100%;
    height: 15px;
    border-radius: 10px;
    border: 1px solid var(--Text-300, #d9d9d9);
    color: var(--Text-600, #4c4c4c);
    background: #fff;
    padding-inline: 16px;
    padding-block: 23px;
    font-size: 16px;
    font-weight: 600;
    text-align: right;
}

.change-profile-info input::placeholder {
    color: var(--Text-400, #909090);
    font-size: 16px;
    font-weight: 600;
}

.change-profile-info label {
    color: var(--Text-600, #4c4c4c);
    font-size: 18px;
    font-weight: 600;
}

.save-btn {
    border-radius: 12px;
    background: var(--Text-200, #ededed);
    padding: 15px 53px;
    color: var(--Text-400, #909090);
    font-size: 18px;
    font-weight: 600;
    margin-block: 42px;
    transition: background-color, color 0.2s;
    border: none;
}
.save-btn:hover{
    background-color: var(--toranj-primary-color);
    color: #fff;
}


.visible {
    opacity: 1;
}



.phone input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
@media screen and (max-width: 640px) {
    .change-profile-info{
        grid-template-columns: 1fr;
    }
    .change-profile-section{
        padding-inline: 0;
        background-color: transparent;
    }
    .exit-account-btn{
        background-color: transparent;
    }
    .change-profile-container{
        overflow-y: auto;
    }
    .save-btn{
        align-self: center;
    }
}