.account-order {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 50%;
    flex: 1;
    box-sizing: border-box;
    min-width: 0;
}

.account-order-button {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.account-order-button h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #141414;
    margin: 0;
    text-align: start;
}

.account-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.account-info {
    display: flex;
    background-color: #FFF0F0;
    padding: 1.5rem;
    gap: 2rem;
    align-items: center;
    box-sizing: border-box;
}

.account-info-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    flex: 1;
    gap: 0.3rem;
    min-width: 0;
}

.account-info-details-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #141414;
    margin: 0;
    word-wrap: break-word;
}

.account-info-details-number {
    color: #424242;
    font-size: 0.9rem;
    margin: 0;
    word-wrap: break-word;
}

.account-tile-list {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background-color: white;
    gap: 1rem;
    box-sizing: border-box;
}

.account-tile-wrapper {
    display: flex;
    flex-direction: column;
}

.account-tile {
    display: flex;
    border-bottom: 3px solid #F9FAFB;
    padding-bottom: 1rem;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.account-tile-last {
    border-bottom: none;
}

.account-tile-icon {
    padding: 0.5rem;
    background-color: #FFF0F0;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-tile-icon img {
    width: 24px;
    height: 24px;
}

.account-tile-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
    gap: 0.2rem;
    min-width: 0;
}

.account-tile-text-title {
    text-align: start;
    font-size: 1rem;
    color: #141414;
    font-weight: 400;
    margin: 0;
    word-wrap: break-word;
}

.account-tile-text-subtitle {
    color: #525252;
    text-align: start;
    font-size: 0.8rem;
    font-weight: 400;
    margin: 0;
    word-wrap: break-word;
}

.dialog-edit-profile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.dialog-edit-profile-header {
    font-weight: bold;
    color: #141414;
    font-size: 1.3rem;
    margin: 0;
}

.dialog-edit-profile-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

/* Desktop Large - 1200px and above */
@media (min-width: 1200px) {
    .account-order-button h3 {
        font-size: 1.3rem;
    }

    .account-info {
        padding: 2rem;
        gap: 2.5rem;
    }

    .account-info-details-name {
        font-size: 1.2rem;
    }

    .account-info-details-number {
        font-size: 1rem;
    }

    .account-tile-list {
        padding: 2rem;
        gap: 1.2rem;
    }
}

/* Laptop - 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
    .account-info {
        gap: 1.5rem;
    }
}

/* Tablet - 768px to 991px */
@media (min-width: 768px) and (max-width: 991px) {
    .account-order {
        max-width: 100%;
    }

    .account-order-button h3 {
        font-size: 1.15rem;
    }

    .account-info {
        padding: 1.2rem;
        gap: 1.5rem;
    }

    .account-info-details-name {
        font-size: 1rem;
    }

    .account-info-details-number {
        font-size: 0.85rem;
    }

    .account-tile-list {
        padding: 1.2rem;
    }

    .account-tile {
        gap: 1.2rem;
    }
}

/* Mobile - 767px and below */
@media (max-width: 767px) {
    .account-order {
        max-width: 100%;
        width: 100%;
    }

    .account-order-button {
        gap: 0.6rem;
    }

    .account-order-button h3 {
        font-size: 1.1rem;
    }

    .account-info {
        padding: 1rem;
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .account-info-details {
        width: 100%;
    }

    .account-info-details-name {
        font-size: 1rem;
    }

    .account-info-details-number {
        font-size: 0.85rem;
    }

    .account-info>button {
        width: 100%;
    }

    .account-tile-list {
        padding: 1rem;
        gap: 0.8rem;
    }

    .account-tile {
        gap: 1rem;
        padding-bottom: 0.8rem;
    }

    .account-tile-icon {
        padding: 0.4rem;
    }

    .account-tile-icon img {
        width: 20px;
        height: 20px;
    }

    .account-tile-text-title {
        font-size: 0.95rem;
    }

    .account-tile-text-subtitle {
        font-size: 0.75rem;
    }

    .dialog-edit-profile-header {
        font-size: 1.2rem;
    }

    .dialog-edit-profile-inputs {
        gap: 0.6rem;
    }
}

/* Mobile Small - 479px and below */
@media (max-width: 479px) {
    .account-order-button h3 {
        font-size: 1rem;
    }

    .account-info {
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .account-info-details-name {
        font-size: 0.95rem;
    }

    .account-info-details-number {
        font-size: 0.8rem;
    }

    .account-tile-list {
        padding: 0.8rem;
    }

    .account-tile {
        gap: 0.8rem;
    }

    .account-tile-icon {
        padding: 0.35rem;
    }

    .account-tile-icon img {
        width: 18px;
        height: 18px;
    }

    .account-tile-text-title {
        font-size: 0.9rem;
    }

    .account-tile-text-subtitle {
        font-size: 0.7rem;
    }

    .dialog-edit-profile-header {
        font-size: 1.1rem;
    }
}

/* Extra Small Mobile - 360px and below */
@media (max-width: 360px) {
    .account-order-button h3 {
        font-size: 0.95rem;
    }

    .account-info-details-name {
        font-size: 0.9rem;
    }

    .account-info-details-number {
        font-size: 0.75rem;
    }

    .account-tile-text-title {
        font-size: 0.85rem;
    }

    .dialog-edit-profile-header {
        font-size: 1rem;
    }
}