.account-container {
    padding: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #3bd1ff 0%, #B54BE2 100%);
}

.account {
    max-width: 800px;
    padding: 20px;
    z-index: 2;
}

.account h1 {
    margin-bottom: 10px;
    color: white;
}

.account-subtext {
    margin-bottom: 30px;
    color: #ffffff;
}

/* Sections */
.account-section {
    background: rgb(255, 255, 255);
    padding: 35px;
    border-radius: 25px;
    margin-bottom: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Row layout (username/email) */
.account-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-value {
    color: #444;
    margin-top: 5px;
}

/* Text blocks */
.account-description {
    margin: 10px 0 20px;
    color: #555;
}

/* Buttons */
.account-btn {
    background-color: black;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s ease;
}

.account-btn:hover {
    transform: scale(1.05);
}


/* Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.5);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;

    z-index: 10;
}

/* Active state */
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Modal box */
.modal {
    background: rgb(239, 255, 255);
    padding: 30px;
    border-radius: 25px;
    width: 400px;
    max-width: 90%;

    box-shadow: 0 10px 25px rgba(0,0,0,0.3);

    transform: translateY(20px);
    transition: 0.3s ease;
}

/* Animation */
.modal-overlay.active .modal {
    transform: translateY(0);
}

/* Close button */
.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 22px;
    cursor: pointer;
}

/* Text */
.modal h2 {
    margin-bottom: 10px;
}

.modal-subtext {
    margin-bottom: 20px;
    color: #555;
}

/* Inputs */
.modal input {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

/* Buttons */
.modal-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: black;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.modal-btn:hover {
    transform: scale(1.03);
}
/* Danger zone */
.danger {
    background: #ffe5e5;
}

.danger-btn {
    background-color: #d9534f;
}

.danger-btn:hover {
    background-color: #c9302c;
}
