.profile-container {
    display: flex;
    flex-direction: column;
    gap: 30px; 
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 25px; 
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
}

.profile-avatar .avatar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00ffcc;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.4);
    transition: transform 0.3s ease;
}

.profile-avatar .avatar-image:hover {
    transform: scale(1.05);
}

.profile-name-container {
    text-align: left;
}

.profile-name-container h1 {
    text-align: left;
    margin: 0;
    font-size: 2.5em;
    font-weight: bold;
    color: #00ffcc;
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.5);
}

.profile-name-container .profile-name {
    margin: 5px 0 0 0;
    font-size: 1.2em;
    color: #ccc;
}

.profile-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 0;
    margin: 0;
}

.profile-info p {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    margin: 0;
    border-radius: 8px;
    border-left: 3px solid #00ffcc;
    line-height: 1.6;
    font-size: 1em;
    transition: background-color 0.3s;
}

.profile-info p:hover {
    background: rgba(0, 255, 204, 0.05);
}

.profile-info strong {
    color: #00ffcc;
    margin-right: 8px;
}

.profile-actions {
    display: flex;
    justify-content: flex-end; 
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 255, 204, 0.2);
}

.profile-button.logout-button {
    background-color: #555;
    color: #fff;
}

.profile-button.logout-button:hover {
    background-color: #ff4d4d;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.4);
}

.profile-button.edit-button {
    background-color: #00ffcc;
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .profile-name-container {
        text-align: center;
    }

    .profile-name-container h1 {
        text-align: center;
        font-size: 2em;
    }

    .profile-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
}
