#account-page {
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
}

.account-hero {
    text-align: center;
    margin-bottom: 30px;
}

.account-hero h1 {
    color: var(--tertiary-color);
    margin-bottom: 10px;
}

.account-hero p {
    font-size: 18px;
}

.account-layout {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;

}

.right-side {
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.account-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-card {
    width: 280px;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.account-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.profile-card h2,
.info-card h2,
.recent-orders h2 {
    color: var(--tertiary-color);
}

.profile-buttons {
    margin-top: 25px;
}

#edit-btn,
#edit-info-btn {
    margin-top: 15px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background-color: var(--button-color);
    color: white;
    cursor: pointer;
    font-size: 15px;
}

#edit-btn:hover,
#edit-info-btn:hover {
    background-color: var(--tertiary-color);
}

.info-card {
    flex: 1;
}

.info-row {
    margin: 14px 0;
    font-size: 17px;
}

.label {
    font-weight: bold;
    color: var(--tertiary-color);
}

.account-stats {
    display: flex;
    gap: 20px;
}

.stat-box {
    flex: 1;
    min-width: 180px;
    text-align: center;
}

.stat-box h3 {
    color: var(--button-color);
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 20px;
    font-weight: bold;
}

.recent-orders {
    margin-bottom: 20px;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.orders-table th,
.orders-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.orders-table th {
    background-color: var(--button-color);
    color: white;
}

.orders-table tr:hover {
    background-color: #fdf1f6;
}

.status-cell {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 170px;
}

.status-bar {
    width: 100%;
    height: 10px;
    background-color: #ead1da;
    border-radius: 10px;
    overflow: hidden;
}

.status-fill {
    height: 100%;
    border-radius: 10px;
}

.processing {
    width: 50%;
    background-color: #d48aa0;
}

.shipped {
    width: 80%;
    background-color: #b84c6d;
}

.delivered {
    width: 100%;
    background-color: var(--tertiary-color);
}