.account-main {
    height: 100%;
    width: 100%;
    padding: 5rem 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.account-container {
    width: 50%;
    background-color: #101010;
    border-radius: 20px;
    border: 4px solid #d8c078
}

.account-title {
    font-size: 1.5rem;
    color: #d8c078;
    text-align: center;
    padding: 2rem;
    font-family: montserrat, sans-serif;
    border-bottom: 3px solid #151414;
}

.account-middle-top {
    padding: 1rem 0 2rem 0;
}

.account-middle-container {
    padding: 0 1rem;
}

.account-middle-title {
    font-size: 1.2rem;
    color: white;
    text-align: center;
    padding: 1rem 1rem 2rem 1rem;
    font-family: montserrat, sans-serif;
}

.nav-menu {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    padding: 0;
    height: 3rem;
}

.nav-menu li {
    flex: 25%;
    display: inline;
    cursor: pointer;
    text-decoration: none;
}

.nav-menu .account-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 50px;
    background: linear-gradient(#d8c078, #b39545);
    cursor: pointer;
}

.account-icon.active {
    border: 4px solid #0c0c0c;
}

.account-container .fa-user,
.fa-envelope,
.fa-lock,
.fa-globe {
    display: flex;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    color: #121212;
    justify-content: center;
    align-items: center;
}

.account-middle-content {
    display: flex;
    padding: 0 1rem;
    flex-direction: column;
}

.account-middle-content div[id="account-update-content"] {
    margin-top: 2rem !important;
}

.section {
    display: none;
}

.sub-section {
    display: none;
}

.section.active {
    display: flex;
    height: auto;
    flex-direction: column;
    justify-content: space-between;
    margin: 1rem;
    transition: all 600ms ease;
}

.section, .sub-section {
    display: none;
}

.section.active, .sub-section.active {
    display: flex;
}

.sub-section.active {
    display: flex;
    height: 150px;
    border-radius: 12px;
    flex-direction: column;
    justify-content: space-between;
    margin: 1rem;
    background: #0c0c0c;
    transition: all 600ms ease;
}

.sub-section:nth-child(2) {
    height: 375px;
    margin-top: 3rem;
}

.sub-section:nth-child(2) input {
    background: transparent;
}

.section label {
    width: 80%;
    margin: auto;
}

.sub-section .country-dropdown {
    min-width: unset;
}

.section input {
    /* width: 50%; */
    padding: .3rem;
    border-radius: 8px;
    border: none;
    margin: 0 auto;
    margin-bottom: 1.5rem;
    padding-left: 12px;
    background-color: #161616;
    color: #d8c078;
}

.sub-section input {
    width: 60% !important;
    padding: .5rem !important;
    border-radius: 20px !important;
    text-align: center;
}

.section button {
    width: 100%;
    margin: 0;
    height: 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #d8c078;
    border: none;
    cursor: pointer;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    background-color: #161616;
    transition: all 300ms ease;
}

.section button:hover {
    background-color: #1c1c1c;
}

.section label {
    color: white;
}

.section h4 {
    text-align: center;
}

.delete-account {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 2rem 1rem 2rem;
}

.account-middle a {
    display: none;
    width: 100%;
    height: 3rem;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    border: none;
    background-color: #700e0e;
    justify-content: center;
    align-items: center;
    transform: all 300ms ease;
}

.account-middle a:hover {
    background-color: #911616;
}

.country-code-container {
    height: 115px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* margin: auto; */
    /* justify-content: space-around; */
}

.country-code-dropdown input {
    width: 100%;
    height: 30px;
    margin-bottom: 0;
    color: #d8c078;
    text-align: center;
    padding: .5rem 1rem;
    border: 0;
    border-radius: 24px;
    background: rgba(32, 32, 32, .5);
}

.country-code-container label {
    margin: auto;
}

.country-code-container .country-dropdown {
    top: unset;
    right: unset;
    width: 250px;
    margin-top: 1.5rem;
    max-height: 100px;
    overflow-y: hidden;
    background: rgba(12, 12, 12, 1);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    background: rgba(32, 32, 32, .5);
    backdrop-filter: blur(20px);
}

.country-code-dropdown input::placeholder {
    color: #d8c078;
}

.country-code-dropdown {
    max-width: 250px;
    display: flex;
    justify-content: center;
}

.sub-section .country-code-dropdown {
    margin: 0 auto;
    margin-bottom: 1.5rem;
}

.sub-section .providers-list {
    margin-bottom: 1rem;
}

.sub-section .provider-selection {
    margin: auto !important;
}

.provider-search-container {
    display: flex;
}

.sub-section .country-code-dropdown input[id="countryCode"] {
    width: 100% !important;
}

input[id="provider-search"] { 
    background-color: #161616 !important;
}

.account-bottom {
    display: flex;
    width: 100%;
    justify-content: center;
}

.account-profile-nav .account-icon {
    transition: all 300ms ease;
    opacity: 1;
}

.account-profile-nav .account-icon:hover {
    transform: scale(1.1);
    opacity: 1;
}

.account-profile-nav .account-icon.active {
    opacity: .5;
}

@media screen and (max-width: 576px) {

    .account-container {
        width: 100%;
        max-width: 450px;
    }

    .account-title {
        font-size: 1rem;
    }

    .account-middle-title {
        font-size: .8rem;
    }

    .nav-menu {
        height: 3rem;
    }

    .nav-menu li,
    .section.active {
        margin: .6rem;
    }

    .nav-menu .account-icon {
        height: 60px;
    }

    .account-container .fa-user,
    .fa-envelope,
    .fa-lock,
    .fa-globe {
        font-size: 2rem;
    }
}

@media screen and (min-width: 576px) {

    .account-title {
        font-size: 1.1rem;
    }

    .account-middle-title {
        font-size: .9rem;
    }

    .nav-menu {
        height: 4rem;
    }

    .nav-menu li,
    .section.active {
        margin: .6rem;
    }

    .nav-menu .account-icon {
        height: 50px;
    }

    .account-container .fa-user,
    .fa-envelope,
    .fa-lock,
    .fa-globe {
        font-size: 2rem;
    }
}

@media screen and (min-width: 768px) {

    .account-title {
        font-size: 1.5rem;
    }

    .account-middle-title {
        font-size: 1rem;
    }

    .nav-menu {
        height: 4rem;
    }

    .nav-menu li,
    .section.active {
        margin: .7rem;
    }

    .nav-menu .account-icon {
        height: 60px;
    }

    .account-container .fa-user,
    .fa-envelope,
    .fa-lock,
    .fa-globe {
        font-size: 2.4rem;
    }
}

@media screen and (min-width: 992px) {

    .account-title {
        font-size: 1.5rem;
    }

    .account-middle-title {
        font-size: 1.1rem;
    }

    .nav-menu {
        height: 5rem;
    }

    .nav-menu li,
    .section.active {
        margin: 1rem;
    }

    .nav-menu .account-icon {
        height: 70px;
    }

    .account-container .fa-user,
    .fa-envelope,
    .fa-lock,
    .fa-globe {
        font-size: 2.5rem;
    }

}

@media screen and (min-width: 1200px) {

    .account-container {
        max-width: 600px;
    }

    .account-title {
        font-size: 1.8rem;
    }

    .account-middle-title {
        font-size: 1.1rem;
    }

    .nav-menu {
        height: 6rem;
    }

    .nav-menu li,
    .section.active {
        margin: 1.2rem;
    }

    .nav-menu .account-icon {
        height: 80px;
    }

}
