.account-settings-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.account-settings-main {
    flex: 2;
    min-width: 300px;
}

.account-settings-sidebar {
    flex: 1;
    min-width: 250px;
    align-self: flex-start;
}

.account-settings-bottom {
    flex-basis: 100%;
}

.account-settings-box {
    border: 2px solid #800080;
    padding: 20px;
    border-radius: 25px 5px 25px 5px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.account-settings-box h2 {
    padding-bottom: 10px;
    border-bottom: 2px solid #800080;
    margin-bottom: 20px;
}

.purchase-credits-button {
    background-color: #800080;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    display: block;
    margin: 20px auto 0;
    width: fit-content;
    transition: background-color 0.3s;
}

.purchase-credits-button:hover {
    background-color: #6a006a;
}

@keyframes credit-circle-load {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.credit-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #800080, #a040a0, #800080);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    animation: credit-circle-load 0.5s ease-out;
}

.credit-circle-inner {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.credit-count {
    font-size: 2em;
    font-weight: bold;
    color: #333;
}

.credit-label {
    font-size: 0.9em;
    color: #666;
}
